Commit Graph

532 Commits

Author SHA1 Message Date
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
wukko
a0616841bf
web/DonationOption: use icon prop instead of slot 2024-11-20 14:15:03 +06:00
wukko
540bbbdad7
web/SidebarTab: pass icon prop instead of using slot 2024-11-20 14:14:37 +06:00
wukko
ea73d09c8f
web/Turnstile: reduce retry interval to 800ms
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
2024-11-19 00:33:07 +06:00
wukko
a3c807a993
web/turnstile: use own callback for refreshing the widget
or at least try to, idk man, im so tired of cf turnstile
2024-11-19 00:20:27 +06:00
wukko
6abccd9743
web/Turnstile: log to console on expired and timeout callback 2024-11-18 23:02:46 +06:00
wukko
c67132d2cc
web/Omnibox: add a cool animation to input icons 2024-11-18 21:06:19 +06:00
wukko
b38cb77952
web/turnstile: refresh turnstile if it expires in background
also renamed `turnstileLoaded` to `turnstileSolved` for more clarity
2024-11-18 21:05:47 +06:00
wukko
778ee76d59
web/Omnibox: fix main instance domain check
oops
2024-11-18 16:42:59 +06:00
wukko
4a70f09017
web/Omnibox: add community instance label
now it's easier for the end user to differentiate if an instance is official or not
2024-11-18 16:27:39 +06:00
wukko
277a6caefa
web/ManageSettings: use downloadFile for exporting settings
and also use 4 spaces for formatting the json file cuz 2 spaces is foul
2024-11-18 15:44:32 +06:00
wukko
6aade3cc78
web/BulletExplain: increase font size on desktop 2024-11-18 15:26:37 +06:00
wukko
152ba6d443
web/components: add BulletExplain component 2024-11-18 15:24:11 +06:00
wukko
3203f5bb2f
web/SupportedServices: better popover animation
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
2024-11-13 23:24:50 +06:00
wukko
2b7fcabf87
web/ChangelogEntry: reduce banner min height 2024-11-05 00:43:20 +06:00
wukko
c477b728e1
web/about/community: add a link to bluesky 2024-11-04 21:26:38 +06:00
wukko
d4b8400146
web/FileReceiver: reduce padding & gaps
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
2024-11-02 17:40:32 +06:00
wukko
1373d16286
web/SettingsDropdown: add a separator after first item, always lowercase
also split out anything in brackets in preview
2024-10-28 23:14:19 +06:00
wukko
3a0b0fed8b
web/settings: convert LanguageDropdown to universal SettingsDropdown 2024-10-28 21:42:07 +06:00
jj
be7c09bd07
web/lib: move dialogs to state folder 2024-10-20 12:51:59 +00:00
dumbmoron
eab37ae7ff
web/dialog: show dialog when loading cobalt with no js support 2024-10-12 18:01:57 +00:00
dumbmoron
0b06299da0
web/DialogButton: add "link" buttons 2024-10-12 17:42:53 +00:00
wukko
ef4dd4875e
web/icons/Clipboard: increase color contrast 2024-10-12 23:15:29 +06:00
wukko
c8ab784385
web/icons/Music: make colors brighter 2024-10-12 23:06:14 +06:00
wukko
4499992d58
web/icons/Sparkles: update colors for better legibility 2024-10-12 22:54:44 +06:00
wukko
72483bbdad
web/icons/Mute: update colors for better legibility 2024-10-12 22:49:36 +06:00
wukko
6c3b4e0fa9
web/AboutSupport: update github color & add glow 2024-10-12 22:23:01 +06:00
wukko
c10652b8c4
web/AboutSupport: replace duplicated type 2024-10-12 19:10:31 +06:00
wukko
d5ea154ed8
web/Omnibox: reduce gap by 2px 2024-10-12 19:08:01 +06:00
wukko
e34b8dd89c
web/Switcher: add a gap between items 2024-10-12 19:07:05 +06:00
wukko
ebf157862a
web/about/community: redesign the page, add descriptions 2024-10-12 19:06:11 +06:00
Alec Armbruster
dc12d6acad
web/debug: add a copy button, fix page padding, refactor (#782)
Co-authored-by: wukko <me@wukko.me>
2024-10-11 23:04:19 +06:00
wukko
e12e079571
web/SettingsCategory: prevent pointer events when disabled 2024-10-05 21:42:02 +06:00
dumbmoron
4317b128a8
about/credits: move beta tester listing to component
this is to prevent it from showing up in i18n
2024-10-04 12:27:34 +00:00