Commit graph

860 commits

Author SHA1 Message Date
wukko 2ed52a161e
web/i18n/error: add general content region & paid errors 2024-11-24 18:35:57 +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 b737dbacd6
web/i18n/error: add api key errors 2024-11-24 14:08:06 +06:00
wukko d8f3bbe0f3
web/lib/api: return errors from authorization function 2024-11-24 13:37:36 +06:00
wukko 4ca94aa2cd
web/package: bump version to 10.4 2024-11-24 00:37:40 +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 adb1cacd9d
web/i18n/settings: update access key description 2024-11-23 23:22:08 +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 8415d0e4f3
web/i18n/error: update invalid jwt token error 2024-11-23 19:08:41 +06:00
wukko baebeed488
web/settings/v4: add api key settings, remove override settings 2024-11-23 19:08:24 +06:00
wukko 5b60065c9f
web/about/terms: update the abuse email 2024-11-23 16:57:34 +06:00
wukko 7fa387b12f
web/i18n/error: add youtube api error and update the login error 2024-11-23 15:38:33 +06:00
wukko f1f9955159
web/i18n/error: rephrase a bunch of strings for more clarity and context
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
i didn't expect to rewrite this much ngl
2024-11-23 00:32:08 +06:00
wukko 1374693c2f
web/Toggle: make the toggle stretchy
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-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
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 e09e098b27
web/remux: reduce bullet padding only on small screens
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-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 b036437871
web/i18n/general: update embed description to be less corny 2024-11-18 15:32:13 +06:00
wukko 6aade3cc78
web/BulletExplain: increase font size on desktop 2024-11-18 15:26:37 +06:00