feat(admin): mail preview field with sandboxed HTML and test send

- Add MailPreviewField (POST /mail/preview + /mail/test-send, empty sandbox iframe)
- Register mailpreview as valueless/group-labelled; SettingsFormView FORM_VALUES/FORM_LOCALE
- Smoke tests for srcdoc, sequence guard, 422 keep-last, and 429 Retry-After

Plan 35-03, task 1

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-11-13 13:14:22 +01:00
parent 9ea3159ba2
commit 52204e171d
9 changed files with 603 additions and 8 deletions

View File

@@ -108,6 +108,12 @@
},
"rowStateDisabled": {
"other": "Inactive"
},
"rowStateCustomized": {
"other": "Customized"
},
"rowStateOutdated": {
"other": "Outdated"
}
},
"meta": {

View File

@@ -37,7 +37,9 @@
"selected": { "other": ":count selected" },
"rowStateDeleted": { "other": "Deleted" },
"rowStateNegative": { "other": "Blocked" },
"rowStateDisabled": { "other": "Not active" }
"rowStateDisabled": { "other": "Not active" },
"rowStateCustomized": { "other": "Customized" },
"rowStateOutdated": { "other": "Outdated" }
},
"meta": { "locale": "en" }
},

View File

@@ -39,7 +39,9 @@
"selected": { "other": "Selected :count" },
"rowStateDeleted": { "other": "Deleted" },
"rowStateNegative": { "other": "Blocked" },
"rowStateDisabled": { "other": "Inactive" }
"rowStateDisabled": { "other": "Inactive" },
"rowStateCustomized": { "other": "Customized" },
"rowStateOutdated": { "other": "Outdated" }
},
"meta": { "locale": "en" }
},