|
All checks were successful
PR Check — Frontend / frontend (pull_request) Successful in 1m38s
Last link of the ten-link import-format stack. Links 1-9 deliberately wrote no changelog and no documentation, to avoid a conflict at every level of a linear pile; this link owes all of it. - ADR 0019 records the structuring decision: the import format is a fully persisted value, never re-inferred. It documents the three independent paths by which it used to be lost (hardcoded restore, header drift, data export), and why a single codec with a completeness test closes the class rather than a composed type -- the two carriers are structurally incompatible (`has_header` is boolean on one and number on the other). `template_id` is recorded as a provenance label, never re-read as format. - `docs/architecture.md` gains a dedicated "Import CSV" section covering the codec, the lexical detection layer and its separate dictionary module, the bank signatures, the now-mandatory preview step, and sources/templates in the SREF envelope. Migration v17 and its four CHECK-guarded columns are listed in the migrations table. - Stale counts corrected against the tree, not by arithmetic: 16 -> 17 migrations (both files), `src/components/import/` 13 -> 14, `src/utils/` 4 -> 13. Tables (20) and indexes (24) were re-measured and are NOT stale -- v17 is an ALTER TABLE only -- so they are left as they are, with the reason written down. ADR 0018, missing from the ADR table, is added. - The user guide and the `docs.*` keys in both locales carry the same new import journey: automatic detection, confidence score, mandatory preview with its signed recap, sign inversion, recognised bank formats, drift panel, and the safe repair path. - Both changelogs carry the same entries, translated, verified section by section including issue references. The `public/` copies sync automatically via `syncChangelogs()`. 1176 vitest green, build clean, cargo check clean. No DB migration. Resolves #332 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| locales | ||
| config.ts | ||