From 07fbd5f72c3605d6b2b5b31332ba5786f9446309 Mon Sep 17 00:00:00 2001 From: cesnimda Date: Tue, 17 Nov 2026 08:12:49 +0100 Subject: [PATCH] docs(i18n): bind trash undo localisation evidence --- .../JOBS_UNDO_LOCALISATION.md | 11 ++ .../evidence/jobs-undo/SOURCE_RECEIPTS.json | 75 +++++++++ .../evidence/jobs-undo/catalogue.json | 1 + .../evidence/jobs-undo/catalogue.json.gz | Bin 0 -> 638 bytes .../evidence/jobs-undo/catalogue.txt | 6 + .../evidence/jobs-undo/catalogue.txt.gz | Bin 0 -> 205 bytes .../evidence/jobs-undo/graph.txt | 18 +++ .../evidence/jobs-undo/graph.txt.gz | Bin 0 -> 984 bytes .../evidence/jobs-undo/green.json | 1 + .../evidence/jobs-undo/green.json.gz | Bin 0 -> 3375 bytes .../evidence/jobs-undo/green.txt | 7 + .../evidence/jobs-undo/green.txt.gz | Bin 0 -> 258 bytes .../evidence/jobs-undo/lint.txt | 0 .../evidence/jobs-undo/lint.txt.gz | Bin 0 -> 20 bytes .../evidence/jobs-undo/red.json | 1 + .../evidence/jobs-undo/red.json.gz | Bin 0 -> 3418 bytes .../evidence/jobs-undo/red.txt | 151 ++++++++++++++++++ .../evidence/jobs-undo/red.txt.gz | Bin 0 -> 1889 bytes .../evidence/jobs-undo/typecheck.txt | 0 .../evidence/jobs-undo/typecheck.txt.gz | Bin 0 -> 20 bytes 20 files changed, 271 insertions(+) create mode 100644 docs/ui-modernisation/JOBS_UNDO_LOCALISATION.md create mode 100644 docs/ui-modernisation/evidence/jobs-undo/SOURCE_RECEIPTS.json create mode 100644 docs/ui-modernisation/evidence/jobs-undo/catalogue.json create mode 100644 docs/ui-modernisation/evidence/jobs-undo/catalogue.json.gz create mode 100644 docs/ui-modernisation/evidence/jobs-undo/catalogue.txt create mode 100644 docs/ui-modernisation/evidence/jobs-undo/catalogue.txt.gz create mode 100644 docs/ui-modernisation/evidence/jobs-undo/graph.txt create mode 100644 docs/ui-modernisation/evidence/jobs-undo/graph.txt.gz create mode 100644 docs/ui-modernisation/evidence/jobs-undo/green.json create mode 100644 docs/ui-modernisation/evidence/jobs-undo/green.json.gz create mode 100644 docs/ui-modernisation/evidence/jobs-undo/green.txt create mode 100644 docs/ui-modernisation/evidence/jobs-undo/green.txt.gz create mode 100644 docs/ui-modernisation/evidence/jobs-undo/lint.txt create mode 100644 docs/ui-modernisation/evidence/jobs-undo/lint.txt.gz create mode 100644 docs/ui-modernisation/evidence/jobs-undo/red.json create mode 100644 docs/ui-modernisation/evidence/jobs-undo/red.json.gz create mode 100644 docs/ui-modernisation/evidence/jobs-undo/red.txt create mode 100644 docs/ui-modernisation/evidence/jobs-undo/red.txt.gz create mode 100644 docs/ui-modernisation/evidence/jobs-undo/typecheck.txt create mode 100644 docs/ui-modernisation/evidence/jobs-undo/typecheck.txt.gz diff --git a/docs/ui-modernisation/JOBS_UNDO_LOCALISATION.md b/docs/ui-modernisation/JOBS_UNDO_LOCALISATION.md new file mode 100644 index 00000000..29a7cc0e --- /dev/null +++ b/docs/ui-modernisation/JOBS_UNDO_LOCALISATION.md @@ -0,0 +1,11 @@ +# Application trash Undo localisation + +17 November 2026. Source `2e0862aeda17f210ec92f704cf0317f46be5f6ad` on `codex/a3-ui-10`, based on local dialog evidence `f40f3142`. + +Replace the hard-coded Undo toast action with context-specific `jobTableUndo`: English Undo and Bokmål Angre. The original English action passed; Norwegian failed. Final69 affected cases/four suites plus three disjoint catalogue checks PASSED (72 instances/five suites). Tests confirm the same job is deleted/restored through existing endpoints. API is mocked; no actual job deletion or restoration. + +Non-incremental project TypeScript, three-file scoped ESLint, diff check and AST update PASSED (19,300 nodes/47,424 edges). Catalogue checks cover EN/NB key parity, substitution variables and non-empty messages. Source/native/gzip bindings: `evidence/jobs-undo/SOURCE_RECEIPTS.json`. + +This changes only the action label and adds EN/NB catalogue entries; existing feedback, undo callback, restore payload, current selection and source ownership are preserved. Pending mutation locale/lifetime and already-visible toast translation remain separate work. No renderer, dependency, schema, new locale or provider change. Full I18N/A3/security/release and prior failed Next build remain open. Rollback: revert this source commit, no data migration. + +Publication remains pending: after the intervening validated packages, one bounded read-only availability check again returnedHTTP502. No further push was attempted, no remote verification claimed, no Git infrastructure or hooks changed. Last independently verified remote A3 is `13769a19`. diff --git a/docs/ui-modernisation/evidence/jobs-undo/SOURCE_RECEIPTS.json b/docs/ui-modernisation/evidence/jobs-undo/SOURCE_RECEIPTS.json new file mode 100644 index 00000000..745e7637 --- /dev/null +++ b/docs/ui-modernisation/evidence/jobs-undo/SOURCE_RECEIPTS.json @@ -0,0 +1,75 @@ +{ + "sourceCommit": "2e0862aeda17f210ec92f704cf0317f46be5f6ad", + "sourcesLfSha256": { + "job-tracker-ui/src/components/JobTable.tsx": "a807e46dcc4f92ce8e9c0c99374349c419bfb1161a044619c6bde23bb1480d15", + "job-tracker-ui/src/i18n/translations.ts": "4223ddbe18cf584281af35e65601d65712899a1f485fdab3c617c3ca9b6d7c5a", + "job-tracker-ui/src/jobs-view-integration.test.tsx": "d8ae9bb50468c264893bf8271f6bae1b59efa6dde2cebce6bc4e12bec6ff1946" + }, + "evidenceLfSha256": { + "red.json": "4c0583e08d31b2f8d1adb95226eb012282e57a7d88b389216cb88af31ef65619", + "red.txt": "0be1e957fa757672ed97a60d04e426791ac4a1cd60444ce322df18a301c8f69a", + "green.json": "85edc7dfd1232a28366eda2daa05cc9bc444f0190b01ef5de32255acf16ea4c6", + "green.txt": "147d430f41e6c104ae6cee34f16c3dfba4f7094db9ea793db1c3a4f0aa09b6b2", + "catalogue.json": "67f3d415dfbb05d42baa44fb6d959414707c0764dc4157349b222095aefbd30d", + "catalogue.txt": "acaca6f116550bf93a1a0c71920f2430bf2c5f7e4a90c56f9d092299c5915d60", + "typecheck.txt": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "lint.txt": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "graph.txt": "92f2d2dac6f153cf2f3a0266b3fb1d2865d7be34ed7d0e10b6d59b6eec14b248" + }, + "nativeReceipts": [ + { + "path": "red.json", + "gzipPath": "red.json.gz", + "rawSha256": "4c0583e08d31b2f8d1adb95226eb012282e57a7d88b389216cb88af31ef65619", + "gzipSha256": "6d0c8a4dfd43391b9662d188333ae3e5b278d30bf391a7d9d98ce8216e3e67b9" + }, + { + "path": "red.txt", + "gzipPath": "red.txt.gz", + "rawSha256": "57a8480702cbb27fa5b7231d1599536f886df601632fe6f724c799433ab143ec", + "gzipSha256": "b6889362e8410acff92b312a57c6355f20ceab69fd79725570a7f131447b8d12" + }, + { + "path": "green.json", + "gzipPath": "green.json.gz", + "rawSha256": "85edc7dfd1232a28366eda2daa05cc9bc444f0190b01ef5de32255acf16ea4c6", + "gzipSha256": "622e56a60f1b58532d7644fa7c0cb8b77fd731a2a643835d12e82aa3ece86f7c" + }, + { + "path": "green.txt", + "gzipPath": "green.txt.gz", + "rawSha256": "336e56cee146511e81fbf5cc9b0d0dff4a5300d577cc2b9062e3271ccb738160", + "gzipSha256": "f9f4b354224f129f4a8cd5d85f6008324bfef4c26ae4444fc6bc6c3563292531" + }, + { + "path": "catalogue.json", + "gzipPath": "catalogue.json.gz", + "rawSha256": "67f3d415dfbb05d42baa44fb6d959414707c0764dc4157349b222095aefbd30d", + "gzipSha256": "3d9788e8edfef7732941acdb1e624a0426e9c2f111c50c33c6eb9692570b3d01" + }, + { + "path": "catalogue.txt", + "gzipPath": "catalogue.txt.gz", + "rawSha256": "3be6187ef9f41eb8d979b06e27ba3bf8bcdfcb94397bfbc148099a02868ef5d2", + "gzipSha256": "d47827751eb8d8b43c9c04e08fe7a971a327f17f1f9094f065454de9f25fb56e" + }, + { + "path": "typecheck.txt", + "gzipPath": "typecheck.txt.gz", + "rawSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "gzipSha256": "46b50c321b39e89a491b6727a01628c34245605a30beb3e7414c5e01cff90e6e" + }, + { + "path": "lint.txt", + "gzipPath": "lint.txt.gz", + "rawSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "gzipSha256": "46b50c321b39e89a491b6727a01628c34245605a30beb3e7414c5e01cff90e6e" + }, + { + "path": "graph.txt", + "gzipPath": "graph.txt.gz", + "rawSha256": "61d3fdabe70649239e6e23491018c83fa2b3d0aaf3fc7371fa7b391f80028a79", + "gzipSha256": "d6566373a18c898950db977dc43d55aae0c5238e831bc3aa03fb7f71787fb536" + } + ] +} diff --git a/docs/ui-modernisation/evidence/jobs-undo/catalogue.json b/docs/ui-modernisation/evidence/jobs-undo/catalogue.json new file mode 100644 index 00000000..85d5752c --- /dev/null +++ b/docs/ui-modernisation/evidence/jobs-undo/catalogue.json @@ -0,0 +1 @@ +{"numFailedTestSuites":0,"numFailedTests":0,"numPassedTestSuites":1,"numPassedTests":3,"numPendingTestSuites":0,"numPendingTests":0,"numRuntimeErrorTestSuites":0,"numTodoTests":0,"numTotalTestSuites":1,"numTotalTests":3,"openHandles":[],"snapshot":{"added":0,"didUpdate":false,"failure":false,"filesAdded":0,"filesRemoved":0,"filesRemovedList":[],"filesUnmatched":0,"filesUpdated":0,"matched":0,"total":0,"unchecked":0,"uncheckedKeysByFile":[],"unmatched":0,"updated":0},"startTime":1794899411523,"success":true,"testResults":[{"assertionResults":[{"ancestorTitles":[],"duration":10,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"English and Bokmål expose the same UI message keys","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794899413606,"status":"passed","title":"English and Bokmål expose the same UI message keys"},{"ancestorTitles":[],"duration":4,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"Bokmål preserves every English substitution variable","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794899413616,"status":"passed","title":"Bokmål preserves every English substitution variable"},{"ancestorTitles":[],"duration":2,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"supported UI catalogues contain no blank messages","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794899413621,"status":"passed","title":"supported UI catalogues contain no blank messages"}],"endTime":1794899413624,"message":"","name":"C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\translation-catalogue.test.ts","startTime":1794899412329,"status":"passed","summary":""}],"wasInterrupted":false} diff --git a/docs/ui-modernisation/evidence/jobs-undo/catalogue.json.gz b/docs/ui-modernisation/evidence/jobs-undo/catalogue.json.gz new file mode 100644 index 0000000000000000000000000000000000000000..803bd8ade38592c4c167af2641911195dda94f45 GIT binary patch literal 638 zcmV-^0)hP>iwFP!000023bmBYZW=KV$M1a#YtIk`NYlbCNfR~wQbpku_h8loxOnZA zXH0@39w$%I7wdQzR**!A8YMUU-}(5@&x3C>7mEvJEa(v+{fdSFv%z6&UvH$J3UNQQ zb5CcfS4-fuakGbIcRn=QFgh{?oQL4U!;F#FelL9FN!f=k8o4&%OK_i+(>6t1{cdIG zREcv>+2A%)T7$0YX`{!bRs`8#sw_e)oATf>?3|eco-_&7aR`N9J|cWGNOiYL9lJtN zKHm+jo7KYZM@sIiU(vCcFE)B}`U)#NU0raExWGiz`z_{PMkUlf1utbm)+BM6#y)DkplQ>`I_<5k+ z*8z&LEPdcVSh`bYqO6}qHko_JRh)2MOssN??R~%XZgx9Q!Tf)>Ywp7j^Sw8N`|v_; zg19cXa5ay!fs|u5jZ&U@=X{XzAom(>q`dZFK>>h2X%ir)cJN9Us%#raFsm;{$}fH* zC@6l}IQNgAv^R%#G*V*7rDVaOt-{;Q5C`eWI-tb&u~)9!>-HZbgRv-7Sfv@#sMiWF Y*-QwrtRBs3GuH3^0bVcXo)8BB03Rnb{Qv*} literal 0 HcmV?d00001 diff --git a/docs/ui-modernisation/evidence/jobs-undo/catalogue.txt b/docs/ui-modernisation/evidence/jobs-undo/catalogue.txt new file mode 100644 index 00000000..84c0b8b3 --- /dev/null +++ b/docs/ui-modernisation/evidence/jobs-undo/catalogue.txt @@ -0,0 +1,6 @@ +Test Suites: 1 passed, 1 total +Tests: 3 passed, 3 total +Snapshots: 0 total +Time: 2.106 s +Ran all test suites matching src/translation-catalogue.test.ts. +Test results written to: E:\Storage\Projects\Active\temp docs\jobjakt-local-build\jobs-undo-catalogue.json diff --git a/docs/ui-modernisation/evidence/jobs-undo/catalogue.txt.gz b/docs/ui-modernisation/evidence/jobs-undo/catalogue.txt.gz new file mode 100644 index 0000000000000000000000000000000000000000..4c5402e069523840f3a4fd6a2228dfa760d0329e GIT binary patch literal 205 zcmV;;05bm{iwFP!000023QdkZ4#F@DM)yj+gAYK`|Rf{i9(y4k~FY|2}P(|o=KHL$A7*-IF!X3&FgW9 H836zQ`Y&Ln literal 0 HcmV?d00001 diff --git a/docs/ui-modernisation/evidence/jobs-undo/graph.txt b/docs/ui-modernisation/evidence/jobs-undo/graph.txt new file mode 100644 index 00000000..dcbcbb22 --- /dev/null +++ b/docs/ui-modernisation/evidence/jobs-undo/graph.txt @@ -0,0 +1,18 @@ +Re-extracting code files in . (no LLM needed)... +[graphify watch] 646 file(s) not classified (no supported extension or shebang), skipped: .dockerignore, .env.example, .git, .gitattributes, .gitignore, 1440-en-dark-converted.gz (+640 more) + AST cache: 2574/3025 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, 1188 communities now; renamed 95 community(ies) by their hub). Run `graphify label` to refresh names with the LLM. +Graph has 19300 nodes (above 5000 limit). Building aggregated community view... +graph.html written (aggregated: 1188 community nodes, 3226 cross-community edges) +Tip: run with --obsidian for full node-level detail. +[graphify watch] Rebuilt: 19300 nodes, 47424 edges, 1188 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. diff --git a/docs/ui-modernisation/evidence/jobs-undo/graph.txt.gz b/docs/ui-modernisation/evidence/jobs-undo/graph.txt.gz new file mode 100644 index 0000000000000000000000000000000000000000..0019b8ae26eba8a107d7250664ae872debabfe92 GIT binary patch literal 984 zcmV;}11J0+iwFP!000023XN6UZsRr(eGia-7;LeCjaoNHb{y}MQ>3ojqzSxvDT2UD ziDQWyid0F;UiYaV(J$=X}OM$$_+orCyakQd~ zP+6fBXalyyjH#mA1N$WE8u=JPuJb1}qEOmk4?_#>fzD{~vHJ|+0u2y@Ned)9sLlVc4k7`s4fwI<-IE*?N-D|&=)LAZN~7c&h9CKDmSS`c#qcE=#DQhjb4*OKf5N2 z?u@3yt1zc7coqKtCp9&NKpRc0#VV7VnOf>LGTU+ohbE0&du`5Y*BA^MBSXIvR$nQa zI@Lz3;esOiaeo-Z7eRa;t(X)f+oN$M{5xTk#RDSEQ3kcq8HTk@s3DWHi+w|WH&Ak2 zRgDsEL+wc8q@*!Hm8O@b`bn0d^akm~V43gLc85|*lF{e@C5cqj^(Qc>SVd76gJ;?f zopvGHc!voCWs`M7m^TW(95QK1zjzlKTpF|`cpBTRekLvC$*5*z@JLjwz@2eyt35g-5(Hb2=iN|G!ej>idqu-Qxo}r5 z@4M;M&FuHtVsbZI{C4$+Z{g|f?ezNUutVnXLurbYP@=6SwG@$v{KbqU#{U2kWRuHd G2LJ%1