Commit Graph

1367 Commits

Author SHA1 Message Date
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
wukko
dab88f7ed8
web/ProcessingStatus: update the icon 2025-03-07 15:20:34 +06:00
wukko
a84b21a501
web/runners/remux: retry to run the worker 10 times awkwardly
this is absolutely foul and really needs fixing but i guess it works for now 😭
2025-03-06 22:50:42 +06:00
wukko
4a1780ab7f
web/ProcessingQueueItem: refactor, retry action, rtl optimization
also:
- added a spinner to "running" state
- moved steps counter to the starting state, aka when the worker is loading in
2025-03-06 18:30:48 +06:00
wukko
6a4de1be28
web/PopoverContainer: flip transform origin in rtl 2025-03-06 17:43:30 +06:00
wukko
d8b274f554
web/layout: global spinner animation
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-06 17:22:08 +06:00
wukko
0bee4b1ade
web/queue/createSavePipeline: store original request & allow to retry 2025-03-06 17:04:47 +06:00
wukko
a3a273a4b1
web/queue: add canRetry and originalRequest to queue items 2025-03-06 17:03:55 +06:00
wukko
158ba6f28f
web/saving-handler: destructure params, reuse request if passed 2025-03-06 17:02:06 +06:00
wukko
d98cb4c2d7
web/util/formatFileSize: don't parseFloat, allow .00 to stick around
prevents rapid jiggle in the queue
2025-03-06 16:57:49 +06:00
wukko
f9c0decd4c
web/api: move api request creation to saving-handler & limit the type
prerequisites for reusing the requests 👀
2025-03-06 15:58:31 +06:00
wukko
9225b31986
web/workers/fetch: retry 5 more times before throwing an error
hopium

should probably add a timeout too
2025-03-06 14:30:52 +06:00
wukko
066a47c82d
web/DownloadButton: fix the button width to prevent moving around 2025-03-06 14:25:31 +06:00
wukko
1f38bf822c
web/app.html: remove error art prefetch cuz it makes no difference 2025-03-06 13:40:32 +06:00
jj
e8967c33d3
web/static: recompress all pngs
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-05 16:53:59 +00:00
wukko
4f92ccf813
web/app.html: preload meowbalt error art
previously it just snapped into the error popup which was very ugly
2025-03-05 22:33:05 +06:00
wukko
7e71701e10
web/SmallDialog: add error haptics to error popups 2025-03-05 22:19:08 +06:00
wukko
a2e08b9ccb
web/DownloadButton: refactor & add haptic feedback 2025-03-05 22:05:11 +06:00
wukko
bf0b9f55e5
web/Omnibox: add haptic feedback to the paste button 2025-03-05 22:04:50 +06:00
wukko
698905db2e
web/settings/appearance: add a toggle for disabling haptics
also updated all descriptions for accessibility toggles
2025-03-05 21:46:27 +06:00
wukko
712318612d
web/haptics: don't use haptics if disabled in settings 2025-03-05 21:40:26 +06:00
wukko
8af4c69be3
web/settings: add disableHaptics 2025-03-05 21:38:47 +06:00
wukko
e61ac61e20
web/settings/local: hide the webcodecs toggle if the feature not enabled 2025-03-05 20:36:09 +06:00
wukko
a3c9ccf5df
web/env: temporary ENABLE_WEBCODECS variable 2025-03-05 20:35:10 +06:00
wukko
6e21fc56eb
web/SettingsDropdown: add haptics 2025-03-05 20:18:52 +06:00
wukko
ef7fc8781b
web/SettingsToggle: remove bg transition
cuz it was making the light/dark theme transition very awkward
2025-03-05 20:09:52 +06:00
wukko
0d3044c5e6
web: add haptics for all copy actions
& prevent spamming the copy action along with haptic feedback :3

should probably unify all of this cuz this is really messy
2025-03-05 18:07:46 +06:00
wukko
fd5f7c36b2
web/Toggle: jiggle physics & don't stretch on long press 2025-03-05 17:30:15 +06:00
wukko
6b09bd4688
web: add haptics to toggles & switchers 2025-03-05 17:21:45 +06:00
wukko
66401c6c5f
web/UpdateNotification: replace animation with a springy transition
Some checks failed
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
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Has been cancelled
Run service tests / test service: ${{ matrix.service }} (push) Has been cancelled
so cute :3
2025-02-27 21:05:29 +06:00
wukko
64680e162a
web/Switcher: add box-shadow to active item 2025-02-27 20:41:11 +06:00
wukko
96142a3a0c
web/SettingsToggle: make border shine when pressed 2025-02-27 20:40:13 +06:00
wukko
3651b98b2d
web/DonateShareCard: reduce action button padding
might help with translations
2025-02-27 20:12:40 +06:00
wukko
dc0803d292
web/DonateCardContainer: don't show bg on scroll buttons 2025-02-27 19:17:58 +06:00
wukko
8934b25c47
web/DonateCardContainer: default cursor when a button is selected
also disabled hover & active for a selected button
2025-02-27 18:29:07 +06:00
wukko
238295888c
web/DonateOptionsCard: faster scrolling, hover state for custom value 2025-02-27 18:15:51 +06:00
wukko
f5b9f59e43
web/DonateCardContainer: add an active button state 2025-02-27 18:12:15 +06:00
wukko
0b631b31b3
web/DonateAltItem: add missing button class 2025-02-27 18:05:42 +06:00
wukko
b4dd9efd92
web/PageNavTab: show border only when active 2025-02-27 17:42:18 +06:00
wukko
36de546fe2
web/SidebarTab: show border only when active
& also brighten when active on mobile
2025-02-27 17:41:39 +06:00
wukko
78db8d5eef
web/SupportedServices: add hover & press states 2025-02-27 17:33:42 +06:00
wukko
2573089378
web/OmniboxIcon: spin the spinner only when it's visible
before it'd always spin in background while being invisible... which is probably not really good
2025-02-25 17:43:22 +06:00
wukko
c45c1d13c0
web/SettingsInput: validate input properly, reduce padding 2025-02-25 13:40:04 +06:00
wukko
631f8bddd8
web/FilenamePreview: reduce border, improve padding 2025-02-25 13:38:16 +06:00
wukko
ad9fd4f601
web/DownloadButton: fix 1.5px misalignment & add press state
also fixed opacity when disabled
2025-02-25 13:37:27 +06:00
wukko
20d24eca43
web/ClearButton: add missing button class 2025-02-25 13:36:07 +06:00
wukko
ceee059ecf
web/Switcher: reduce padding 2025-02-25 13:35:57 +06:00
wukko
78a4c9adbf
web/layout: better light mode colors for button states 2025-02-25 13:35:21 +06:00
wukko
0f21c9b236
web/layout: reduce button border by .5px
yes it matters a lot to me
2025-02-25 13:34:51 +06:00
wukko
104c9004c5
web/UpdateNotification: fix mobile position 2025-02-25 00:44:43 +06:00
wukko
0ae5cad2f5
web: fix PageNavTab & SidebarTab bg flicker on selection
it used to be: normal-> hover -> pressed -> hover -> active

but now it's: normal -> hover -> pressed -> active
2025-02-25 00:37:18 +06:00
wukko
24a75eaf80
web/components: add missing "button" class to main components 2025-02-25 00:17:52 +06:00
wukko
384ea412ea
web/layout: bright sidebar in light mode, content frame 2025-02-25 00:13:37 +06:00
wukko
346b9084b0
web/PageNavTab: add press state & border on hover 2025-02-24 23:52:09 +06:00
wukko
bbc7629190
web/layout: move ProcessingQueue outside of content
because it's always above content
2025-02-24 23:49:01 +06:00
wukko
137fdd8c03
web/AboutSupport: add a missing button class 2025-02-24 22:38:59 +06:00
wukko
010dfff672
web/SettingsInput: add missing button classes 2025-02-24 22:37:09 +06:00
wukko
20c45823ee
web/layout: fix dark mode button colors, proper press state for buttons 2025-02-24 22:34:00 +06:00
wukko
60f4009947
web/CobaltLogo: color the logo according to sidebar colors 2025-02-24 22:29:48 +06:00
wukko
efa09d7280
web/SettingsDropdown: remove duplicated hover declaration 2025-02-24 22:29:27 +06:00
wukko
33dd4b9fd8
web/SettingsToggle: add button class (because it's a button) 2025-02-24 22:29:05 +06:00
wukko
3e2c7a3c91
web/i18n/settings: fix video filename preview
now it displays the actual filename format you get
2025-02-24 22:28:33 +06:00
wukko
ded23ec29a
web/layout: use the chrome workaround only in chrome lol
oops
2025-02-24 21:33:24 +06:00
wukko
424a16729e
web/settings/local: update name of the media processing section 2025-02-24 18:46:11 +06:00
wukko
910e889f60
web/layout: don't use sign() in chrome cuz it's not supported there 2025-02-24 18:38:33 +06:00
wukko
5fa5a0e7cb
web/device: add browser type (just chrome for now) 2025-02-24 18:36:32 +06:00
wukko
910cbcf236
web/AboutSupport: allow the card to fill the available space 2025-02-24 17:24:06 +06:00
wukko
2e317c3abe
web/settings: update PageNav icon colors & icon for credits 2025-02-24 17:23:38 +06:00
wukko
969058d70b
web/settings: update PageNav colors 2025-02-24 17:22:56 +06:00
wukko
52528ddee8
web/PageNavTab: add more colors 2025-02-24 17:12:58 +06:00
wukko
b2df289894
web/PageNavTab: cleaner icon style 2025-02-24 16:30:33 +06:00
wukko
8e4d0cd03d
web/settings: add a local processing page 2025-02-24 15:51:11 +06:00
wukko
89fccae33d
web/settings/migrate: migrate alwaysProxy 2025-02-24 15:49:07 +06:00
wukko
b463ec7a7d
web/settings: move alwaysProxy & localProcessing, add useWebCodecs 2025-02-24 15:48:52 +06:00
wukko
540aee6194
merge: updates from main 2025-02-24 15:11:30 +06:00
wukko
82f3062759
api & web: bump package version to 10.7.5 2025-02-18 18:30:15 +06:00
wukko
7b63db13c4
web/i18n/error: add api.invalid_body & update api.unknown_response (#1118) 2025-02-18 12:44:53 +01:00
wukko
3d98b4f9e4
web/i18n/error: update age restriction errors
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-02-13 17:07:20 +06:00
wukko
dcc5b5d2fd
web/PickerDialog: adjust mobile scaling a bit
Some checks are pending
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Waiting to run
Run tests / web sanity check (push) Waiting to run
Run tests / api sanity check (push) Waiting to run
Run tests / check lockfile correctness (push) Waiting to run
2025-02-13 01:05:08 +06:00
wukko
bc70cf4b6b
web/DialogHolder: improve bottom margin in mobile pwa
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-02-13 00:53:17 +06:00
wukko
8d7f0d984f
web/layout: add & use the css variable for the focus ring 2025-02-13 00:32:02 +06:00
wukko
935947cafc
web/PickerItem: add a proper focus ring & fix different border radius 2025-02-13 00:29:09 +06:00
wukko
553b3f9091
web/PickerDialog: align the grid perfectly, better scaling 2025-02-13 00:26:45 +06:00
wukko
c0b671e45f
web/queen-bee: move runners to their own files
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-02-12 13:34:52 +06:00
wukko
564fc65297
web/workers/remux: init libav only once, terminate after usage 2025-02-12 13:19:13 +06:00
wukko
ff62a4c2e6
web/types/libav: replace "extension" with "format" in FileInfo 2025-02-12 13:17:56 +06:00
wukko
c31c484894
merge: 10.7.3 from main
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
2025-02-11 16:18:30 +06:00
wukko
1830765101
web/package: sync version with api
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
2025-02-11 16:17:51 +06:00
wukko
14556b3190
web/PickerDialog: ignore wrong items in an array 2025-02-11 15:39:53 +06:00
wukko
f76d40bec4
web/PickerItem: make sure the item url is valid 2025-02-11 15:29:23 +06:00
wukko
366279a3bc
web/PickerDialog: don't render an item if it has no url 2025-02-11 15:25:01 +06:00
Hk-Gosuto
20b1d9ab30
web/youtube-lang: add zh, zh-Hans, and zh-Hant language codes (#1076) 2025-02-11 14:44:06 +06:00
wukko
ce510a5746
web/layout: remove sidebar rounding on desktop
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-02-07 18:51:06 +06:00
wukko
ca3263f1f3
web/layout: fix mobile nav bar gradient 2025-02-07 18:50:46 +06:00
wukko
adaf502d66
web: remove the early prototype of cutout functionality
at the time of this commit, there are no models that are good enough and can run in a web browser. this feature might come back when web onnx gets support for beefier models.
2025-02-07 16:55:28 +06:00
wukko
039ccf91be
web/cutout: allow opening the page without extra settings 2025-02-07 16:48:10 +06:00
wukko
95d9913e3e
web/Sidebar: always show cutout tab 2025-02-07 16:47:36 +06:00
wukko
dc33c07b39
web/storage: add clearCacheStorage function
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-02-06 23:45:03 +06:00
wukko
1f79bf6e52
web/settings/advanced: add cache clearing, refactor data management 2025-02-06 23:44:05 +06:00
wukko
cff47da742
web/ProcessingQueue: add estimated storage usage 2025-02-06 22:56:05 +06:00
wukko
7a042e3bfa
web/ProcessingQueue: clear old files from storage on page load 2025-02-06 22:28:08 +06:00
wukko
23f28acff0
web/i18n/error: update age-restriction & login errors
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-02-05 19:23:29 +06:00
wukko
c8ea19a69c
web/SettingsInput: fix z-index of input inner buttons 2025-02-05 19:09:37 +06:00
wukko
4f50b44e68
web/SettingsInput: make the clear button non-destructive
clear button now clears data only in the input box, not actual data

if you accidentally clear old data and don't save it, you can restore it with one click :3
2025-02-05 19:01:30 +06:00
wukko
c5d8d33870
web/SettingsInput: hide sensitive input & allow to show it with a button
also fixed padding & svg rendering in safari
2025-02-05 18:30:00 +06:00
wukko
62dccf7b51
web/SettingsInput: hide sensitive info (such as api key) 2025-02-05 17:07:29 +06:00
wukko
88d4b4dc7c
web/ProgressBar: check if completedWorkers exists
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
2025-02-03 18:09:03 +06:00
wukko
1716c1d2af
web/state/queue: check if pipeline exists before removing workers 2025-02-03 18:08:47 +06:00
wukko
6c18f1d460
web/ProcessingQueueItem: fix queue scroll
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-02-02 14:45:31 +06:00
wukko
161b3a7e3c
web/i18n/queue: update title
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-02-02 02:28:31 +06:00
wukko
de5a2d10ca
web/SectionHeading: reduce line height for beta tag 2025-02-02 02:08:50 +06:00
wukko
12ea601e6d
web/state/queue: clean up result file when removing the task 2025-02-02 02:01:37 +06:00
wukko
c8ecf41b10
web/ProcessingQueueItem: fix stray space on error 2025-02-02 01:54:15 +06:00
wukko
945f87d93b
web/libav: allow passing options to init 2025-02-02 01:53:59 +06:00
wukko
19a342457b
web/storage: catch the missing dir error 2025-02-02 01:08:07 +06:00
wukko
61efa619a2
web/queue: fix filename on downloads, add mimetype, remove duplicates
filename is no longer passed to workers for no reason
2025-02-02 00:31:54 +06:00
wukko
50df95b212
web/queue: clear files from storage when needed 2025-02-02 00:15:44 +06:00
wukko
5464574a3e
web/workers: use opfs instead of blobs for better memory management
spent almost an entire day figuring this out but it's so worth it
2025-02-01 23:26:57 +06:00
wukko
0a8323be54
web/tsconfig: add webworker lib 2025-02-01 22:49:21 +06:00
wukko
ee459e8694
web/layout: always display processing queue
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
because the remux page relies on it
2025-01-31 23:59:01 +06:00
wukko
90dcc48cad
web/i18n/queue: update stub text 2025-01-31 23:54:41 +06:00
wukko
590b42a574
web/ProcessingQueueItem: fix processing-info overflow on mobile 2025-01-31 23:20:44 +06:00
wukko
ef08633bdb
web/ProcessingQueueItem: mobile css fixes 2025-01-31 23:06:17 +06:00
wukko
00d376d4ac
web/scheduler: break the global loop if current task is not done
i forgot to put break here, just blinded out that break on line 55 is breaking only its own inner loop
2025-01-31 22:08:57 +06:00
wukko
6513ab38d0
web/state/queue: clear all current tasks on queue clear 2025-01-31 22:02:35 +06:00
wukko
a7c1317af7
web/state/queue: clear pipeline results on error 2025-01-31 22:02:18 +06:00
wukko
2ae0fd01dd
web/ProcessingQueue: use full progress per item, not just running task 2025-01-31 21:59:44 +06:00
wukko
398c5402d2
web/ProcessingQueueItem: display all steps in progress bar 2025-01-31 21:59:00 +06:00
jj
cdfb6e0fd9
web: bump libav remux version
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-01-31 11:20:54 +00:00
wukko
1590490db2
web/queue: add a remux worker to saving pipeline, use pipelineResults 2025-01-31 11:22:31 +06:00
wukko
f2325bdc24
web/workers/remux: accept several files, custom args and output 2025-01-31 11:16:04 +06:00
wukko
7caee22aee
web/scheduler: worker pipeline sequencing, file exchange between workers 2025-01-31 11:12:00 +06:00
wukko
d15f1ec8f2
web/workers/remux: differentiate remux worker file event
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-01-30 18:58:02 +06:00
wukko
00106e9379
web/libav: accept several inputs, refactor 2025-01-30 18:48:45 +06:00
wukko
b7997c220e
web/i18n/queue: update stub text 2025-01-30 16:39:52 +06:00
wukko
5d7724762d
web: very early implementation of a fetch worker
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
2025-01-30 01:04:33 +06:00
wukko
91f5d63b93
web/DownloadButton: extract api interaction logic into a lib
download button state is now stored, well, in a state
2025-01-29 16:35:43 +06:00
wukko
1c34d2daff
merge: docs & test updates from main 2025-01-29 15:43:51 +06:00
wukko
b6472d5406
web: update h265 & gif params, migrate old params to new names 2025-01-29 15:40:29 +06:00
wukko
a43e7a629b
web: add local processing setting & api type
response is not handled at all yet, this is a raw draft
2025-01-29 15:06:16 +06:00
jj
75cda47633
web/libav: accept canonical extension if blob is a file
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-01-25 20:13:23 +00:00
wukko
c5e7b29c6c
web/ProcessingStatus: fix button focus ring 2025-01-26 02:13:09 +06:00
wukko
4f2c19b680
web/ProcessingQueue: indeterminate progress state 2025-01-26 02:06:37 +06:00
jj
af18bcd43f
web/ProcessingQueue: include worker progress in global progress 2025-01-25 19:48:40 +00:00
wukko
7c3e1e6779
web/remux: remove fossil code & clean files after queue push 2025-01-26 01:40:18 +06:00
wukko
c3cc6c09f4
web/ProcessingQueueItem: state icons, localized strings, fix line break 2025-01-26 01:34:56 +06:00
wukko
73d2f45dae
web/ProcessingStatus: make the button squishy 2025-01-26 00:57:56 +06:00
wukko
de66ac6b08
web/run-worker: subscribe to queue & kill worker when removed from store
& also clear the interval
2025-01-25 23:59:45 +06:00
wukko
d4684fa1f7
web/ProcessingQueueItem: break file title line anywhere
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-01-25 02:10:44 +06:00
wukko
1e6b1cb201
web/ProcessingQueueItem: format file size to be readable 2025-01-25 02:06:50 +06:00
wukko
44a99bdb3a
web/queue: add remuxing progress & general improvements
and a bunch of other stuff:
- size and percentage in queue
- indeterminate progress bar
- if libav wasm freezes, the worker kill itself
- cleaner states
- cleaner props
2025-01-25 01:25:53 +06:00
wukko
899d1efdea
web/about/general: update infra partner phrasing
Some checks failed
Run service tests / test service functionality (push) Waiting to run
Run service tests / test service: ${{ matrix.service }} (push) Blocked by required conditions
Run tests / web sanity check (push) Waiting to run
Run tests / api sanity check (push) Waiting to run
Run tests / check lockfile correctness (push) Waiting to run
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Has been cancelled
2025-01-22 14:46:30 +06:00
jj
c4c47bdc27
merge: 10.6 updates
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-01-21 13:36:37 +00:00
wukko
8d3db909d9
web/package: bump version to 10.6
Some checks are pending
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Waiting to run
Run service tests / test service: ${{ matrix.service }} (push) Blocked by required conditions
Run service tests / test service functionality (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-01-21 17:25:55 +06:00
wukko
39752b2c5f
web/Omnibox: improve pasting links from clipboard
- `text/uri-list` type is now accepted (such as clipboard data from bluesky)
- http links are now allowed (such as those from rednote)
- rednote share link is properly extracted
2025-01-20 21:26:55 +06:00
wukko
9f0f885ae6
web/settings/video: update h265 toggle strings
because now it also applies to xiaohongshu
2025-01-20 19:59:59 +06:00
wukko
192635f2ce
web/cutout: accommodate for updated file receivers
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-01-19 03:00:03 +06:00
wukko
2279b5d845
web: core system for queue & queen bee, move remux to new system
it's 3 am and i think i had a divine intervention
2025-01-19 02:57:15 +06:00
jj
2273bb388f
web/vite: split transformers.js into separate chunk
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-01-16 20:42:58 +00:00
wukko
8a5b25b4ce
web/removebg: fix the incorrect file condition 2025-01-17 01:51:10 +06:00
wukko
b85771dc1d
web/removebg: differentiate messaging even more, add temporary logging 2025-01-17 01:45:11 +06:00
wukko
cc3e3be118
web/cutout: fix canvas visibility 2025-01-17 01:25:52 +06:00
wukko
28eb9ebe5d
web/remux: improve page <-> worker messaging 2025-01-17 01:16:51 +06:00
wukko
8e9347b4a0
web/removebg: fix functionality after build, improve pipeline
- no longer killing the worker if it has done its job correctly and is expected to shut itself down
- no longer reading messages not intended for the worker handler and also made the cobalt messaging distnict
2025-01-17 01:03:59 +06:00
wukko
2812960088
web/cutout: reset the page state if the worker breaks
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-01-16 13:46:52 +06:00
wukko
f544768784
web/cutout: add a button to cancel the job
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-01-15 23:14:29 +06:00
wukko
0e26424355
web/libav: remove environment import to fix the worker 2025-01-15 22:25:59 +06:00
wukko
1ed2eef65a
web/remux: convert to a web worker (wip) 2025-01-15 22:11:08 +06:00
wukko
28d8927c08
web/removebg: convert to a proper web worker
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
no more hanging ui :3
2025-01-15 17:22:34 +06:00
wukko
2f2d39dc4c
web/removebg: fix types (remove garbage)
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
2025-01-14 18:30:33 +06:00
wukko
d649a00718
web/Sidebar: fix bottom padding on desktop 2025-01-14 18:25:43 +06:00
wukko
302ff4ff29
web/sidebar/CobaltLogo: fix padding 2025-01-14 18:21:16 +06:00
wukko
e02e7f2260
web: very early proof-of-concept of on-device image background removal 2025-01-13 01:26:54 +06:00
wukko
a892a37c53
web/layout: remove rounded corners on sidebar in dark theme 2025-01-12 22:58:59 +06:00
wukko
abc4673af7
web/sidebar: reduce padding on desktop & fix mobile padding 2025-01-12 22:55:10 +06:00
wukko
f816fae6ba
web/layout: increase sidebar contrast in dark theme 2025-01-12 22:49:03 +06:00
wukko
2272bb5edd
web/save: reduce terms note size on desktop 2025-01-12 22:37:49 +06:00