Commit graph

1411 commits

Author SHA1 Message Date
dumbmoron
15caad7e36
web: adjust gray color to pass WCAG AA guideline 2024-07-13 12:51:31 +00:00
dumbmoron
3f98f5bee8
settings: move schemaVersion definition to updateSetting 2024-07-13 12:32:08 +00:00
dumbmoron
f4aff44004
debug: include settings json on page 2024-07-13 12:25:50 +00:00
dumbmoron
2cce4bd521
settings: expose settings that have only been modified
also reduce unnecessary loads from storage
2024-07-13 12:25:27 +00:00
dumbmoron
2a0366a58d
settings: add migrations, include schemaVersion in storage 2024-07-13 12:05:52 +00:00
wukko
6c9d759a3a
web: update save page i18n & add link to terms and ethics of use
now also styling <a> properly, with exceptions only when needed
2024-07-13 13:45:53 +06:00
wukko
151fdad047
web/Sidebar: make bottom padding match the corner radius of the page 2024-07-12 20:49:44 +06:00
wukko
ce740770bc
web/Sidebar: remove duplicate padding in css 2024-07-12 20:46:46 +06:00
wukko
96be9ffbc3
web/sidebar: redo padding on mobile & desktop
- accommodate space for scaling animation
- replace static padding with variable in calculations
- no more weird padding on mobile
2024-07-12 20:22:12 +06:00
wukko
914be64153
web/settings: make navigation scrollable on overflow 2024-07-12 19:18:47 +06:00
wukko
5ccde7995e
web: convert global state classes to data attributes
also cleaned up unnecessary dupe in sidebar component
2024-07-12 19:15:55 +06:00
wukko
b12ad56cc1
web/LanguageAutoToggle: update preferred language variable name 2024-07-12 19:02:23 +06:00
wukko
d27bed7add
web: respect reduced motion & transparency preferences
also cleaned up settings & device libs
2024-07-12 18:49:29 +06:00
wukko
1160b90c17
web/SidebarTab: apply will-change only on iphone 2024-07-12 17:16:26 +06:00
wukko
459c746dcc
web/SidebarTab: yet another attempt to fix blurriness on small res screens 2024-07-12 17:06:05 +06:00
wukko
27082cd725
web/SidebarTab: go back to neutral transform state at end of animation 2024-07-11 12:26:39 +06:00
dumbmoron
aea7ebb371
LanguageAutoToggle: change language even if it does not exist
if the locfile does not exist, it will just fall back to english
2024-07-10 18:46:43 +00:00
wukko
4759f2037c
web/device: add user agent 2024-07-11 00:27:46 +06:00
wukko
02437a686c
web/i18n/settings: update language description
added information about translation fallback
2024-07-11 00:21:49 +06:00
wukko
7648c115e0
web/vite: change build target to esnext 2024-07-11 00:05:29 +06:00
wukko
936da1c9ab
web/debug: show page content only when debug mode is enabled 2024-07-10 23:52:44 +06:00
wukko
6c7695ca6c
web/error: redirect home on 404 2024-07-10 23:50:50 +06:00
dumbmoron
95bcf7bf66
settings: only store settings if changed by user 2024-07-10 17:47:46 +00:00
wukko
a6ddceb643
web/settings: add advanced & debug pages 2024-07-10 23:35:53 +06:00
wukko
49f9057b6b
web/SettingsNavSection: make section title optional 2024-07-10 23:35:40 +06:00
wukko
2b907e5684
web/lib/settings: use default settings as base when loading from storage 2024-07-10 23:29:47 +06:00
wukko
bc63b0c6b7
web/lib/device: fix ipad recognition 2024-07-10 23:28:23 +06:00
dumbmoron
d1767c550c
version.json: refactor, don't use error(), use cf pages env if available 2024-07-10 16:23:35 +00:00
dumbmoron
a5d87edeca
version.json: correct parsing for https clones 2024-07-10 16:14:54 +00:00
dumbmoron
23bcd6076a
web: add prerendered version.json endpoint for frontend metadata 2024-07-10 16:04:00 +00:00
wukko
b92579ea2c
web/LanguageDropdown: yet another fix for chrome on windows 2024-07-10 21:54:04 +06:00
wukko
3a531713d0
web/SidebarTab: make the button squishy 2024-07-10 21:46:14 +06:00
wukko
f498ea65b0
web/i18n/settings: improve reduce motion description 2024-07-10 20:21:41 +06:00
wukko
6c2d147bc6
web/settings: clean up the mobile header 2024-07-10 20:19:46 +06:00
wukko
e52340f33a
web/settings: improve subtext visibility 2024-07-10 20:19:05 +06:00
wukko
ceabce864f
web/i18n/settings: remove "preferred" from titles 2024-07-10 19:37:49 +06:00
wukko
c013134b70
web/settings: move switcher description to correct component 2024-07-10 19:35:23 +06:00
wukko
d8420116dc
web/LanguageDropdown: fix option style in chrome on windows 2024-07-10 18:42:00 +06:00
wukko
496d440e5b
web/settings: refresh the locale state when auto mode is toggled 2024-07-09 21:41:53 +06:00
wukko
82ac838655
web: use credentials for manifest.json 2024-07-09 21:16:40 +06:00
wukko
19a0b00853
web/i18n: add fallback locale 2024-07-09 17:40:45 +06:00
wukko
1bf0e6707b
web/settings/appearance: rearrange sections 2024-07-08 19:47:59 +06:00
wukko
cbc1febab2
web/settings: disable the language dropdown when auto 2024-07-08 19:46:20 +06:00
wukko
bd2bdf326f
web/Omnibox: handle enter key press 2024-07-08 19:29:30 +06:00
wukko
05044922d5
web/LanguageDropdown: fix current selection string 2024-07-08 19:24:40 +06:00
wukko
6570d163e9
web/SidebarTab: indicate that tab is selected in aria 2024-07-08 12:58:21 +06:00
wukko
862366b5c5
web/LanguageDropdown: fix missing text in firefox & small font size in safari 2024-07-08 12:49:27 +06:00
wukko
bad7e3307d
web/LanguageDropdown: proper component style
you can't toggle the "select" element programmatically, so i had to come up with a workaround. it works and looks beautifully!

also fixed buggy overflow in SettingsToggle component.
2024-07-08 00:18:25 +06:00
wukko
35a8628cc1
web/SettingsToggle: change aria role to switch 2024-07-07 22:45:35 +06:00
dumbmoron
da1a11b5ce
svelte: don't use relative paths for bundle links in html
this prevents a blank page from showing up when a user
visits a non-existing page on a static build
2024-07-29 10:13:45 +00:00