Files
jobtrackingapp/docs/ui-modernisation/visual-correction/CV_COUNTS_REVIEW.md
T

2.5 KiB

CV section and page count localisation

4 November 2026. Source 122956b6a38f4dc06b461383f31fdaa2658a6fdb, after local CV-journey receipt7e2bf201 (publication was blocked by HTTP502 at that checkpoint). V23 was reproduced in the actual Bokmål/dark editor and confirmed at the section/page caption callers.

Add paired singular section-entry and page-count keys, selected only for1 with literal translator calls. Keep existing0/2+ text and English page wording. The section-count formula is unchanged for custom, structured entries and inherited/editable items. Do not change pagination, measured HTML, preview readiness, settings, inheritance, undo/save/history, source content or UI/output-language ownership. No new dynamic translation call, dependency or data migration.

RED:6 failed/10 passed new cases,62 older cases filtered. The initial native frame setup fired load before debounced preview HTML was ready; its failure is retained. Corrected tests wait for HTML and explicitly simulate ready/page metadata; this tests captions, not physical page measurement. Typecheck/build caught an unsupported test selector option; removed it and retained failed receipts. Final81-case run below was executed after that correction and supersedes earlier runs, without additive counting.

PASSED:81 native cases/two suites (78 CV deep-link/edit/revision/AI-contract cases including16 new count cases, three catalogue cases), types, full lint, scoped harness/test lint and static export build. New cases cover Profile/custom0/1/2 entries and1/2-page captions in EN/NB, live locale switches and no settings writes. Existing native AI tests use mocks; no live model runs.

PASSED:36 configurations/72 actual section/page-caption scans and captures across all nine widths, languages and themes. Zero mutations, unexpected writes, page exceptions or axe violations. The count scope leaves creation, save, import and export NOT RUN; the preceding8/40 connected client journey stays source-bound to9bfc/7e2 and is not repeated for text. Browser preview uses36 synthetic HTML responses;36 company reads are unavailable fixtures. Template-preview service is not exercised by this scope. No new physical PDF, canonical backend rendering or semantic-quality acceptance.

Rollback reverts paired catalogue entries/count selections and related tests; no data rollback. Full A3/Phase10/European/native/owner/integrated security/recovery/release acceptance remain OPEN. Next independent work: application status→follow-up scheduling and remaining permission/error/recovery route states.