Commit graph

29 commits

Author SHA1 Message Date
wukko
f530624467
web/ResetSettingsButton: update dialog text
erase -> reset
2024-07-21 16:40:39 +06:00
wukko
d7bf98a80b
web: settings reset confirmation, icons for small dialog
- cleaned up dialog i18n
- better red color
- made :active state visible for dialog buttons on mobile
- better body padding in small dialog
- better small dialog typing with optional values
2024-07-20 21:48:17 +06:00
dumbmoron
def6e26b9f
web/settings: add "erase all settings" button 2024-07-20 14:01:13 +00:00
wukko
e541bdc6d7
web/Switcher: fix ghost hover effect on active button
it used to appear very briefly when you pressed a button and didn't move the cursor off the button
2024-07-20 19:09:44 +06:00
wukko
8193e8c14d
web/buttons: add hover state to active button 2024-07-20 18:54:12 +06:00
dumbmoron
1f0958a0d1
web/settings: move to state folder 2024-07-13 13:17:03 +00:00
wukko
c013134b70
web/settings: move switcher description to correct component 2024-07-10 19:35:23 +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
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
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
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
wukko
1f88a211aa
web/SettingsCheckbox: proper checkbox style 2024-06-25 19:34:28 +06:00
wukko
042d2e9cc8
web: settings ui & const for settings type options 2024-06-24 23:05:51 +06:00
wukko
a12655a834
web/settings: navigation draft
also unified "active" class/state across all components & added more colors
2024-06-24 19:42:31 +06:00
wukko
7e39bd78d7
web/settings: fix setting value name 2024-06-20 19:19:57 +06:00
wukko
b9e7661b6d
web: basic settings page needed for testing
typescript cries about types but i don't care at this point
2024-06-20 18:05:17 +06:00
wukko
00cdb2121d
web: data-driven switcher & save mode switcher
also:
- disabled ssr to enable localstorage
- removed the workaround for hover, as it looks bad
2024-06-19 23:04:09 +06:00
wukko
ddb52cfef7
web/save: dynamic paste text & component clean up 2024-06-17 19:03:26 +06:00
wukko
1325c3516c
web: move border radius into a variable 2024-06-16 19:51:02 +06:00
wukko
3a57c7165f
web/sidebar: scroll only in one direction on overflow 2024-06-16 19:50:42 +06:00
wukko
324729eb21
web: basic switcher component & mute mode button 2024-06-16 15:30:14 +06:00
wukko
bf26988cde
web/save: add paste button & dummy mode buttons
tuned default button look, moved custom icons to lib for easy access
2024-06-15 20:39:34 +06:00