Files
jobtrackingapp/docs/ui-modernisation/DIALOG_TEXT_VALIDATION.md
T

2.8 KiB

Pending dialog language continuity

17 November 2026. Source b3ebf632fa4eec6c8ce4f884c2f9137689a0c56d on codex/a3-ui-10, based on df853cb3.

Confirm and Prompt accept optional { key, params } text alongside literal strings. Providers resolve metadata during rendering through the existing catalogue/interpolation; missing I18n context falls back to English. Correspondence deletion is the first opted-in caller. Literal strings, empty strings and key-looking user data remain unchanged. No dependency, schema, provider, content-language or rendering-engine change.

Preserved: pending decisions and return types, default labels, destructive warning, Escape/cancellation, focus restoration, prompt Unicode draft/selection/max length, current-job confirmation/write guards, and plain-text escaping. User-controlled interpolation remains React text. Other explicit caller strings remain snapshots until individually migrated.

Verification

  • PASSED: two original real-caller EN/NB regressions reproduced before implementation (76 unrelated cases filtered).
  • PASSED: final affected selection122 cases/eight actual suites plus48 cases/four disjoint existing caller suites =170 passing instances/12 suites. The earlier102/4 run overlaps; do not add it. Requested nonexistent test filenames were not counted as suites.
  • PASSED: project TypeScript, eight-file scoped ESLint and Git diff check.
  • Intermediate run81 passed/seven failed: new cancellation test left an unused one-shot DELETE mock and shifted later fixtures. Fixed only the test setup to enqueue that response for acceptance; final runs passed. Native failure retained.
  • Ten contract cases cover EN/NB changes, numeric zero, Unicode/markup escaping, no-context English fallback, literals/empty strings, prompt draft/focus/selection and one accept/cancel result. Two additional real Correspondence cases cover pending decision, unchanged read count and single/no DELETE.

Exact native outputs and deterministic gzip copies are under evidence/dialog-text/, with source-at-commit and evidence hashes in SOURCE_RECEIPTS.json. A delegate hit quota after writing only the contract test; root completed and reviewed implementation sequentially. No repeated quota attempt.

Boundaries and rollback

Next16.4.1 standard build remains FAILED at the earlier security qualification gate. No fresh build/browser/device/native-language, formal I18N/A3/security or release acceptance is claimed. Existing physical PDF and provider evidence was not rerun. Revert this source commit to roll back this bounded API/caller extension; no data migration exists.

Next eligible: migrate attachment rename/delete copy with real caller language-switch regressions, retaining file data and confirmation semantics. Broader attachment action lifetime remains separately unqualified.