1df2e31dea
fix(admin): isolate CodeMirror load for chunk-failure tests
...
- Route CodeEditorField through codeeditor/load so vitest can mock the chunk
- Keep registry expectations for colorpicker/codeeditor without importing the editor SFC
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-13 13:57:16 +01:00
e81cfde7b2
fix(admin): restore suite after colorpicker and codeeditor registration
...
- Expect colorpicker/codeeditor as registered controls; use notatype for unsupported cases
- Seed DatePicker placeholder from the model value so the calendar opens on that month
- Make CodeEditor chunk-failure mock reject the dynamic import
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-13 13:53:44 +01:00
aba512800e
test(35-03): add failing test for customized and outdated row badges
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-13 13:35:48 +01:00
68e1d36fd5
feat(admin): colour picker, mail image field and the image picker with insert
...
- insertImage escapes markdown/html/css/text snippets per UI-SPEC C4
- MailImagePicker with canUpload-gated upload, radiogroup tiles, insert/choose modes
- ColorPickerField, MailImageField, markdown/codeeditor Insert image wiring
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-13 13:34:54 +01:00
3e29e6042e
test(35-03): add failing tests for insertImage and colorpicker
...
- insertImage C4 table expects escaped markdown/html/css/text snippets
- ColorPickerField sync cases; stubs return empty until GREEN
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-13 13:29:09 +01:00
7e2c01172f
test(35-03): add failing tests for codeeditor field
...
- Browser smoke: Tab leaves, Mod+S/Mod+Enter save, Esc does not cancel
- Happy-dom: loading box, read-only pre, chunk-failure textarea fallback
- Stub field/editor so imports resolve; assertions fail until GREEN
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-13 13:24:19 +01:00
52204e171d
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 >
2026-11-13 13:14:22 +01:00