From e603de39e82a1c41b77080bb9750afa65ec988dc Mon Sep 17 00:00:00 2001 From: bchanot Date: Wed, 18 Nov 2026 11:25:42 +0100 Subject: [PATCH] docs(docs): history undo name follows D5 in U2 tests and plan --- docs/development/V1-2-6_UX_DECISIONS.md | 11 ++++++----- docs/development/V1-2-6_UX_PLAN.md | 2 +- docs/development/V1-2-6_UX_TESTS.md | 2 +- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/docs/development/V1-2-6_UX_DECISIONS.md b/docs/development/V1-2-6_UX_DECISIONS.md index d28f5e65..e49105c0 100644 --- a/docs/development/V1-2-6_UX_DECISIONS.md +++ b/docs/development/V1-2-6_UX_DECISIONS.md @@ -25,7 +25,7 @@ The annotations and findings complement (sub-step U2b) has its own table, F1 to | T11 | Fate of the level-1 owner trial | approved: old-UX trials stopped; anomalies and untested items tracked; level 1 not declared validated | ratified | none | | T12 | Common text | principle of one versioned copy kept; legal text, source and validation to be supplied; brief U0: U7 stays blocked until they are validated | principle ratified; text missing | U7 | | T14 | Multi-tab notice | not asked | open, follow-up | none | -| T15 | « Annuler » wording | brief U0: « Annuler la dernière modification » for the history; « Abandonner » or « Abandonner les modifications » for a form | ratified | none left to decide; U1 applies it | +| T15 | « Annuler » wording | brief U0: « Annuler la dernière modification » for the history; « Abandonner » or « Abandonner les modifications » for a form | ratified | none left to decide; U1 applies it. The history name was superseded by R1 decision D5 (commit 7dda61d): « Défaire la dernière modification » / « Refaire la dernière modification défaite » | | T16 | Curve handle editing | deferral only if the audit confirms it; exact geometry; no destructive conversion; identified future lot; brief U0: deferral kept, existing geometries checked before any activation of the new model, no DEV access during U0; « Remplacer par un polygone » explicit, validated, old path kept until success, undoable | ratified: deferred to the curves lot | none in V1-2.6; the path count before the new model is activated on an environment and before U6 or U8 reaches any environment beyond the throwaway sandbox | | T17 | Vertebral regions entry without a vertebra role | brief U1 (2026-11-06, BDR-102): fallback « Régions vertébrales » entry in Annotations when no category carries the role `vertebra`; once a Vertèbres category exists, the regions are configured from it, never in two places | ratified | none left to decide; U6 builds it | | U2 orientation | Annotation properties and forms in modal dialogs, geometry by direct manipulation on the drawing | owner brief 2026-11-14: gestures stay as validated (vertex drag, « + », « − », zone move, redraw, point properties); the point size slider stays in the trace strip; a click without movement opens the properties dialog in read mode; creation by a « Nouveau point » or « Nouvelle zone » dialog with a ghost shape; history layer keyed by element, R2 parts reused; boards 02 to 06 and 13 redrawn at the U2 planning (boards 14 and 16 unchanged). Text: `V1-2-6_UX_PLAN.md` §U2, « Orientation 2026-11-14 » | orientation recorded; U2 not started; laterality default (C25) settled at the U2 gate | U2 planning, the redrawn boards' validation | @@ -311,15 +311,16 @@ The annotations and findings complement (sub-step U2b) has its own table, F1 to Note 2026-11-12: history labels superseded by D5 (owner 2026-11-09, built 2026-11-12): the history buttons read « Défaire » / « Refaire » (names « Défaire la dernière modification », « Refaire la dernière modification -défaite »). The text below is the historical record. +défaite »), commit 7dda61d. The history name was superseded by R1 decision D5: « Défaire la dernière modification » / +« Refaire la dernière modification défaite ». The text below is the historical record. - Owner answer, brief U0 (BDR-101): distinguish the commands. « Annuler la dernière modification » for the history; « Abandonner » or « Abandonner les modifications » for a form. - Applied at U1 and later: - history command: the header button keeps the drawn icon and short label of the approved boards; its accessible - name and tooltip are « Annuler la dernière modification » (EN « Undo the last change », proposed); the message - line's « Défaire » after a gesture (U2, replacing the toast) undoes the same entry under the same name. The shipped - FR name since R1 (D5) is « Défaire la dernière modification » (`editor.history.undo_title`); + name and tooltip were « Annuler la dernière modification » as ratified, and are « Défaire la dernière modification » + since D5 (EN « Undo the last change », `editor.history.undo_title`); the message line's « Défaire » after a + gesture (U2, replacing the toast) undoes the same entry under the same name; - leaving a staged form without applying it (board 02 pending point, board 07 states, board 08 rectangle, board 09 regions): « Abandonner »; - returning the draft to its last saved revision (level-1 C11, today `editor.draft.discard` « Annuler les diff --git a/docs/development/V1-2-6_UX_PLAN.md b/docs/development/V1-2-6_UX_PLAN.md index 600c99f7..f68ea918 100644 --- a/docs/development/V1-2-6_UX_PLAN.md +++ b/docs/development/V1-2-6_UX_PLAN.md @@ -465,7 +465,7 @@ Status: implemented on `feature/v1-2-anatomical-sheets` (lots A to H; Lot I, gat `app/editor/verification.ts:64-131`, `PropertiesPanel.tsx:169` (removed at U2), `components/shell/AppLayout.tsx:72-123`, `ToolColumn.tsx`, i18n. - Dependencies: U0, T11 (ratified: level-1 trial stopped, level 1 not declared validated, residuals tracked), T15 - (ratified: header undo named « Annuler la dernière modification », C11 relabelled « Abandonner les + (ratified: header undo named « Défaire la dernière modification » (D5, commit 7dda61d; redo « Refaire la dernière modification défaite »), C11 relabelled « Abandonner les modifications »). - Rust ops: none. - Tests: `V1-2-6_UX_TESTS.md` U1. diff --git a/docs/development/V1-2-6_UX_TESTS.md b/docs/development/V1-2-6_UX_TESTS.md index 0dc2c17c..39a08bee 100644 --- a/docs/development/V1-2-6_UX_TESTS.md +++ b/docs/development/V1-2-6_UX_TESTS.md @@ -43,7 +43,7 @@ Implemented (contract `.claude/tasks/contracts/2026-11-06-v1-2-6-ux-u1-1123.md`) | Kind | Tests | |---|---| -| Unit | four-tab model, initial tab, width tiers (replaces `editor-route.test.tsx:66`, `128-170`, `editor-mode.test.ts:99-110`); header undo and redo states; undo from each tab reverts the last commit made on another tab; a typed field is flushed before the header undo (behaviour pinned); header undo accessible name and tooltip « Annuler la dernière modification » (T15); « Abandonner les modifications » for the return to the saved revision (C11 as amended); references panel open, close, return focus; « Aller à » target for every issue kind (`verification.ts:64-131`) | +| Unit | four-tab model, initial tab, width tiers (replaces `editor-route.test.tsx:66`, `128-170`, `editor-mode.test.ts:99-110`); header undo and redo states; undo from each tab reverts the last commit made on another tab; a typed field is flushed before the header undo (behaviour pinned); header undo accessible name and tooltip « Défaire la dernière modification » (T15, superseded by D5); « Abandonner les modifications » for the return to the saved revision (C11 as amended); references panel open, close, return focus; « Aller à » target for every issue kind (`verification.ts:64-131`) | | E2E shell | helpers rewritten (`e2e/support/editor.ts:326-330`, `warm-up.ts:43-45`, `editor-access.spec.ts:34-42`); every existing editor journey green on the new shell; sidebar hidden in the editor at 1 024, 1 180, 1 279 px, shown at 1 280 px, menu reachable in one tap; narrow-width read-only unchanged | | Accessibility | axe on the four tabs and on the open references panel; Tab order header → tabs → panel → canvas | | Regression | recovery and conflict specs unchanged; level-1 criteria C13, C14, C16, C34, C41 re-run (T11); each removed assertion mapped to its replacement in the commit message |