Commit Graph

1313 Commits

Author SHA1 Message Date
wukko
6a13ca347d api/request/local-processing: don't return an empty audio object
& 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
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
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 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
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 2025-03-10 13:47:53 +06:00
wukko
95a5a8ae9b web/haptics: fix disableHaptics setting path
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 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 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 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
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