wukko
13e9072039
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
7ed81f5553
web/settings: make navigation scrollable on overflow
2024-07-12 19:18:47 +06:00
wukko
061d199f29
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
3af7853903
web/LanguageAutoToggle: update preferred language variable name
2024-07-12 19:02:23 +06:00
wukko
2dbaf079c1
web: respect reduced motion & transparency preferences
...
also cleaned up settings & device libs
2024-07-12 18:49:29 +06:00
wukko
c2d4c1b7b7
web/SidebarTab: apply will-change only on iphone
2024-07-12 17:16:26 +06:00
wukko
0959e16569
web/SidebarTab: yet another attempt to fix blurriness on small res screens
2024-07-12 17:06:05 +06:00
wukko
9474d0ce9e
web/SidebarTab: go back to neutral transform state at end of animation
2024-07-11 12:26:39 +06:00
dumbmoron
153c4f7f3e
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:55 +00:00
wukko
1393124f98
web/device: add user agent
2024-07-11 00:27:46 +06:00
wukko
fbf68144e8
web/i18n/settings: update language description
...
added information about translation fallback
2024-07-11 00:21:49 +06:00
wukko
842f91ec54
web/vite: change build target to esnext
2024-07-11 00:05:29 +06:00
wukko
acd485d402
web/debug: show page content only when debug mode is enabled
2024-07-10 23:52:44 +06:00
wukko
42debb1207
web/error: redirect home on 404
2024-07-10 23:50:50 +06:00
dumbmoron
f94ab5e332
settings: only store settings if changed by user
2024-07-10 17:48:34 +00:00
wukko
a3852ceb64
web/settings: add advanced & debug pages
2024-07-10 23:35:53 +06:00
wukko
ffaead1f4c
web/SettingsNavSection: make section title optional
2024-07-10 23:35:40 +06:00
wukko
404d031117
web/lib/settings: use default settings as base when loading from storage
2024-07-10 23:29:47 +06:00
wukko
c7ff62c7eb
web/lib/device: fix ipad recognition
2024-07-10 23:28:23 +06:00
dumbmoron
4165af2366
version.json: refactor, don't use error(), use cf pages env if available
2024-07-10 16:39:07 +00:00
dumbmoron
cc852ec416
version.json: correct parsing for https clones
2024-07-10 16:14:54 +00:00
dumbmoron
26f265f4d5
web: add prerendered version.json endpoint for frontend metadata
2024-07-10 16:04:15 +00:00
wukko
968add2b0c
web/LanguageDropdown: yet another fix for chrome on windows
2024-07-10 21:54:04 +06:00
wukko
583b9480e8
web/SidebarTab: make the button squishy
2024-07-10 21:46:14 +06:00
wukko
7db01d4820
web/i18n/settings: improve reduce motion description
2024-07-10 20:21:41 +06:00
wukko
235abcbdc5
web/settings: clean up the mobile header
2024-07-10 20:19:46 +06:00
wukko
8f4da35b45
web/settings: improve subtext visibility
2024-07-10 20:19:05 +06:00
wukko
4546ed484d
web/i18n/settings: remove "preferred" from titles
2024-07-10 19:37:49 +06:00
wukko
26d2565ca6
web/settings: move switcher description to correct component
2024-07-10 19:35:23 +06:00
wukko
ffdcee1852
web/LanguageDropdown: fix option style in chrome on windows
2024-07-10 18:42:00 +06:00
wukko
8ab85dc442
web/settings: refresh the locale state when auto mode is toggled
2024-07-09 21:41:53 +06:00
wukko
29fa2ba4d0
web: use credentials for manifest.json
2024-07-09 21:16:40 +06:00
wukko
4e5073f087
web/i18n: add fallback locale
2024-07-09 17:40:45 +06:00
wukko
137d22c707
web/settings/appearance: rearrange sections
2024-07-08 19:47:59 +06:00
wukko
3340989749
web/settings: disable the language dropdown when auto
2024-07-08 19:46:20 +06:00
wukko
35a82fb917
web/Omnibox: handle enter key press
2024-07-08 19:29:30 +06:00
wukko
e1bf0fb6fa
web/LanguageDropdown: fix current selection string
2024-07-08 19:24:40 +06:00
wukko
4f2bf18d85
web/SidebarTab: indicate that tab is selected in aria
2024-07-08 12:58:21 +06:00
wukko
8e47983fb0
web/LanguageDropdown: fix missing text in firefox & small font size in safari
2024-07-08 12:49:27 +06:00
wukko
c3348ef71c
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
7e99b4bff9
web/SettingsToggle: change aria role to switch
2024-07-07 22:45:35 +06:00
dumbmoron
651a3add48
svelte: don't use relative paths for bundle lilnks in html
...
this prevents a blank page from showing up when a user
visits a non-existing page on a static build
2024-07-07 16:10:17 +00:00
wukko
db8d57fea0
web/settings: highlight the setting when linked to
...
- remade the way padding in settings is done to accommodate space for a highlight
- renamed nav components to indicate better what they are
2024-07-07 21:51:46 +06:00
wukko
550ce86690
web/settings: add section ids
2024-07-07 19:14:49 +06:00
wukko
a07e25500a
web/lib/api: don't follow redirects away from api
2024-07-07 18:52:06 +06:00
dumbmoron
e224cf1f33
web/chore: tabs to spaces
...
idk how this happened :-3
2024-07-04 22:27:38 +00:00
dumbmoron
a04f7a9eee
web/sidebar: simplify settings link logic
2024-07-04 22:25:47 +00:00
dumbmoron
cdc5294799
web/settings: redirect to full page if base page is opened on desktop
2024-07-04 22:25:22 +00:00
dumbmoron
6651082d58
web/settings: redirect invalid settings paths to default settings page
2024-07-04 22:18:02 +00:00
dumbmoron
1b39545007
web/build: merge i18n chunks for each language into one file
2024-07-04 22:15:28 +00:00