diff --git a/.claude/tasks/TODO.md b/.claude/tasks/TODO.md index 16827d06..fa00d566 100644 --- a/.claude/tasks/TODO.md +++ b/.claude/tasks/TODO.md @@ -681,7 +681,7 @@ Order (BDR-071): P0 docs + decisions → V1-1 clients and animals → V1-2 sheet - [x] static audits (core model, rendering/PDF/N-1, geometry/wasm, SQL/worker, editor/tests) · [x] docs/development V1-2-6_UX_{PLAN,COMPATIBILITY,TESTS,RISKS,DECISIONS}.md (sub-steps U0-U9, decisions T1-T19) · [x] independent review (3 lenses: CONCERNS 5/9/6, no BLOCKER) + fixes integrated (plan §6) · [x] commit + push branch · [x] owner answers 2026-11-05 (brief « V1-2.6 UX — Ratification des décisions techniques », BDR-100): T11 approved, T16 conditional deferral (curves lot), T2/T3 conditional on proofs, T4 no residual gap, T5 history preserved, T9 three actions, T10 navigation type, T12 principle · [x] five docs updated (decisions, compatibility §0/§7/§8, tests, risks + blocking criteria, plan §7) · [x] LRN-118 (wasm measuring rule) · [x] independent reviews: correctness challenger CONCERNS(5 MAJOR, 7 MINOR) integrated; verifier ECARTS(2) fixed; targeted re-check ECARTS(2) (one U6 test assumed permissive save, deploy order said all rounds) fixed · [x] third independent check before commit (2026-11-05): ECARTS(2) on K10/K11 (R-3 mitigation, U6 objective on older T4 scope, write-lock test assumed stripping save, T16 count scope in two forms) fixed · [x] fresh targeted re-check: CONFORME 12/12 (G1-G4 closed; 7 observations kept for U0) · [x] commit + push · [x] owner answers 2026-11-05 (brief « Autorisation U0 uniquement », BDR-101): T4 both SQL checks approved (O22 amended), T5 defaults, T10 option B, T15, T16 count before activation, « Remplacer par un polygone » explicit · [x] T17 answered 2026-11-06 (BDR-102) · [ ] still open: T12 text (before U7), T6 (V1-2.8), T14 follow-up; T1 only if a measure exceeds · [x] owner authorisation to start U0 (2026-11-05) - [ ] V1-2.6 UX U0, contract and decisions, docs only (contract `.claude/tasks/contracts/2026-11-05-v1-2-6-ux-u0.md`; no code, no SQL, no DEV, no U1): [x] V1-2 contract §6.2, §6.4, §6.7, §7.4, §8.2-§8.4, §12.2 + §17.1 (O22), §16.7, §16.12, §17.12 · [x] level-1 contract C3, C4, C5, C6, C7, C8, C11, C13, C16, C18, C20, C25, C28, C32, C33, C40, with the precedence rule of its header · [x] docs/design/README.md · [x] rules sheet-model.md, schemas.md · [x] five UX docs · [x] BDR-101 · [x] preconditions (r5:import-equine --check clean, seed 22/6/0 paths, wasm 592 143 B) · [x] independent verification: ECARTS x6 fixed, then CONFORME 12/12 (2026-11-06); open points for U2/U6 not in docs: point edge-size handle (boards 02/03), default laterality of the automatic access (U6), §15 replay text vs the category.fixed.* filter · [x] commit + push · [x] owner U0 checkpoint (approved for good in the brief « Autorisation de U1 uniquement », 2026-11-06) - [ ] V1-2.6 UX U1, editor shell (brief « Autorisation de U1 uniquement » + « U1 — Validation de la conception interne », approach A; contract `.claude/tasks/contracts/2026-11-06-v1-2-6-ux-u1-1123.md`; plan `.claude/tasks/plans/2026-11-06-v1-2-6-ux-u1.md`, lots A, B1, B2, C-I; no Rust/SQL/worker/scripts, no DEV, no merge, no U2): [x] design approach A validated by the owner with 10 precisions · [x] owner choices 2026-11-06 (server save time, non-modal references panel, citation button in the finding's detail, board 01 annotation card) · [x] plan written + three-lens challenge (correctness CONCERNS 6, robustness CONCERNS 5, simplicity CONCERNS 2, no BLOCKER) integrated · [ ] owner plan checkpoint · [ ] lots A-I · [ ] gates, verifier, security · [ ] owner U1 checkpoint - - [ ] V1-2.6 UX complement « annotations ↔ constats » (owner brief 2026-11-06 « Nouvelle exigence UX : navigation bidirectionnelle »; contract `.claude/tasks/contracts/2026-11-06-v1-2-6-findings-nav-design.md`; design only, U1 plan untouched, no code, no DEV): [x] relations audit (one link `finding_zone_id`, no new association, equine draft 1:1) · [x] boards 17-22 `docs/design/v1-2-6-constats/` · [x] study `docs/development/V1-2-6_UX_FINDINGS_NAV.md` (no U1 integration point needed, sub-step U2b proposed, risks, tests, decisions F1-F16) · [x] fresh design review APPROVE WITH FIXES (3 MUST-FIX, 16 SHOULD), fixes applied · [ ] fresh verifier (ECARTS(4) round 1 fixed) · [ ] owner validation of the complement (then F1-F12) + - [ ] V1-2.6 UX complement « annotations ↔ constats » (owner brief 2026-11-06 « Nouvelle exigence UX : navigation bidirectionnelle »; contract `.claude/tasks/contracts/2026-11-06-v1-2-6-findings-nav-design.md`; design only, U1 plan untouched, no code, no DEV): [x] relations audit (one link `finding_zone_id`, no new association, equine draft 1:1) · [x] boards 17-22 `docs/design/v1-2-6-constats/` · [x] study `docs/development/V1-2-6_UX_FINDINGS_NAV.md` (no U1 integration point needed, sub-step U2b proposed, risks, tests, decisions F1-F21) · [x] fresh design review APPROVE WITH FIXES (3 MUST-FIX, 16 SHOULD), fixes applied · [x] fresh verifier ECARTS(4) → ECARTS(2) → CONFORME 9/9 (round 3) · [ ] owner validation of the complement (then F1-F21) - [ ] follow-up candidates (owner T14): multi-tab notice; RR item for the rollback limit of the category model (new id, reconcile with develop) - [ ] curves lot (ex-U9, owner T16 2026-11-05): curve handle editing, curved zone move, path remap, path point correction; spec `V1-2-6_UX_PLAN.md` §2 D, tests `V1-2-6_UX_TESTS.md` « Curves lot ». Rule: no feature that lets a path enter a document (package import, zones from the drawing's shapes, a curve drawing tool) ships before or without it. Before the new model is activated on an environment, and before U6 or U8 reaches any environment beyond the throwaway sandbox: read-only count of path geometries in its drafts and published versions (sandbox by U6 itself; DEV and shared environments by the owner or under explicit authorisation; non-zero reopens T16) - [ ] MANDATORY before merging V1-2 into develop (owner 2026-11-03): registry id reconciliation. LRN-095 collides: develop 09655b2 « Port a safe runner verbatim… » (2026-11-02) vs V1-2 « pgTAP across PGlite and the real Supabase image… » (2026-10-28, cited by BDR-084 and the V1-2.1 TODO lines). BLK-013 exists on develop only (« e2e:avatar on develop reached DEV »): `memory.sh` on V1-2 would hand out BLK-013 again, so a V1-2 blocker needs its id checked against develop first. Same for the TODO release-readiness ids: RR-11 is develop's (« sandbox-only e2e follow-ups »), V1-2 uses RR-12. No renumbering during V1-2.6 unless needed; renumber one side and patch its citers at the merge diff --git a/docs/design/v1-2-6-constats/19-association-anatomique.png b/docs/design/v1-2-6-constats/19-association-anatomique.png index ac3fdc99..afff07ea 100644 Binary files a/docs/design/v1-2-6-constats/19-association-anatomique.png and b/docs/design/v1-2-6-constats/19-association-anatomique.png differ diff --git a/docs/design/v1-2-6-constats/REVUE.md b/docs/design/v1-2-6-constats/REVUE.md index 6206b362..7ad925ad 100644 --- a/docs/design/v1-2-6-constats/REVUE.md +++ b/docs/design/v1-2-6-constats/REVUE.md @@ -27,8 +27,7 @@ Conventions : comme illustrative (le brouillon équin n'a aucune zone montrée par deux annotations). Texte de mise en scène repris des planches v1-2-6 validées, sans valeur de donnée : fil d'Ariane « Cheval, squelette et rachis », titre « Brouillon, version 4 », nom de l'utilisateur, « 3 modifications non enregistrées », « 2 erreurs ». Le libellé « Restriction en abduction » de la planche 18 A est une - saisie d'exemple. « Accès : Tête (vue latérale gauche) » est un nom d'affichage proposé pour l'accès, qui n'a pas de nom - dans la fiche (décision F7). + saisie d'exemple. L'accès de la planche 19 C porte le nom de sa vue, comme le cœur l'affiche quand l'accès n'a pas de nom. - Les libellés sont des propositions pour la revue des libellés (C44). - Rendu : `PW_MODULE=<…>/apps/app/node_modules/@playwright/test node ../v1-2-6/render.cjs maquettes.html .`, après `node gen-data.cjs`. @@ -48,3 +47,6 @@ Conventions : - SHOULD de la revue non appliqués, avec la raison : deux présentations des résultats gardées (arbre en 20, liste compacte en 21 quand le volet prend la largeur), soumises au propriétaire en F21 ; onglet « Plus » du téléphone montré avec le nom de l'onglet actif à côté, sans nom accessible détaillé (relève du plan U1, choix 5). +- Vérificateur neuf, tour 3 : CONFORME (9 critères sur 9). Ses observations hors critères ont été traitées ensuite : + nom de l'accès aligné sur la règle du cœur (19 C), libellé « Catégorie » de l'onglet Constats vérifié et cité (F7). + Les fonctions copiées et inutilisées des planches validées restent dans la source, sans effet sur les rendus. diff --git a/docs/design/v1-2-6-constats/maquettes.html b/docs/design/v1-2-6-constats/maquettes.html index 7005fd6c..d9b8aa75 100644 --- a/docs/design/v1-2-6-constats/maquettes.html +++ b/docs/design/v1-2-6-constats/maquettes.html @@ -227,7 +227,8 @@ const DOC = window.DOC const viewName = (id) => DOC.views.find((v) => v.id === id).fr const DETAIL = DOC.views.find((v) => v.parent).id const ANN = DOC.annotations -const nameOf = (a) => a.fr || `Accès : ${viewName(DETAIL)}` +// A trigger without a name shows its view's name, as the core does (index_data.rs:39). +const nameOf = (a) => a.fr || viewName(DETAIL) const A = ANN.map((a) => [a.view, a.kind === 'detail_trigger' ? 'link' : CAT_KEY[a.cat], nameOf(a), a.g]) const catOf = (a) => a[1] === 'link' ? 'art' : a[1] const pts = (p) => p.map((q) => q.join(',')).join(' ') diff --git a/docs/design/v1-2-6-constats/planche-contact.png b/docs/design/v1-2-6-constats/planche-contact.png index e7d5b338..734ecea9 100644 Binary files a/docs/design/v1-2-6-constats/planche-contact.png and b/docs/design/v1-2-6-constats/planche-contact.png differ diff --git a/docs/development/V1-2-6_UX_FINDINGS_NAV.md b/docs/development/V1-2-6_UX_FINDINGS_NAV.md index 3f8f779f..439fbe98 100644 --- a/docs/development/V1-2-6_UX_FINDINGS_NAV.md +++ b/docs/development/V1-2-6_UX_FINDINGS_NAV.md @@ -178,7 +178,7 @@ None is decided by this proposal; each has a recommendation (F1 to F21). | F4 | Drawing filter semantics | the chosen views give the drawings to pick on, and all their zones while nothing is picked; once one annotation is picked, only the picked zones count; text and drawing combine with AND; applied at each click, no « Appliquer » | | F5 | Filter panel | non-modal right panel without scrim (the tree stays live); one secondary panel at a time (opening « Références » closes it, the filter stays active as a chip) | | F6 | Below 1 024 px | consultation: search and filter available, zones chosen in a list (44 px targets), no selection on the drawing | -| F7 | Labels | « Accès : » as the name shown for a detail trigger (it has no name in the document), « Constats » for the segment, « Zone de constats » for the link, « Famille » for a finding category (today the Constats tab says « Catégorie », to align at the label review), « Filtrer sur le schéma », « Réinitialiser les filtres » | +| F7 | Labels | a detail trigger keeps the core's display name (its own, else its view's, `core/domain/sheet/index_data.rs:39`), « Constats » for the segment, « Zone de constats » for the link, « Famille » for a finding category (today the Constats tab says « Ajouter une catégorie » and « Type de catégorie », `app/i18n/fr.ts:1478`, `:1483`, to align at the label review), « Filtrer sur le schéma », « Réinitialiser les filtres » | | F8 | Creating a zone from an annotation without one | allowed, one batch (zone with the annotation's name, editable, then the link), one undo entry | | F9 | Editing a finding from the drawing | in the side column, with the shared detail component; « Ouvrir dans Constats » for the tree context | | F10 | Filter lifetime | kept while the page lives (tab changes included), cleared by « Réinitialiser les filtres » and on reload; a filtered zone or annotation removed by an undo leaves the filter silently narrower with its chip updated |