Commit Graph

81 Commits

Author SHA1 Message Date
wukko
6e21fc56eb web/SettingsDropdown: add haptics 2025-03-05 20:18:52 +06:00
wukko
0d3044c5e6 web: add haptics for all copy actions
& prevent spamming the copy action along with haptic feedback :3

should probably unify all of this cuz this is really messy
2025-03-05 18:07:46 +06:00
wukko
c45c1d13c0 web/SettingsInput: validate input properly, reduce padding 2025-02-25 13:40:04 +06:00
wukko
631f8bddd8 web/FilenamePreview: reduce border, improve padding 2025-02-25 13:38:16 +06:00
wukko
010dfff672 web/SettingsInput: add missing button classes 2025-02-24 22:37:09 +06:00
wukko
efa09d7280 web/SettingsDropdown: remove duplicated hover declaration 2025-02-24 22:29:27 +06:00
wukko
1f79bf6e52 web/settings/advanced: add cache clearing, refactor data management 2025-02-06 23:44:05 +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
wukko
6e81c55fc1 web: replace text-align: left with text-align: start
improves support for arabic and other RTL languages
2024-11-20 14:47:07 +06:00
wukko
277a6caefa web/ManageSettings: use downloadFile for exporting settings
and also use 4 spaces for formatting the json file cuz 2 spaces is foul
2024-11-18 15:44:32 +06:00
wukko
1373d16286 web/SettingsDropdown: add a separator after first item, always lowercase
also split out anything in brackets in preview
2024-10-28 23:14:19 +06:00
wukko
3a0b0fed8b web/settings: convert LanguageDropdown to universal SettingsDropdown 2024-10-28 21:42:07 +06:00
jj
be7c09bd07 web/lib: move dialogs to state folder 2024-10-20 12:51:59 +00:00
wukko
e12e079571 web/SettingsCategory: prevent pointer events when disabled 2024-10-05 21:42:02 +06:00
wukko
128a1ff696 web/ManageSettings: add wrapping (oops) 2024-09-22 15:28:03 +06:00
wukko
1a845fcfc2 web/SectionHeading: reusable component for linkable section headings 2024-09-18 15:28:09 +06:00
dumbmoron
5e7324bca9 web/SettingsCategory: add copy link to settings header 2024-09-17 14:06:56 +00:00
dumbmoron
d93e97e06b web/LanguageDropdown: unbind locale from select dropdown 2024-09-16 15:13:24 +00:00
wukko
0f51b22d99 web/SettingsCategory: rename state from animate to focus 2024-09-09 00:10:53 +06:00
wukko
5a5c9da3df web/settings/advanced: improve settings management buttons
also removed duplicate localization strings
2024-09-06 16:18:30 +06:00
wukko
7a5e60f39a web/SettingsCategory: use general beta label 2024-09-05 08:00:18 +06:00
wukko
56008676f5 web/settings: move sub navigation into its own component 2024-09-04 17:50:47 +06:00
wukko
a46972c9a5 web/SettingsCategory: add ability to mark features as beta 2024-08-31 15:32:02 +06:00
wukko
744842cc3d web/CustomInstanceInput: fix colors & overflow in firefox and safari 2024-08-30 22:01:14 +06:00
wukko
063f5d1806 web/CustomInstanceInput: proper style 2024-08-30 21:31:02 +06:00
wukko
1850264da7 web/LanguageDropdown: refactor 2024-08-30 17:17:43 +06:00
wukko
b3954b9209 web/ResetSettingsButton: move to settings subdir & reduce timeout to 2s 2024-08-30 17:17:29 +06:00
wukko
33d6b5bd81 web: base custom instance functionality
also:
- renamed processing tab in settings to "instances"
- improved override description
- prefer custom over override (and grey out the option)
- dedicated lib for all api safety warnings
- left aligned small popup with smaller icon
- ability to grey out settings category & toggle
2024-08-30 17:15:05 +06:00
wukko
cc05833c6a web/SettingsNavBar: fix text line height 2024-08-23 23:17:39 +06:00
wukko
24f2329e9d web/settings: slightly update navigation style on mobile 2024-08-23 19:44:10 +06:00
wukko
536d9c9742 web/i18n: move call to action button strings to own file 2024-08-09 14:40:30 +06:00
wukko
2c4ba96d57 web/TransferSettings: pretty formatting 2024-07-31 14:59:53 +06:00
wukko
e7587a2ec6 web/TransferSettings: friendlier error messages 2024-07-31 14:57:34 +06:00
wukko
585ebd9cb4 web/settings/advanced: hide reset settings button if there are no settings 2024-07-31 13:53:34 +06:00
dumbmoron
d1930c1dbc web/advanced: check if imported settings are valid 2024-07-30 17:15:38 +00:00
dumbmoron
a6a0e91674 web/TransferSettings: don't offer export if there is nothing to export 2024-07-30 14:08:49 +00:00
wukko
8b866ddf6f web/SettingsNavTab: reduce padding on desktop 2024-07-29 13:11:29 +06:00
wukko
f34340a06d web/TransferSettings: add a timeout to import button in dialog 2024-07-28 14:50:59 +06:00
dumbmoron
299d1867a2 web/TransferSettings: only export storedSettings instead of all settings 2024-07-28 07:46:15 +00:00
wukko
4210b17d89 web/TransferSettings: show a safety warning before importing 2024-07-28 13:20:22 +06:00
dumbmoron
f8d06cf18b web/settings: settings import/export 2024-07-23 18:17:38 +00:00
wukko
94853f0b7b web/FilenamePreview: finish the component 2024-07-23 12:34:14 +06:00
wukko
ec768ebfc2 web/settings/metadata: basic filename preview component 2024-07-21 16:34:37 +06:00
dumbmoron
8a080c55f6 web: refactor and deduplicate locale preference logic 2024-07-20 14:37:52 +00:00