Commit Graph

565 Commits

Author SHA1 Message Date
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
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
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
95d9913e3e
web/Sidebar: always show cutout tab 2025-02-07 16:47:36 +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
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
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
de5a2d10ca
web/SectionHeading: reduce line height for beta tag 2025-02-02 02:08:50 +06:00
wukko
c8ecf41b10
web/ProcessingQueueItem: fix stray space on error 2025-02-02 01:54:15 +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
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
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
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
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
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
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
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
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
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
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
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
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
abc4673af7
web/sidebar: reduce padding on desktop & fix mobile padding 2025-01-12 22:55:10 +06:00
wukko
f0e67fb69f
web/Omnibox: reduce omnibox gap 2025-01-12 22:37:06 +06:00
wukko
c8bd08a290
web/PageNavTab: remove redundant bg 2025-01-12 19:12:41 +06:00
wukko
0749106b96
web/SidebarTab: never break the tab name line
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-01-11 21:07:44 +06:00
wukko
4b5fd1cda0
web/PopoverContainer: fix popover z-index
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-01-08 17:55:50 +06:00
wukko
a6069f406f
api & web: merge base queue ui & api updates 2025-01-08 17:20:00 +06:00
wukko
00c4531011
web/ChangelogEntry: increase max banner height 2024-12-23 23:02:34 +06:00
wukko
806a644a40
web/ProcessingStatus: replace icon with a more fitting one
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
2024-12-22 23:10:33 +06:00
wukko
5820736a31
web/ProcessingQueue: use the heading component with the beta tag
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
2024-12-19 21:11:02 +06:00
wukko
06000cbc77
web/SectionHeading: added a new prop to disable the link 2024-12-19 21:09:51 +06:00
wukko
8c9f7ff36d
web/ProcessingQueue: align buttons to center vertically
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
2024-12-18 18:42:34 +06:00
wukko
5860efa620
web/PopoverContainer: hide for screen readers when not expanded 2024-12-18 17:48:40 +06:00
wukko
f3ff3656ef
web/ProcessingQueue: fix ui on narrow screens 2024-12-18 17:47:48 +06:00
wukko
eba8dc3767
web/ProcessingQueue: make the clear button actually clear the queue 2024-12-18 17:10:30 +06:00
wukko
a8bb64ffb1
web/ProcessingQueue: use new types and states, refactor
- added a dedicated ui debug button
- fixed scrolling (content is no longer cutting off weirdly)
- moved stub to its own component
- moved all permanent strings to localization
2024-12-18 17:04:57 +06:00
wukko
fcab598ec4
web/ProcessingStatus: make the icon thinner 2024-12-18 16:58:26 +06:00
wukko
11e3d7a8f4
web: rename DownloadManager to ProcessingQueue
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
also replaced the download icon with a blender (to be updated, maybe)
2024-12-17 16:50:13 +06:00
wukko
13c4438a57
web/DownloadManager: item component & 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
2024-12-17 01:25:02 +06:00
wukko
45434ba751
web/UpdateNotification: accommodate space for the download manager 2024-12-16 18:05:39 +06:00
wukko
6d0ec5dd85
web: basic ui for the download queue manager 2024-12-16 18:03:55 +06:00
wukko
5d75ee493d
web/SupportedServices: use the general popover component 2024-12-16 17:24:05 +06:00
wukko
91327220a0
web/PopoverContainer: create a reusable popover component 2024-12-16 17:23:43 +06:00
wukko
4cdbb02de2
web/SupportedServices: speed up the secondary expand by ~200μs
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
2024-12-16 00:25:45 +06:00
wukko
689d7b4846
web/DonateOptionsCard: hide the scroller for aria, not all options
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
2024-12-14 13:07:30 +06:00
wukko
35d9917301
web/SupportedServices: render popover only when needed
& also focus it for screen readers
2024-12-14 12:51:00 +06:00
wukko
89f197375c
web/SupportedServices: better glow in dark mode 2024-12-14 12:42:38 +06:00
wukko
b44410e93b
web/SupportedServices: springy expand animation 2024-12-14 12:30:04 +06:00
wukko
5be8789576
web/PageNavTab: flip the chevron in rtl layout
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
2024-11-25 12:24:09 +06:00
wukko
e93aa54e2f
web/SavingDialog: fix weird focus border in chromium browsers 2024-11-25 12:22:28 +06:00
wukko
da5cd3e324
web/DonateBanner: optimize for rtl layouts 2024-11-24 14:30:02 +06:00
wukko
0b6270e745
web/SettingsInput: better screen reader accessibility
aria-label is now read instead of placeholders, cuz lengthy ones like uuid are a sensory overload and could confuse people. instead, now we make a fake ui placeholder (because there's no other way to have exclusively aria-label while also showing placeholder normally)
2024-11-24 00:12:35 +06:00
wukko
a9831a40a3
web/SettingsInput: fix uuid support & refactor 2024-11-23 23:21:54 +06:00
jj
326bc52f27
web: fix turnstile/server-info circular dependency 2024-11-23 14:37:23 +00:00
wukko
601597eb15
web: add support for custom api keys & improve turnstile states 2024-11-23 19:13:23 +06:00
wukko
7c7cefe89b
web/settings: add a reusable SettingsInput component 2024-11-23 19:11:19 +06:00
wukko
1374693c2f
web/Toggle: make the toggle stretchy
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
2024-11-20 16:06:48 +06:00
wukko
b8c1c1fe51
web/Toggle: remove accidentally committed bracket 2024-11-20 15:41:36 +06:00
wukko
620bd24243
web/PageNav: fix page padding in RTL layout 2024-11-20 15:34:37 +06:00
wukko
45e639a7e1
web/Sidebar: fix padding in RTL layout 2024-11-20 15:34:23 +06:00
wukko
88ed5876ae
web/Omnibox: adapt for RTL layout 2024-11-20 15:34:10 +06:00
wukko
e7c2196a25
web/DownloadButton: adapt for RTL layout 2024-11-20 15:33:51 +06:00
wukko
72c30a58aa
web/Switcher: fix rounded corners in RTL layout 2024-11-20 15:33:27 +06:00
wukko
94e5aad6c0
web/Toggle: accommodate for rtl layouts 2024-11-20 15:33:09 +06:00
wukko
6e81c55fc1
web: replace text-align: left with text-align: start
improves support for arabic and other RTL languages
2024-11-20 14:47:07 +06:00
wukko
1833a95027
web/PageNavTab: use icon prop instead of slot 2024-11-20 14:15:34 +06:00