Commit Graph

9 Commits

Author SHA1 Message Date
wukko
c45c1d13c0 web/SettingsInput: validate input properly, reduce padding 2025-02-25 13:40:04 +06:00
wukko
010dfff672 web/SettingsInput: add missing button classes 2025-02-24 22:37:09 +06:00
wukko
c8ea19a69c web/SettingsInput: fix z-index of input inner buttons 2025-02-05 19:09:37 +06:00
wukko
4f50b44e68 web/SettingsInput: make the clear button non-destructive
clear button now clears data only in the input box, not actual data

if you accidentally clear old data and don't save it, you can restore it with one click :3
2025-02-05 19:01:30 +06:00
wukko
c5d8d33870 web/SettingsInput: hide sensitive input & allow to show it with a button
also fixed padding & svg rendering in safari
2025-02-05 18:30:00 +06:00
wukko
62dccf7b51 web/SettingsInput: hide sensitive info (such as api key) 2025-02-05 17:07:29 +06:00
wukko
0b6270e745 web/SettingsInput: better screen reader accessibility
aria-label is now read instead of placeholders, cuz lengthy ones like uuid are a sensory overload and could confuse people. instead, now we make a fake ui placeholder (because there's no other way to have exclusively aria-label while also showing placeholder normally)
2024-11-24 00:12:35 +06:00
wukko
a9831a40a3 web/SettingsInput: fix uuid support & refactor 2024-11-23 23:21:54 +06:00
wukko
7c7cefe89b web/settings: add a reusable SettingsInput component 2024-11-23 19:11:19 +06:00