Commit graph

893 commits

Author SHA1 Message Date
wukko
d4684fa1f7
web/ProcessingQueueItem: break file title line anywhere 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 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
9f0f885ae6
web/settings/video: update h265 toggle strings
because now it also applies to xiaohongshu
2025-01-20 19:59:59 +06:00
wukko
192635f2ce
web/cutout: accommodate for updated file receivers 2025-01-19 03:00:03 +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
8a5b25b4ce
web/removebg: fix the incorrect file condition 2025-01-17 01:51:10 +06:00
wukko
b85771dc1d
web/removebg: differentiate messaging even more, add temporary logging 2025-01-17 01:45:11 +06:00
wukko
cc3e3be118
web/cutout: fix canvas visibility 2025-01-17 01:25:52 +06:00
wukko
28eb9ebe5d
web/remux: improve page <-> worker messaging 2025-01-17 01:16:51 +06:00
wukko
8e9347b4a0
web/removebg: fix functionality after build, improve pipeline
- no longer killing the worker if it has done its job correctly and is expected to shut itself down
- no longer reading messages not intended for the worker handler and also made the cobalt messaging distnict
2025-01-17 01:03:59 +06:00
wukko
2812960088
web/cutout: reset the page state if the worker breaks 2025-01-16 13:46:52 +06:00
wukko
f544768784
web/cutout: add a button to cancel the job 2025-01-15 23:14:29 +06:00
wukko
0e26424355
web/libav: remove environment import to fix the worker 2025-01-15 22:25:59 +06:00
wukko
1ed2eef65a
web/remux: convert to a web worker (wip) 2025-01-15 22:11:08 +06:00
wukko
28d8927c08
web/removebg: convert to a proper web worker
no more hanging ui :3
2025-01-15 17:22:34 +06:00
wukko
2f2d39dc4c
web/removebg: fix types (remove garbage) 2025-01-14 18:30:33 +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
a892a37c53
web/layout: remove rounded corners on sidebar in dark theme 2025-01-12 22:58:59 +06:00
wukko
abc4673af7
web/sidebar: reduce padding on desktop & fix mobile padding 2025-01-12 22:55:10 +06:00
wukko
f816fae6ba
web/layout: increase sidebar contrast in dark theme 2025-01-12 22:49:03 +06:00
wukko
2272bb5edd
web/save: reduce terms note size on desktop 2025-01-12 22:37:49 +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 2025-01-11 21:07:44 +06:00
wukko
4b5fd1cda0
web/PopoverContainer: fix popover z-index 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
50db4d342a
api & web: roll back the default hls change due to doubled CPU usage 2025-01-08 11:22:05 +06:00
wukko
b47987754a
web/settings/defaults: enable youtubeHLS by default (again) 2025-01-08 10:56:59 +06:00
wukko
937fddf3e9
web/settings/defaults: roll back default hls
it seems to be doing more bad than good, we need to scale or finish the duck project first
2025-01-07 13:16:58 +06:00
wukko
f07ebaa04c
web/settings/defaults: enable youtubeHLS by default
yolo #testinprod
2025-01-06 15:38:58 +06:00
wukko
6b49bce595
web/layout: add more padding and a separation line to h2 in long text 2024-12-23 23:03:35 +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 2024-12-22 23:10:33 +06:00
wukko
41600dab4f
web/settings/advanced: add a toggle for local processing 2024-12-22 23:04:37 +06:00
wukko
a9515d376a
web/settings: add duck to settings types 2024-12-22 23:04:20 +06:00
wukko
5820736a31
web/ProcessingQueue: use the heading component with the beta tag 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 2024-12-18 18:42:34 +06:00
wukko
73d0b24aaf
web/layout: move processing queue into content for better a11y 2024-12-18 17:57:07 +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
3f46395bd2
web/state/queue: add nukeEntireQueue() 2024-12-18 17:10:08 +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
13ec4f4faf
web/queue: add types & states 2024-12-18 16:59:08 +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
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 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 2024-12-16 00:25:45 +06:00
wukko
d8cfb78047
web/layout: adjust opacity of popover glow in dark mode 2024-12-15 00:24:54 +06:00
wukko
689d7b4846
web/DonateOptionsCard: hide the scroller for aria, not all options 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 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
7fc3d70d71
web/remux: fix scroll on short screens 2024-11-24 14:19:40 +06:00
wukko
d8f3bbe0f3
web/lib/api: return errors from authorization function 2024-11-24 13:37:36 +06:00
wukko
b1392cdc03
web/settings/instances: update access key section id 2024-11-24 00:33:36 +06:00
wukko
57734822ea
web/settings/migrate: refactor, migrate to v4 schema
why the fuck was tab 2 spaces here
2024-11-24 00:23:06 +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
6129198024
web/settings/instances: always display the access key section 2024-11-23 23:22:47 +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
d4044e3350
web/server-info: remove turnstile in more cases 2024-11-23 19:14:14 +06: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
baebeed488
web/settings/v4: add api key settings, remove override settings 2024-11-23 19:08:24 +06:00
wukko
1374693c2f
web/Toggle: make the toggle stretchy 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
c50cecae92
web/settings: replace advanced settings icon with a cooler one 2024-11-20 15:35:36 +06:00
wukko
c9833a358b
web/layout: fix content rounded corners in RTL layout 2024-11-20 15:34:59 +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
9c8cb5611f
web/server-info: reload the page only if the sitekey actually changed 2024-11-20 14:26:45 +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 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
e09e098b27
web/remux: reduce bullet padding only on small screens 2024-11-18 17:02:22 +06:00
wukko
a0b621c5e7
web/remux: increase bullet gap on desktop 2024-11-18 16:59:59 +06:00
wukko
778ee76d59
web/Omnibox: fix main instance domain check
oops
2024-11-18 16:42:59 +06:00
wukko
d8348dfa1c
web: remove instance override warning, use custom api right away 2024-11-18 16:32:33 +06:00
wukko
2b2bc57331
web/env: rename apiURL to defaultApiURL
references to it are now easier to read and understand
2024-11-18 16:30:27 +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
b015af7dde
web/remux: add bullet points explaining what remux is 2024-11-18 15:24:50 +06:00
wukko
152ba6d443
web/components: add BulletExplain component 2024-11-18 15:24:11 +06:00
jj
f7dc6cebad
all: add space after catch 2024-11-15 12:19:49 +00:00
wukko
3203f5bb2f
web/SupportedServices: better popover animation 2024-11-13 23:24:50 +06:00
wukko
44fe585a89
web/layout: fix paragraph title alignment in about tab
oops
2024-11-05 12:46:18 +06:00
wukko
2b7fcabf87
web/ChangelogEntry: reduce banner min height 2024-11-05 00:43:20 +06:00
wukko
cecdbda7e4
web/layout: update long text heading styling & add table styling 2024-11-05 00:43:03 +06:00
wukko
c477b728e1
web/about/community: add a link to bluesky 2024-11-04 21:26:38 +06:00
jj
f4ca4ea719
web/settings: validate youtubeDubLang as literal 2024-11-03 20:02:43 +00:00
wukko
d4b8400146
web/FileReceiver: reduce padding & gaps 2024-11-02 17:40:32 +06:00
wukko
904e5aa918
web/video: update youtube codec & hls section ids 2024-10-30 22:37:55 +06:00
wukko
8840396865
web/audio: update youtube dub section id 2024-10-30 22:37:45 +06:00
jj
c4be1d3a37
web/download: don't try to open non-https links 2024-10-30 13:17:38 +00:00
jj
b125894b7e
web/settings: move migration to separate file, rename v7 migration 2024-10-30 12:42:52 +00:00
jj
0a471943ca
web/settings: write to storage if migrated 2024-10-30 12:18:27 +00:00
jj
30b7003871
Revert "web/settings/migrate: remove youtubeDubBrowserLang migration"
This reverts commit 94e6acb832.
2024-10-30 12:18:27 +00:00
jj
cafe05d5fb
web/settings: add version 3 of setting schema 2024-10-30 12:18:27 +00:00
jj
ec10019bfa
web/settings: fix types, migrate old settings from v2 2024-10-30 12:12:56 +00:00
jj
bad59750bf
web/settings: rewrite type names, remove unused types
CurrentCobaltSettings -> CobaltSettings
CobaltSettings -> AnyCobaltSettings
2024-10-30 12:12:56 +00:00
jj
7c9a824a69
web/settings: add function for getting browser language
prep for migrating youtubeDubBrowserLang
2024-10-30 12:12:56 +00:00
jj
7a50c89728
web/settings: split settings into versions 2024-10-30 12:12:56 +00:00
wukko
94e6acb832
web/settings/migrate: remove youtubeDubBrowserLang migration 2024-10-30 17:19:51 +06:00
wukko
1e5b30778d
web/settings/audio: add a beta tag to youtube dub section 2024-10-28 23:21:46 +06:00
wukko
ce131b1454
web/settings/privacy: remove beta tag from tunneling 2024-10-28 23:18:04 +06:00
wukko
ea2dd5bb35
web: add support for dubbed youtube audio tracks 2024-10-28 23:15:01 +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
wukko
60b22cb5f7
web: add support for youtube hls
also increased api response timeout to 20 seconds
2024-10-28 15:27:51 +06:00
jj
c17db15e62
web/debug: dump states on debug page 2024-10-20 12:51:59 +00:00
jj
be7c09bd07
web/lib: move dialogs to state folder 2024-10-20 12:51:59 +00:00
jj
4c43a00e88
web/api/session: replace writable with normal variable 2024-10-20 12:51:59 +00:00
wukko
0e52e1f8b0
web/safety-warning: reduce continue button timeout 2024-10-16 17:03:34 +06: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