Commit Graph

647 Commits

Author SHA1 Message Date
jj
e0ced00806
lib/storage: move opfs to subdirectory 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
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
a86c552183
web/ProcessingQueueItem: don't show size if size is 0, refactor 2025-04-30 21:33:35 +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
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
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
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
wukko
4182845e9a
web/FileReceiver: make accept list text unselectable 2025-04-21 22:46:34 +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
b56c6b70a2
web/Omnibox: show community label if default url isn't official 2025-04-20 16:18:45 +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
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
jj
53ca7700a5
web/queue: make completedWorkers into set, require pipelineResults 2025-03-31 13:05:00 +00: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
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
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
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
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
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
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
dab88f7ed8
web/ProcessingStatus: update the icon 2025-03-07 15:20:34 +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
158ba6f28f
web/saving-handler: destructure params, reuse request if passed 2025-03-06 17:02:06 +06:00
wukko
066a47c82d
web/DownloadButton: fix the button width to prevent moving around 2025-03-06 14:25:31 +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
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
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
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
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
910cbcf236
web/AboutSupport: allow the card to fill the available space 2025-02-24 17:24:06 +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
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
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
14556b3190
web/PickerDialog: ignore wrong items in an array 2025-02-11 15:39:53 +06:00