docs(i18n): bind live fallback and saved-search locale qualification
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
# Live application-owned fallback labels
|
||||
|
||||
17 November 2026. Frontend source `0bf0343c3fc033b427a5b9da5a9370cd02bc743e`; integrated source `fa5cc1abcc643f2800bf6fb3615f21fe1e983936` has byte-identical copies of all eight frontend files.
|
||||
|
||||
Dialog parameters accept strings/numbers or one explicit translation-key descriptor. Only application-owned fallback branches construct descriptors. Existing user/job/company/CV/section names remain literal, including empty strings, whitespace, key-shaped names, numeric0 and Unicode/markup-looking text. Existing interpolation and I18nProvider types are unchanged; no callbacks, recursion, reverse lookup, new locale, dependency or message engine was added. Missing I18n context resolves both outer/parameter keys through the existing English fallback.
|
||||
|
||||
The four caller families are custom-section deletion, built-in section removal, missing-company trash confirmation and missing-CV-name deletion. The existing twelve section-name mappings now have one owner reused by normal labels and confirmation metadata. Exact existing `||` versus `??` behavior is retained. One responsible-layer own-key guard prevents inherited `constructor`/`__proto__` values from masquerading as custom section objects; those legacy names render as literal unknown-section fallbacks rather than crashing. Ordinary custom data, removal/save/version/focus callbacks and renderer ownership are unchanged.
|
||||
|
||||
## Verification
|
||||
|
||||
- Initial worker selection32 fail/10 pass retained; it included stale copy, inherited-key crashes and whitespace-sensitive assertion setup. Workers then hit quota; root continued sequentially without retry.
|
||||
- Final fixtures replayed against original source `38a6a27a`:32 failures/13 passing controls/166 filtered.28 failures cover stale fallback/descriptor behavior; four cover inherited-key legacy crashes in both languages. Four fixed source files restored byte-for-byte in finally. No original literals were rewritten.
|
||||
- Final211 cases/four affected suites plus70 cases/eight disjoint shared-caller/catalogue suites PASSED:281 passing instances/12 suites. Focused45 and earlier runs overlap these counts; do not add them. Numeric/empty/literal/Unicode, English fallback, pending state, cancellation, focus and revision-safe save/selection behavior are covered.
|
||||
- Non-incremental project TypeScript, eight-file scoped lint and diff check PASSED. Integrated AST update PASSED19,315 nodes/47,445 edges, including the independently tested backend alert fix.
|
||||
- Source/native exact gzip bindings: `evidence/dialog-fallback-params/SOURCE_RECEIPTS.json`. Git byte comparison confirms frontend identity across integration.
|
||||
|
||||
The missing-CV-record fallback is source-reviewed and covered through the shared descriptor contract, not a fabricated inaccessible UI target. Tests use controlled API fixtures; no actual deletion, CV import engine, model/provider, physical PDF, native browser/device, full A3/I18N/security or release acceptance. Prior Next build remains FAILED. All24 EU official languages and broader European coverage remain required; these are compatible foundation fixes, not translated language packs.
|
||||
|
||||
Rollback: revert the entire eight-file source commit so callers and resolver stay compatible. No data/schema migration. Already-visible toast localization, unrelated mutation lifetimes and final connected/native qualification remain separate work.
|
||||
@@ -0,0 +1,125 @@
|
||||
{
|
||||
"sourceCommit": "0bf0343c3fc033b427a5b9da5a9370cd02bc743e",
|
||||
"integrationCommit": "fa5cc1abcc643f2800bf6fb3615f21fe1e983936",
|
||||
"frontendSourceEquivalentAtIntegration": true,
|
||||
"redSourceCommit": "38a6a27a919e5a612e49c3e72471028317ed0dc4",
|
||||
"redTestSourceCommit": "0bf0343c3fc033b427a5b9da5a9370cd02bc743e",
|
||||
"sourcesLfSha256": {
|
||||
"job-tracker-ui/src/dialogText.ts": "f6304f4eac69e823978ad4dac759e1057eb906fd8aa79f85abff965dd50c1b07",
|
||||
"job-tracker-ui/src/dialog-text.test.tsx": "60db06fb84238d356c6f7be657f6dcf0dc47c0b51cc5e89d001d6f9024fe44fe",
|
||||
"job-tracker-ui/src/views/CvBuilderEditor.tsx": "f80dc5ac0550c9d637415b6166defffe8f7645d94a6b1c4ccb914351d2e89d42",
|
||||
"job-tracker-ui/src/cv-builder-deep-link.test.tsx": "26642fc1a20c6b1c40879edd88d79924b18559f09cde12de459422cabb2f8069",
|
||||
"job-tracker-ui/src/components/JobTable.tsx": "88b68edbbf7647f44971dd31ff20769bd59e9905e78bb2d1547d486728cb386e",
|
||||
"job-tracker-ui/src/jobs-view-integration.test.tsx": "a3e8923271768ef97fc19d247ca163970af6bf40c7e00590d32a7e0312692092",
|
||||
"job-tracker-ui/src/views/CvBuilderPage.tsx": "9575cd9a8e1379a9cec3ca3d96b93dea0a092f4429a13ad42eda67befca4e948",
|
||||
"job-tracker-ui/src/cv-builder-page.test.tsx": "aa3bdd672cb8b9236c2b0906239896e7931c8df94ffb5debc62b6343d1e4a130"
|
||||
},
|
||||
"evidenceLfSha256": {
|
||||
"red.json": "8e388ff590bd8ad0451d879dcf0d4f112beaee903373854a65ea13cedda44446",
|
||||
"red.txt": "f9e2ae75d067006ed60a85989672cb5efac2aabce16fe9f0c95cb9a771e4569e",
|
||||
"red-final-fixtures.json": "3f8f8a94b934af64bab1d6434d1f793723db95573eaa3cadccf97cdd63daf616",
|
||||
"red-final-fixtures.txt": "04fa4b017de3b97a652e11f61424dac02614b5ee5f82c35a43085461fe90219e",
|
||||
"green-focused.json": "713448cb780c47fa4d3256312e169bd036769cf573ccd6db07f525f047128868",
|
||||
"green-focused.txt": "242f66d31f9b82acd0ac2c2a257dbcb99f88d362c62db0b4cc0e11fdc77720bd",
|
||||
"green-full.json": "27b6d20c884411ed102c4368f58805a239c3a29b216ca85eb90d851727652341",
|
||||
"green-full.txt": "d0d3955315f682545203a91f21d5d2742f737e7a0542524478ed9d6a12749c2f",
|
||||
"shared-callers.json": "014a06fd4c3437496dbf9a25f2cfd0717892d21658f8dcb89dd27fe3e6b3d2c3",
|
||||
"shared-callers.txt": "fc7571874410ae2b96089c013436c3b1d5015b0a1b319d54a3f370bb6addb7cf",
|
||||
"typecheck.txt": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
||||
"lint.txt": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
||||
"graph-integrated.txt": "2e5294b89f21a0c08ca59e65f999454307723cd47eada16bebb9505e678a63fe"
|
||||
},
|
||||
"nativeReceipts": [
|
||||
{
|
||||
"path": "red.json",
|
||||
"originFile": "E:\\Storage\\Projects\\Active\\temp docs\\jobjakt-local-build\\dialog-fallback-params\\red.json",
|
||||
"gzipPath": "red.json.gz",
|
||||
"rawSha256": "8e388ff590bd8ad0451d879dcf0d4f112beaee903373854a65ea13cedda44446",
|
||||
"gzipSha256": "41a85e651e385986b4e4858d493359c35070bae9d1e832313110773e7e5c6e96"
|
||||
},
|
||||
{
|
||||
"path": "red.txt",
|
||||
"originFile": "E:\\Storage\\Projects\\Active\\temp docs\\jobjakt-local-build\\dialog-fallback-params\\red.log",
|
||||
"gzipPath": "red.txt.gz",
|
||||
"rawSha256": "f9e2ae75d067006ed60a85989672cb5efac2aabce16fe9f0c95cb9a771e4569e",
|
||||
"gzipSha256": "a88dfa5e37d383820962ee8b5a1a50c957fb8c9d0ddc129103b79ad3f566226e"
|
||||
},
|
||||
{
|
||||
"path": "red-final-fixtures.json",
|
||||
"originFile": "E:\\Storage\\Projects\\Active\\temp docs\\jobjakt-local-build\\dialog-fallback-params\\red-final-fixtures.json",
|
||||
"gzipPath": "red-final-fixtures.json.gz",
|
||||
"rawSha256": "3f8f8a94b934af64bab1d6434d1f793723db95573eaa3cadccf97cdd63daf616",
|
||||
"gzipSha256": "02fcc6ca0a46c460f8fc692324f06c5f0cdb941903128e1ab51f77c92a1c77c7"
|
||||
},
|
||||
{
|
||||
"path": "red-final-fixtures.txt",
|
||||
"originFile": "E:\\Storage\\Projects\\Active\\temp docs\\jobjakt-local-build\\dialog-fallback-params\\red-final-fixtures.txt",
|
||||
"gzipPath": "red-final-fixtures.txt.gz",
|
||||
"rawSha256": "04fa4b017de3b97a652e11f61424dac02614b5ee5f82c35a43085461fe90219e",
|
||||
"gzipSha256": "9f18b68ab70274e1dd54b0ee75dedfbedaf8aa0acde584265925ad64823d0308"
|
||||
},
|
||||
{
|
||||
"path": "green-focused.json",
|
||||
"originFile": "E:\\Storage\\Projects\\Active\\temp docs\\jobjakt-local-build\\dialog-fallback-params\\green-focused.json",
|
||||
"gzipPath": "green-focused.json.gz",
|
||||
"rawSha256": "713448cb780c47fa4d3256312e169bd036769cf573ccd6db07f525f047128868",
|
||||
"gzipSha256": "5caa0520325717c083dbbae007c8e4e8b7cfe48d3158a62cefbd3a446fbe0ae4"
|
||||
},
|
||||
{
|
||||
"path": "green-focused.txt",
|
||||
"originFile": "E:\\Storage\\Projects\\Active\\temp docs\\jobjakt-local-build\\dialog-fallback-params\\green-focused.txt",
|
||||
"gzipPath": "green-focused.txt.gz",
|
||||
"rawSha256": "4eb34b8bcbae6c3ad070225d7fde37ba56785d33c061c2195ad36048d2652c74",
|
||||
"gzipSha256": "62ef0568b8d27e75866e7fb951e40db294e2bc41398dca0c1d117394b8a681ab"
|
||||
},
|
||||
{
|
||||
"path": "green-full.json",
|
||||
"originFile": "E:\\Storage\\Projects\\Active\\temp docs\\jobjakt-local-build\\dialog-fallback-params\\green-full.json",
|
||||
"gzipPath": "green-full.json.gz",
|
||||
"rawSha256": "27b6d20c884411ed102c4368f58805a239c3a29b216ca85eb90d851727652341",
|
||||
"gzipSha256": "3b9dfcc0f0550f185cd9819ffa631e4605bc83363fc5d0a7d49419230cf39d94"
|
||||
},
|
||||
{
|
||||
"path": "green-full.txt",
|
||||
"originFile": "E:\\Storage\\Projects\\Active\\temp docs\\jobjakt-local-build\\dialog-fallback-params\\green-full.txt",
|
||||
"gzipPath": "green-full.txt.gz",
|
||||
"rawSha256": "b36f409a58c3e7d538bcaded0b9caf383073923d9e93f2f74a710d88ae76c56d",
|
||||
"gzipSha256": "9d3d4ec8cde2e4313aa81be65bb78375ac416cc945f55548dbe3022761d849b6"
|
||||
},
|
||||
{
|
||||
"path": "shared-callers.json",
|
||||
"originFile": "E:\\Storage\\Projects\\Active\\temp docs\\jobjakt-local-build\\dialog-fallback-params\\shared-callers.json",
|
||||
"gzipPath": "shared-callers.json.gz",
|
||||
"rawSha256": "014a06fd4c3437496dbf9a25f2cfd0717892d21658f8dcb89dd27fe3e6b3d2c3",
|
||||
"gzipSha256": "3f71f65c373cfc23f1c5159cec8ed15c8f99033ec98f0aa9034234f2fa6a5488"
|
||||
},
|
||||
{
|
||||
"path": "shared-callers.txt",
|
||||
"originFile": "E:\\Storage\\Projects\\Active\\temp docs\\jobjakt-local-build\\dialog-fallback-params\\shared-callers.txt",
|
||||
"gzipPath": "shared-callers.txt.gz",
|
||||
"rawSha256": "6a78dc1aa6df4f0f34d2ef2b8238a0571ab844c70fbeca48e8d4c502dfbeb788",
|
||||
"gzipSha256": "198731f6ed4eeab0a4cc37a39e3c8cc75d00fe88c59987a2277fdea962b0e4fc"
|
||||
},
|
||||
{
|
||||
"path": "typecheck.txt",
|
||||
"originFile": "E:\\Storage\\Projects\\Active\\temp docs\\jobjakt-local-build\\dialog-fallback-params\\typecheck.txt",
|
||||
"gzipPath": "typecheck.txt.gz",
|
||||
"rawSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
||||
"gzipSha256": "46b50c321b39e89a491b6727a01628c34245605a30beb3e7414c5e01cff90e6e"
|
||||
},
|
||||
{
|
||||
"path": "lint.txt",
|
||||
"originFile": "E:\\Storage\\Projects\\Active\\temp docs\\jobjakt-local-build\\dialog-fallback-params\\lint.txt",
|
||||
"gzipPath": "lint.txt.gz",
|
||||
"rawSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
||||
"gzipSha256": "46b50c321b39e89a491b6727a01628c34245605a30beb3e7414c5e01cff90e6e"
|
||||
},
|
||||
{
|
||||
"path": "graph-integrated.txt",
|
||||
"originFile": "E:\\Storage\\Projects\\Active\\temp docs\\jobjakt-local-build\\dialog-fallback-params\\graph-integrated.txt",
|
||||
"gzipPath": "graph-integrated.txt.gz",
|
||||
"rawSha256": "c691eb057a1e468f0d280de9d9c14376b8095e019b3d5b24960501f3eccf1c8a",
|
||||
"gzipSha256": "3828808afe75f4185b67ac6f7759305c9a8488f153206885a472467a11daa123"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
Re-extracting code files in . (no LLM needed)...
|
||||
[graphify watch] 698 file(s) not classified (no supported extension or shebang), skipped: .dockerignore, .env.example, .git, .gitattributes, .gitignore, 1440-en-dark-converted.gz (+692 more)
|
||||
AST cache: 2604/3055 files served from cache (85%); 451 to extract
|
||||
AST extraction: 100/451 uncached files (22%) [16 workers]
|
||||
AST extraction: 200/451 uncached files (44%) [16 workers]
|
||||
AST extraction: 300/451 uncached files (66%) [16 workers]
|
||||
AST extraction: 400/451 uncached files (88%) [16 workers]
|
||||
AST extraction: 451/451 uncached files (100%) [16 workers]
|
||||
warning: 8 .sql file(s) contributed nothing to the graph because a dependency is missing: tree_sitter_sql not installed. Install it with: pip install "graphifyy[sql]" (#1745)
|
||||
warning: 144 code file(s) yielded no symbols (0.14 MB) — a data file, or source this extractor models no symbols for: JobTrackerApi.Tests/PdfBrowserStub/Program.cs, JobTrackerApi/Program.cs, JobTrackerApi/Properties/AssemblyInfo.cs, browser-extension/tests/capture-url.test.mjs, docs/audits/2026-09-07/validation/evidence/b05-excel-probe.ps1 (+139 more)
|
||||
[graphify watch] community set changed since labeling (0 saved labels, 1195 communities now; renamed 119 community(ies) by their hub). Run `graphify label` to refresh names with the LLM.
|
||||
Graph has 19315 nodes (above 5000 limit). Building aggregated community view...
|
||||
graph.html written (aggregated: 1195 community nodes, 3197 cross-community edges)
|
||||
Tip: run with --obsidian for full node-level detail.
|
||||
[graphify watch] Rebuilt: 19315 nodes, 47445 edges, 1195 communities
|
||||
[graphify watch] graph.json, graph.html and GRAPH_REPORT.md updated in graphify-out
|
||||
Code graph updated. For doc/paper/image changes run /graphify --update in your AI assistant.
|
||||
Tip: set GEMINI_API_KEY or GOOGLE_API_KEY to use Gemini for semantic extraction.
|
||||
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
@@ -0,0 +1,7 @@
|
||||
|
||||
Test Suites: 4 passed, 4 total
|
||||
Tests: 166 skipped, 45 passed, 211 total
|
||||
Snapshots: 0 total
|
||||
Time: 40.15 s
|
||||
Ran all test suites matching src/dialog-text.test.tsx|src/cv-builder-deep-link.test.tsx|src/jobs-view-integration.test.tsx|src/cv-builder-page.test.tsx with tests matching "fallback|literal name|company parameter".
|
||||
Test results written to: E:\Storage\Projects\Active\temp docs\jobjakt-local-build\dialog-fallback-params\green-focused.json
|
||||
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
@@ -0,0 +1,7 @@
|
||||
|
||||
Test Suites: 4 passed, 4 total
|
||||
Tests: 211 passed, 211 total
|
||||
Snapshots: 0 total
|
||||
Time: 144.252 s
|
||||
Ran all test suites matching src/dialog-text.test.tsx|src/cv-builder-deep-link.test.tsx|src/jobs-view-integration.test.tsx|src/cv-builder-page.test.tsx.
|
||||
Test results written to: E:\Storage\Projects\Active\temp docs\jobjakt-local-build\dialog-fallback-params\green-full.json
|
||||
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
@@ -0,0 +1,7 @@
|
||||
|
||||
Test Suites: 8 passed, 8 total
|
||||
Tests: 70 passed, 70 total
|
||||
Snapshots: 0 total
|
||||
Time: 31.866 s
|
||||
Ran all test suites matching src/admin-users-page.test.tsx|src/attachments.test.tsx|src/confirm.test.tsx|src/prompt.test.tsx|src/modal-state.test.tsx|src/dialog-flow.test.tsx|src/confirm-flow.test.tsx|src/translation-catalogue.test.ts.
|
||||
Test results written to: E:\Storage\Projects\Active\temp docs\jobjakt-local-build\dialog-fallback-params\shared-callers.json
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user