Commit graph

99 commits

Author SHA1 Message Date
dumbmoron
1f0958a0d1
web/settings: move to state folder 2024-07-13 13:17:03 +00:00
wukko
4232c3437b
web: dialog system & basic small dialog 2024-07-13 19:15:43 +06: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
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
49f9057b6b
web/SettingsNavSection: make section title optional 2024-07-10 23:35:40 +06: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
e52340f33a
web/settings: improve subtext visibility 2024-07-10 20:19:05 +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
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
wukko
d22230b1d5
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
430bfaca43
web/settings: add section ids 2024-07-07 19:14:49 +06:00
dumbmoron
9ae0473f80
web/sidebar: simplify settings link logic 2024-07-04 22:25:47 +00:00
wukko
8b801bad50
web/save: keyboard shortcut for muted mode 2024-07-04 00:03:46 +06:00
wukko
97d381e993
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
743338ea4c
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
wukko
374611553b
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
901f0a7480
web/settings: more accessibility improvements 2024-07-03 17:10:53 +06:00
wukko
a478993599
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
5ced7b5388
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
9939f3b172
web: i18n system & navbar translations
dynamic page language and language dropdown!! finally!!
2024-07-03 00:16:03 +06:00
wukko
567cfe05ec
web/settings: unfuck tab padding on mobile 2024-06-30 15:58:40 +06:00
wukko
3527131cd7
web/settings: calculate item padding properly 2024-06-29 23:31:40 +06:00
wukko
a1913988d7
web/settings: adjust padding for switcher & toggle 2024-06-29 23:02:10 +06:00
wukko
0c33ac3a1c
web/SettingsToggle: clean up 2024-06-29 22:53:09 +06:00
wukko
ad6539e3bd
web/settings: replace checkbox with toggle
- equal font size & padding for all subtexts in settings
- equal padding & border radius for all settings components

it just looks way better now
2024-06-29 22:51:24 +06:00
wukko
c7befcb100
web/Switcher: new style & clean up 2024-06-29 21:19:35 +06:00
wukko
d817888838
web/device: add global constant for device info 2024-06-29 20:24:14 +06:00
wukko
2a1344f93d
web: update meowbalt smile asset 2024-06-28 21:57:57 +06:00
wukko
b2652f29ac
web/Omnibox: download right after pasting 2024-06-25 22:52:17 +06:00
wukko
d008bffc08
web/DownloadButton: open share sheet on ios 2024-06-25 22:25:29 +06:00
wukko
98b0a2f10a
web/SettingsCheckbox: remove yassing 2024-06-25 21:06:07 +06:00
wukko
7b289bfb16
web: mobile improvements
- all buttons now reflect that they're pressed or hovered
- settings feel way better on mobile
- settings header has been completely remade
2024-06-25 20:59:25 +06:00