refactor(config): one Save/Discard bar instead of per-field Save
Per-field Save buttons were an unconventional, endpoint-driven choice. Replace them with a single drafted Save/Discard bar (consistent with the Settings page): edits are buffered and applied together on Save (each via the existing per-key PATCH/DELETE), Discard reverts. Reset-to-default is a per-field affordance applied on Save too — clearing a non-secret falls back to default; a secret (which can't be cleared by emptying) gets a toggle that resets it on save. Backend unchanged.
This commit is contained in:
parent
2fc3552aa7
commit
2837574196
4 changed files with 171 additions and 81 deletions
|
|
@ -12,8 +12,12 @@
|
|||
"smtp_password": { "label": "SMTP-Passwort", "hint": "App-Passwort. Verschlüsselt gespeichert; nur schreibbar — wird nie wieder angezeigt." }
|
||||
},
|
||||
"save": "Speichern",
|
||||
"saving": "Speichern…",
|
||||
"saved": "Gespeichert",
|
||||
"saveFailed": "Speichern fehlgeschlagen",
|
||||
"unsaved": "Nicht gespeicherte Änderungen",
|
||||
"discard": "Verwerfen",
|
||||
"willReset": "wird beim Speichern auf den Standard zurückgesetzt",
|
||||
"reset": "Zurücksetzen",
|
||||
"resetHint": "Diese Überschreibung entfernen und auf den Datei-/Env-Standard zurückfallen.",
|
||||
"resetDone": "Auf Standard zurückgesetzt",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue