Commit graph

132 commits

Author SHA1 Message Date
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 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 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
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 69eaea560e
web/i18n: dynamically determine languages from i18n folder contents 2024-07-03 19:50:33 +00:00
wukko d6384177fa
web: remove legacy global navigation shortcuts 2024-07-04 00:12:30 +06:00
wukko 1e3e2bb365
web/save: keyboard shortcut for muted mode 2024-07-04 00:03:46 +06:00
wukko 1371615b96
web: move all strings to i18n & improve a11y
- omnibox is now fully usable with a screen reader
- back button is now interpreted as such
- subtext now accepts line breaks
2024-07-03 23:54:44 +06:00
dumbmoron 19ad343c3e
web: handle global keyboard shortcuts 2024-07-03 17:51:01 +00:00
dumbmoron 3198ea2341
web/omnibox: add keyboard shortcuts support
- shift+d to paste
    - ⌘/ctrl+v to paste
    - shift+k for auto mode
    - shift+l for audio mode
    - esc to clear input

todo:
    - shortcut for "muted" mode
2024-07-03 17:42:34 +00:00
dumbmoron 9a89bca762
web: fix sveltekit warning about body directly in <body> 2024-07-03 17:06:27 +00:00
wukko d24224dade
web: add notch easter egg & optimize for landscape
it took way too much time to optimize the damn logo sticker under notch for all devices & zoom states

also improved device lib api
2024-07-03 19:05:14 +06:00
wukko bc795a75ad
web/settings: more accessibility improvements 2024-07-03 17:10:53 +06:00
wukko 5291edcacc
web: improve screen reader usability
- switchers now have audible states
- toggles are now interpreted as toggles
- fixed weird spacing introduced in last commit
2024-07-03 14:09:09 +06:00
wukko 26b1b7add5
web/save: move strings to i18n & translate to ru
also fixed line break in switcher for future lengthier translations (german, for example)
2024-07-03 13:52:27 +06:00
wukko 70c6f15a61
web: i18n system & navbar translations
dynamic page language and language dropdown!! finally!!
2024-07-03 00:16:03 +06:00
wukko 3cfe0febe1
web/layout: update input border color for light theme 2024-07-02 19:25:37 +06:00
wukko 5a2c1bb829
web/settings: unfuck tab padding on mobile 2024-06-30 15:58:40 +06:00
wukko 4f9e1551f5
web/layout: move main bg coloring to #cobalt 2024-06-29 23:46:28 +06:00
wukko 9939c024b2
web/settings: calculate item padding properly 2024-06-29 23:31:40 +06:00
wukko 3195153cf5
web/settings: adjust padding for switcher & toggle 2024-06-29 23:02:10 +06:00