Commit Graph

1243 Commits

Author SHA1 Message Date
wukko
c5d5ed161d
web/i18n/queue: add state strings for encoding
it's "transcoding" cuz we never *encode* raw data
2025-04-30 21:33:35 +06:00
jj
8b9d63fdac
web/svelte: drop svelte:component when stripping announcer 2025-04-30 15:24:17 +00:00
jj
6b11e49d4a
web/workers: rename remux() function to ffmpeg() 2025-04-30 15:09:00 +00:00
jj
54408b159e
web/taskmgr: flip gif todo condition 2025-04-30 14:53:52 +00:00
jj
72857e64a8
web/queue: add support for "remux" task type 2025-04-30 14:49:04 +00:00
jj
0716f97a3a
web/workers: refactor remux worker into ffmpeg worker 2025-04-30 14:48:44 +00:00
jj
07443942fb
web/libav/wrapper: add support for encode variant 2025-04-30 14:47:55 +00:00
jj
76462ee665
web/workers: refactor and clean up types 2025-04-30 10:28:22 +00:00
wukko
507ba66f78
web/app.html: preload code just like before
Some checks are pending
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Waiting to run
Run service tests / test service functionality (push) Waiting to run
Run service tests / test service: ${{ matrix.service }} (push) Blocked by required conditions
Run tests / check lockfile correctness (push) Waiting to run
Run tests / web sanity check (push) Waiting to run
Run tests / api sanity check (push) Waiting to run
it adds 40kb of initial bandwidth load but makes the experience much better
2025-04-30 14:53:50 +06:00
wukko
33d029d3b5
web/app.html: preload code on hover
Some checks failed
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Has been cancelled
Run tests / check lockfile correctness (push) Has been cancelled
Run tests / web sanity check (push) Has been cancelled
Run tests / api sanity check (push) Has been cancelled
experiment, might change this back later
2025-04-28 23:22:27 +06:00
wukko
a12cb110fb
web/types/changelog: fix ChangelogImport type 2025-04-28 22:55:28 +06:00
wukko
76b04aabf0
web: update dependencies to svelte 5
just updating the dependencies for now, will migrate components gradually over time
2025-04-28 22:52:22 +06:00
wukko
f9aaacb3ca
web/settings/appearance: remove unused import 2025-04-28 22:38:36 +06:00
wukko
bd5c16ed15
web/DonateOptionsCard: fix css selector for scroll button 2025-04-28 22:37:24 +06:00
wukko
04d1a2f96f
web/Omnibox: don't bind the download button to a variable 2025-04-28 22:02:52 +06:00
wukko
78f23da0a5
web/layout: adaptive status bar colors for desktop
mostly used by safari
2025-04-28 21:41:52 +06:00
wukko
2fce88af2f
web/DonateOptionsCard: fix fantom button focus on tab nav, refactor
Some checks are pending
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Waiting to run
Run tests / check lockfile correctness (push) Waiting to run
Run tests / web sanity check (push) Waiting to run
Run tests / api sanity check (push) Waiting to run
2025-04-27 21:32:40 +06:00
wukko
44dc9ca9dd
web/app.css: add focus ring for select & fix active button focus color 2025-04-27 21:03:24 +06:00
wukko
4de00b6240
web/app.css: prettier focus ring on links 2025-04-27 20:59:50 +06:00
wukko
55ce09d6f4
web/Switcher: fix box-shadow 2025-04-27 20:59:14 +06:00
wukko
9657db3515
web: remove focus ring css workarounds 2025-04-27 20:38:01 +06:00
wukko
ba4742f3fd
web: remove data-focus-ring-hidden from all files 2025-04-27 20:37:38 +06:00
wukko
0454b138b1
web/FileReceiver: restore the pretty animated focus ring 2025-04-27 20:36:14 +06:00
wukko
0e1750e215
web: use outline for focus ring instead of box-shadow
- prevents conflicts with existing box-shadow(s) on basically all components
- removes the need for data-focus-ring-hidden or any other weird workarounds
2025-04-27 20:35:50 +06:00
wukko
e3a60d8775
web/ProcessingStatus: visually distinct focus ring 2025-04-27 20:30:39 +06:00
wukko
d25e9b628e
web/ProcessingStatus: remove extra box-shadow css 2025-04-27 20:16:44 +06:00
wukko
c4fc320a6a
web/SupportedServices: clean up a bit 2025-04-27 19:35:30 +06:00
wukko
9d6e638614
web/ProcessingStatus: replace box-shadow with filter
Some checks failed
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Has been cancelled
Run service tests / test service functionality (push) Has been cancelled
Run tests / check lockfile correctness (push) Has been cancelled
Run tests / web sanity check (push) Has been cancelled
Run tests / api sanity check (push) Has been cancelled
Run service tests / test service: ${{ matrix.service }} (push) Has been cancelled
2025-04-24 17:28:06 +06:00
wukko
b3e523b1ce
web/PopoverContainer: replace box-shadow with filter & add will-change 2025-04-24 17:20:33 +06:00
wukko
926008818e
web/DialogHolder: improve first animation performance, prevent lag
sometimes the initial dialog animation lags, and as i've discovered it's mostly caused by animating box-shadow (even though it's not directly animated). replacing it with filter seems to have improved the performance a LOT lol.

also:
- made the in animation jumpier
- delayed the animation of modal a bit to let the background start appearing first
- extended opacity fade in by 5%
2025-04-24 17:18:22 +06:00
wukko
f21f16a700
web/PopoverContainer: reduce the shadow 2025-04-24 16:31:10 +06:00
wukko
064de55b3b
web/ProcessingQueue: remove estimated storage usage
it's broken in pretty much all browsers and shows inaccurate info
2025-04-23 23:09:32 +06:00
jj
84e8160999
web/fetch: use estimated length only for progress reports 2025-04-23 16:48:58 +00:00
jj
d1bb1764df
web/fetch: use estimated-content-length if content-length is unavailable 2025-04-23 16:44:53 +00:00
wukko
37a71837a7
web/lib/saving-handler: regular get for localProcessing 2025-04-23 22:36:20 +06:00
wukko
6d315e3e74
web/layout: fix border radius of content on desktop
now it's perfectly aligned with macos' window border radius. probably on windows 11 too cuz they copied macos big sur
2025-04-23 21:03:48 +06:00
wukko
ea8560e8a9
web/settings/defaults: toggle localProcessing depending on device
Some checks failed
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Has been cancelled
Run tests / check lockfile correctness (push) Has been cancelled
Run tests / web sanity check (push) Has been cancelled
Run tests / api sanity check (push) Has been cancelled
webkit is really weird with wasm ram management, so we disable local processing by default there. the user can still enable it manually in settings, but then we're not at fault by allowing potentially broken behavior by default
2025-04-21 23:06:25 +06:00
wukko
029934e580
web/lib/device: add webkit browser detection 2025-04-21 23:03:22 +06:00
wukko
4182845e9a
web/FileReceiver: make accept list text unselectable 2025-04-21 22:46:34 +06:00
wukko
016aa1b708
web/settings: rename "downloading" to "metadata"
Some checks failed
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Waiting to run
Run tests / check lockfile correctness (push) Waiting to run
Run tests / web sanity check (push) Waiting to run
Run tests / api sanity check (push) Waiting to run
Run service tests / test service functionality (push) Has been cancelled
Run service tests / test service: ${{ matrix.service }} (push) Has been cancelled
am i future proofing for more stuff there? maybe
2025-04-20 21:03:02 +06:00
wukko
b9c1f2de72
web/settings/audio: add a toggle to prefer better audio quality from yt
& also remove the beta label from youtube dub
2025-04-20 20:49:28 +06:00
wukko
e3f999ace7
web/lib: add support for youtubeBetterAudio 2025-04-20 20:45:52 +06:00
wukko
0294bbd447
web/i18n/settings: update youtube hls description 2025-04-20 19:24:58 +06:00
wukko
0b1637e986
web/i18n/queue: mux -> remux
all muxing that cobalt does is remuxing, this is simply more accurate
2025-04-20 19:05:30 +06:00
wukko
128db610e7
web/task-manager: move workers next to runners 2025-04-20 19:03:56 +06:00
wukko
e5d9521819
web/api-url: don't return officialApiURL 2025-04-20 16:31:04 +06:00
wukko
b56c6b70a2
web/Omnibox: show community label if default url isn't official 2025-04-20 16:18:45 +06:00
wukko
b0fba0dadb
web/api-url: rename defaultApiURL to officialApiURL 2025-04-20 16:18:14 +06:00
wukko
0f26d44d54
web/vite.config: enforce WEB_DEFAULT_URL variable 2025-04-20 16:14:39 +06:00
wukko
1a1206809e
web: move global css to app.css 2025-04-20 15:03:36 +06:00
wukko
d1798bc59d
merge: updates from main 2025-04-20 14:21:39 +06:00
wukko
f5598d7897
web/SavingDialog: fix unexpected inner container box-shadow
Some checks failed
Run tests / web sanity check (push) Has been cancelled
Run tests / api sanity check (push) Has been cancelled
Run tests / check lockfile correctness (push) Has been cancelled
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Has been cancelled
2025-04-05 23:03:26 +06:00
wukko
06bc51db54
merge: 10.9 from main
Some checks failed
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Has been cancelled
Run service tests / test service functionality (push) Has been cancelled
Run tests / check lockfile correctness (push) Has been cancelled
Run tests / web sanity check (push) Has been cancelled
Run tests / api sanity check (push) Has been cancelled
Run service tests / test service: ${{ matrix.service }} (push) Has been cancelled
2025-04-02 21:48:58 +06:00
wukko
07d4393d27
web/Omnibox: don't rerender omnibox buttons
this prevents unnecessary listener creation on valid/invalid link spam
2025-04-02 21:22:01 +06:00
wukko
cc5dff0a30
web/DownloadButton: fix RTL layout 2025-04-02 21:14:45 +06:00
wukko
fc42fd7a86
web/Omnibox: make the entire input bar focusable
now it's possible to click through the omnibox icon
2025-04-02 21:14:24 +06:00
wukko
9c40a1f88e
web/PageNav: reduce padding, add a gap between nav and content 2025-04-02 20:16:42 +06:00
wukko
0fb4cd7888
web: rename queen-bee to task-manager
Some checks failed
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Has been cancelled
Run tests / check lockfile correctness (push) Has been cancelled
Run tests / web sanity check (push) Has been cancelled
Run tests / api sanity check (push) Has been cancelled
less corny and less cryptic
2025-04-02 14:57:45 +06:00
wukko
f4f7032062
web/scheduler: break the queue loop when necessary 2025-04-02 14:06:48 +06:00
wukko
6fbc585155
web/package: bump version to 10.9 2025-04-01 15:35:36 +06:00
jj
75e1fb689a
web/queue: refactor removeItem() and clearPipelineCache()
Some checks failed
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Has been cancelled
Run tests / check lockfile correctness (push) Has been cancelled
Run tests / web sanity check (push) Has been cancelled
Run tests / api sanity check (push) Has been cancelled
2025-03-31 13:05:01 +00:00
jj
165fa65964
web/scheduler: rename function to schedule(), cleanup control flow 2025-03-31 13:05:00 +00:00
jj
a183265838
web/workers: split up args by type 2025-03-31 13:05:00 +00:00
jj
53ca7700a5
web/queue: make completedWorkers into set, require pipelineResults 2025-03-31 13:05:00 +00:00
jj
59665af44a
web/api: re-request session if server claims it's invalid 2025-03-30 17:41:28 +00:00
jj
d78ae8124f
web/queen-bee: a bunch of small cleanups 2025-03-29 14:21:04 +00:00
wukko
235f6c0a3e
web/queue: add support for video muting
Some checks failed
Run tests / api sanity check (push) Has been cancelled
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Has been cancelled
Run tests / check lockfile correctness (push) Has been cancelled
Run tests / web sanity check (push) Has been cancelled
also added a temporary stub for audio and gif processing
2025-03-29 17:55:40 +06:00
wukko
180bda5d49
web/types/api: add proper local processing types 2025-03-29 17:44:45 +06:00
wukko
1ad7c778e5
web: use metadata when processing media locally 2025-03-29 17:25:59 +06:00
wukko
3acfe7462a
web/SettingsCategory: reduce gap
Some checks are pending
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Waiting to run
Run tests / check lockfile correctness (push) Waiting to run
Run tests / web sanity check (push) Waiting to run
Run tests / api sanity check (push) Waiting to run
2025-03-29 14:36:03 +06:00
wukko
4b0d44912b
web/Omnibox: reduce the gap 2025-03-29 14:32:57 +06:00
wukko
b9e64bd9e9
web/OmniboxIcon: refactor css 2025-03-29 14:21:53 +06:00
wukko
0b77431bd6
web/OmniboxIcon: don't use extra flexboxes 2025-03-29 14:01:38 +06:00
wukko
ccf6546065
web/ProcessingQueue: make storage info text thicker 2025-03-29 13:44:24 +06:00
wukko
af8cbb1093
web: add "will-change: transform" to all spinners cuz safari is weird 2025-03-29 13:19:27 +06:00
wukko
4af3595344
web/i18n/error: rephrase youtube login & token errors 2025-03-29 13:07:52 +06:00
wukko
071008726e
web/UpdateNotification: fix initial transition (animation)
Some checks failed
Run tests / check lockfile correctness (push) Has been cancelled
Run tests / web sanity check (push) Has been cancelled
Run tests / api sanity check (push) Has been cancelled
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Has been cancelled
Run service tests / test service functionality (push) Has been cancelled
Run service tests / test service: ${{ matrix.service }} (push) Has been cancelled
2025-03-27 21:20:00 +06:00
wukko
8ffe9e29d6
web/ProcessingQueue: reduce the gap in the header 2025-03-27 20:34:15 +06:00
wukko
0b29121c53
merge: changes from main 2025-03-27 20:02:46 +06:00
wukko
f18d28dcfc
web/i18n/error: add api.youtube.no_session_tokens 2025-03-20 00:09:46 +06:00
wukko
6a13ca347d
api/request/local-processing: don't return an empty audio object
Some checks failed
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Has been cancelled
Run service tests / test service functionality (push) Has been cancelled
Run tests / check lockfile correctness (push) Has been cancelled
Run tests / web sanity check (push) Has been cancelled
Run tests / api sanity check (push) Has been cancelled
Run service tests / test service: ${{ matrix.service }} (push) Has been cancelled
& also throw errors whenever a response is invalid
2025-03-19 13:38:55 +06:00
wukko
9eb342e6d2
web/queue: use the updated local processing api response
& finally remove mime from the web build
2025-03-19 12:25:51 +06:00
wukko
a8bffc4b27
web/layout: load the plausible script only once
Some checks failed
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Has been cancelled
Run tests / check lockfile correctness (push) Has been cancelled
Run tests / web sanity check (push) Has been cancelled
Run tests / api sanity check (push) Has been cancelled
oops
2025-03-17 17:37:00 +06:00
wukko
3295032882
web/layout: don't load the plausible script when analytics are disabled
addresses #1136
2025-03-17 17:19:50 +06:00
wukko
93ff9b62d6
web/DialogContainer: prevent an error after a race condition
Some checks are pending
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Waiting to run
Run tests / check lockfile correctness (push) Waiting to run
Run tests / web sanity check (push) Waiting to run
Run tests / api sanity check (push) Waiting to run
an error is no longer thrown if several dialogs were closed while timeout was running

this should really be replaced by proper dialog management system, with each dialog having a unique id and removal happening via that id, not just array.pop()
2025-03-17 16:47:03 +06:00
wukko
5850b1ac87
web/layout: preload meowbalt art after the page was loaded 2025-03-17 15:29:51 +06:00
wukko
903998913f
web/PageNavTab: add a border to inactive tab icon
Some checks failed
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Has been cancelled
Run service tests / test service functionality (push) Has been cancelled
Run tests / check lockfile correctness (push) Has been cancelled
Run tests / web sanity check (push) Has been cancelled
Run tests / api sanity check (push) Has been cancelled
Run service tests / test service: ${{ matrix.service }} (push) Has been cancelled
2025-03-13 18:54:33 +06:00
wukko
2197d9411e
merge: updates from main 2025-03-13 14:56:49 +06:00
wukko
5900d6aa4a
web/i18n/error: add youtube drm error 2025-03-13 13:30:05 +06:00
wukko
e6e2fea870
web/layout: preload meowbalt assets
Some checks failed
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Has been cancelled
Run tests / check lockfile correctness (push) Has been cancelled
Run tests / web sanity check (push) Has been cancelled
Run tests / api sanity check (push) Has been cancelled
no more flickering i hope

is this rational? maybe not so much, but it makes cobalt feel like a native app
2025-03-11 13:26:44 +06:00
wukko
429591c445
web/FilenamePreview: reduce line height
Some checks are pending
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Waiting to run
Run tests / check lockfile correctness (push) Waiting to run
Run tests / web sanity check (push) Waiting to run
Run tests / api sanity check (push) Waiting to run
2025-03-10 13:47:53 +06:00
wukko
95a5a8ae9b
web/haptics: fix disableHaptics setting path
Some checks failed
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Has been cancelled
Run tests / check lockfile correctness (push) Has been cancelled
Run tests / web sanity check (push) Has been cancelled
Run tests / api sanity check (push) Has been cancelled
bub fix
2025-03-07 21:50:02 +06:00
wukko
a5172b8fb4
web/settings/accessibility: add toggle for disabling auto opening queue 2025-03-07 21:47:02 +06:00
wukko
1b0be14175
web/settings: move accessibility settings to the accessibility page
also rearranged the nav bar a bit to make it look cleaner

... and also accommodated for the new location of accessibility settings (oops)
2025-03-07 21:43:03 +06:00
wukko
4a5f0aa52c
web/queue-visibility: don't auto open the queue if disabled in settings 2025-03-07 21:36:54 +06:00
wukko
1f0abf5169
web/lib/settings: add accessibility section, add dontAutoOpenQueue
moved `reduceMotion`, `reduceTransparency`, and `disableHaptics` to accessibility, migrated first two from old version of settings
2025-03-07 21:35:39 +06:00
wukko
1137ccfd3b
web/ProcessingQueue: open the queue popover when new item is added 2025-03-07 21:03:50 +06:00
wukko
714e71751e
web/PopoverContainer: refactor & simplify code
why the fuck was it that way in the first place
2025-03-07 20:47:43 +06:00
wukko
3935396709
web/i18n/queue: update running remux text
Some checks are pending
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Waiting to run
Run tests / check lockfile correctness (push) Waiting to run
Run tests / web sanity check (push) Waiting to run
Run tests / api sanity check (push) Waiting to run
2025-03-07 15:48:14 +06:00
wukko
7dc2683180
web/i18n/queue: update the queue title 2025-03-07 15:20:50 +06:00