Commit Graph

1126 Commits

Author SHA1 Message Date
wukko
46c5e2e2b5
web/download: use shareFile or openFile depending on file size on ios 2025-05-19 20:35:42 +06:00
wukko
46942a36b3
web/SettingsInput: make input box fully clickable, fix radius of buttons
radius & inner padding on right were 1px off >:(
2025-05-19 20:05:35 +06:00
wukko
12d6f33197
web/app.css: fix text color in active buttons with focus ring 2025-05-19 19:44:51 +06:00
wukko
f94606cbd3
web/SectionHeading: fix outline offset on link copy button 2025-05-19 19:25:15 +06:00
wukko
1be6d2f7c1
web/SettingsInput: update the "hide sensitive input" icon
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-05-19 18:52:28 +06:00
wukko
566194d8a6
web/lib/download: allow opening file object url on ios
sharing a big file crashes ios safari, but opening it works perfectly fine. will revert if this causes even more issues than before
2025-05-19 17:39:51 +06:00
wukko
5e1e083ff3
web/lib/download: don't wrap a file inside a file when sharing
wtf
2025-05-19 17:03:06 +06:00
wukko
b6693cd4b2
web/queue: fix total progress
the issue was caused by currentTasks state dependence in ProcessingQueue, now it's properly updated just like before :3
2025-05-19 16:32:48 +06:00
wukko
b96b57c216
web/components/queue: update to svelte 5 style 2025-05-19 16:03:50 +06:00
jj
398681857b
web: parallel queue item processing
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-05-17 18:18:19 +00:00
jj
426c073d5f
web/queue: move error() out of createSavePipeline closure
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-05-16 14:58:30 +00:00
jj
3d92a85ba2
web/queue: decompose ffmpeg construction in createSavePipeline 2025-05-16 14:50:57 +00:00
wukko
d6ad74d429
web/ProcessingQueue: processing list role & label
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-05-14 22:43:16 +06:00
wukko
9b20d726a7
web/SectionHeading: add id to the title 2025-05-14 22:42:22 +06:00
wukko
294273e2a7
web/ProcessingStatus: refactor to svelte 5 & add aria label 2025-05-14 22:41:55 +06:00
wukko
773d771c40
web/DropReceiver: remove aria-hidden
why the hell was it aria hidden
2025-05-14 22:31:20 +06:00
wukko
d337de1f63
web/ProcessingQueueItem: make buttons accessible for screen readers 2025-05-14 22:25:46 +06:00
wukko
fdc4f4826d
web/ProcessingQueueItem: floor the progress 2025-05-14 22:24:42 +06:00
wukko
08168f5477
web/SectionHeading: refactor to svelte 5 style 2025-05-14 22:23:33 +06:00
wukko
d4ca8ece00
web/remux: fix file receiver file import 2025-05-14 21:55:16 +06:00
wukko
9cf40549e3
web/workers/fetch: retry only when needed & reduce attempts to 3 2025-05-14 21:16:38 +06:00
wukko
e7a3ab81d2
web/ProcessingQueue: prevent cobalt from being closed
if queue progress is not 0% or 100%
2025-05-14 17:30:47 +06:00
wukko
68554c5b53
web/remux: add imported files to queue automatically & filter by type
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-05-14 16:08:13 +06:00
wukko
b1b5f3bba2
web/types/queue: remove obsolete todo comment 2025-05-14 15:37:54 +06:00
wukko
345df13647
web/workers/ffmpeg: error codes, better error handling, remove logs 2025-05-14 15:37:31 +06:00
wukko
8139e77b66
web/workers/fetch: proper error codes, remove debug logging 2025-05-14 15:36:02 +06:00
wukko
50746be9bf
web/task-manager/scheduler: proper error code 2025-05-14 15:35:06 +06:00
wukko
4a6f159e06
web/task-manager/runner: proper error codes, remove debug logging 2025-05-14 15:34:40 +06:00
wukko
9d129bc865
web/task-manager/run-worker: error if ffmpeg args are missing
instead of just hanging
2025-05-14 15:33:30 +06:00
wukko
eeda4beb25
web/task-manager/queue: show a dialog on error 2025-05-14 15:29:19 +06:00
wukko
700067c4ec
web/saving-handler: refactor error dialog handling
& remove debug logging for local processing
2025-05-14 15:26:39 +06:00
wukko
68e8b3369d
web/ProcessingQueueItem: localize the error code
& fix status text line break
2025-05-14 14:58:22 +06:00
jj
bb177d8c81
web/migrate/v5: initialize settings subobjects if they are missing 2025-05-14 08:03:34 +00:00
wukko
841d602f3b
web/Omnibox: use search params only in a browser
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
forever cursed by prerender
2025-05-07 19:56:39 +06:00
wukko
393d60ef7a
web/Omnibox: fix prefilled link parsing & refactor to svelte 5 style 2025-05-07 19:45:32 +06:00
jj
42b7a6ae60
lib/opfs: move getting dir into remove() try catch
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-05-04 19:18:27 +00:00
jj
d83d448190
web/opfs: make removeFromFileStorage() more robust 2025-05-04 19:05:32 +00:00
jj
b6a207a9b0
web/workers: append type to outputted files 2025-05-04 19:01:37 +00:00
jj
f655432376
lib/storage: always return files 2025-05-04 19:01:37 +00:00
wukko
9a9b9a6dfc
web/PickerItem: make the image fade in longer
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-05-04 16:14:37 +06:00
wukko
70a970c453
web/FileReceiver: fix meowbalt fade in 2025-05-04 16:07:59 +06:00
wukko
37877a2453
web/ChangelogEntryWrapper: refactor to svelte 5 style 2025-05-04 16:01:22 +06:00
wukko
e18664e879
web/ChangelogEntry: refactor to svelte 5 style, fade in banner 2025-05-04 16:01:10 +06:00
wukko
d717cf1aaa
web/PickerItem: better css for skeleton 2025-05-04 15:47:55 +06:00
wukko
d58155426f
web/PickerItem: props refactor, fade in images on load
feels really good now
2025-05-04 15:36:13 +06:00
wukko
0cecdc32a6
web/Meowbalt: fade in meowbalt assets on load 2025-05-04 15:30:45 +06:00
wukko
c9dfd60068
web/ProcessingQueueStub: static stub text 2025-05-04 14:43:55 +06:00
jj
1ef8391639
web: simplify CobaltFileReference type
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-05-03 13:23:05 +00:00
jj
95ab81eb10
web: use AbstractStorage everywhere 2025-05-03 12:21:21 +00:00
jj
ce4ded64a2
web/storage: add memory storage and init() function 2025-05-03 12:21:21 +00:00
jj
be4e7e2d7d
lib/storage: drop read() method, widen res() to Blob
we don't use it anywhere, we only use res()
2025-05-03 12:21:21 +00:00
jj
dd507e1dcd
lib/storage: add abstract storage class 2025-05-03 12:21:21 +00:00
jj
e0ced00806
lib/storage: move opfs to subdirectory 2025-05-03 12:21:21 +00:00
jj
1058014c96
web/storage: make opfs check more robust 2025-05-03 12:21:21 +00:00
jj
893c6edde7
web/storage: remove getStorageQuota()
not used anymore
2025-05-03 12:21:21 +00:00
jj
b3f151f3cb
web/storage: move clearCacheStorage() logic to clear button 2025-05-03 12:21:21 +00:00
jj
54ec1645fe
web/opfs: capitalize processing dir constant 2025-05-03 12:21:21 +00:00
wukko
a22e4c3cf9
web/settings: add an option to hide the remux tab on mobile
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-05-01 00:25:03 +06:00
wukko
a1e20ccc3e
web/SmallDialog: delay error haptics by 150ms 2025-04-30 23:56:25 +06:00
wukko
931a815c29
web/queue: add gif pipeline & proper media type icons 2025-04-30 22:02:00 +06:00
wukko
a95f87ebfb
api & web: make "basic" the default filename style 2025-04-30 21:33:36 +06:00
wukko
a86c552183
web/ProcessingQueueItem: don't show size if size is 0, refactor 2025-04-30 21:33:35 +06: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