3.3 KiB
Rendered date widgets and UI language
11 November 2026. Baseline d027754d15fadd945e0d9d38e6ca85b50d8dc885; application source beb5564223f23e900477955dce244fda72f386c9, expanded calendar verifier 285d3c88c771054b0ac0b3c95f041339c6cc6ed5 on codex/a3-ui-10.
The rendered Bokmål Edit dialog exposed English date sections and calendar controls through the default LocalizationProvider. DateLocalizationProvider now consumes the live inner application I18nProvider and selects installed date-fns English/Bokmål formatting and MUI picker translations. ClientApp retains its existing outer language/error boundary. Router and form identity survive language changes. Generated-content language stays with the document features.
The two new component cases failed before the locale binding and passed afterward. The final affected run passed 25 tests in six suites, including real MUI sections, live language changes, existing date/payload/revision checks, navigation, theme and locale-fetch stability. Full lint, final scoped lint and export/build with TypeScript passed. The first build exposed unsupported Testing Library matcher options in the new test; those options were removed before the successful build.
Actual widget verification
scripts/verify-job-date-widgets.mjs exercised the exported React application with real MUI widgets. Six finite configurations pair English/light/1440 px mouse interaction and Bokmål/dark/390 px touch interaction in each of Los Angeles, Oslo and Kiritimati. They cover all seven Add/Edit controls, live EN↔NB changes with the unsaved title/date retained, stable detail-read count, local today at a fixed UTC boundary, exact version7 Edit payload and exact calendar-day create payload. The desktop calendar closes on selection; the touch calendar uses its explicit OK action.
All six journeys and 18 axe scans/captures passed, with zero page errors or unavailable reads. Captures include the open calendar as well as Add/Edit forms. Twelve intercepted fixture writes were verified. External Google Fonts requests were blocked. These are the defined six configurations, with widths/themes/input modes paired by language. Native devices and a full combinatorial matrix remain separate. The two-case pilot and earlier 12-capture run overlap the final six-case run. Its earlier failures were stale locale-dependent dialog selectors, corrected by binding each dialog to its stable title ID. Failed logs/JSON remain with final evidence. The dark touch calendar and light desktop popup were visually inspected.
Calendar selections and save/create requests used synthetic teacher/school data and intercepted API responses. This verifies the widget-to-payload boundary. Earlier native API/SQLite evidence retains its own source identity and scope. No provider or model was used.
Remaining localisation work
Legacy timestamp-loading/display precision remains tracked in DATE_PICKER_CALENDAR_DAY.md. Other MUI controls still expose English internal labels, including the company Autocomplete's Clear/Open controls in the Bokmål probe. Those need their shared localisation owner and regression evidence. Broader European locale, native-language, device, integrated security and release acceptance remain open.
Rollback restores the prior provider placement and its default English picker configuration, with affected locale/widget verification required before publication.