feat(07-06): settings-api client + SmtpSettingsForm + SMTP page (DKV-05)
Tessera CI/CD / Build & Deploy (push) Blocked by required conditions
Tessera CI/CD / Lint & Type Check (push) Successful in 41s
Tessera CI/CD / Tests (push) Waiting to run

- settings-api.ts: fetchSmtp/saveSmtp/testSmtp with credentials:'include'; SmtpConfig exposes only hasPassword (T-07-17)
- smtp-settings-form.tsx: Surface C form with show/hide password toggle, test-feedback auto-clears 6s
- settings/general/smtp/page.tsx: SmtpSettingsPage heading + SmtpSettingsForm
- de.json + en.json: add smtp.showPassword/hidePassword/testTesting/testSuccess/testFailed keys
- TDD GREEN: 5/5 tests pass; aria-hidden* on required markers removed for correct getByLabelText matching
This commit is contained in:
2026-06-27 17:03:57 +02:00
parent a96d79ad52
commit fd2dda69cb
5 changed files with 464 additions and 2 deletions
+6 -1
View File
@@ -130,7 +130,12 @@
"fromAddress": "Absenderadresse (Von)",
"fromAddressHelp": "Die E-Mail-Adresse, die als Absender angezeigt wird.",
"save": "Einstellungen speichern",
"test": "Verbindung testen"
"test": "Verbindung testen",
"showPassword": "Passwort anzeigen",
"hidePassword": "Passwort verbergen",
"testTesting": "Verbindung wird getestet...",
"testSuccess": "Verbindung erfolgreich",
"testFailed": "Verbindung fehlgeschlagen"
}
},
"widgets": {
+6 -1
View File
@@ -130,7 +130,12 @@
"fromAddress": "Sender Address (From)",
"fromAddressHelp": "The email address shown as the sender.",
"save": "Save Settings",
"test": "Test Connection"
"test": "Test Connection",
"showPassword": "Show password",
"hidePassword": "Hide password",
"testTesting": "Testing connection...",
"testSuccess": "Connection successful",
"testFailed": "Connection failed"
}
},
"widgets": {