chore(docs): V1-2.6 maquettes contract in the verifier's format

This commit is contained in:
bchanot committed 2026-11-05 15:29:39 +01:00
1 parent 46ea996a61
commit 9f420d329d
1 file changed
+35 -31
@@ -1,34 +1,38 @@
# Contract: V1-2.6 new editor UX maquettes (owner brief of 2026-11-05) # CONTRACT: V1-2.6 new editor UX maquettes (owner brief of 2026-11-05)
Brief « V1-2.6 : nouvelles maquettes UX approuvées sur le principe ». Deliverable: mockups and a feasibility - REQUEST (owner brief 2026-11-05, « V1-2.6 : nouvelles maquettes UX approuvées sur le principe »): replace a too
audit only. No change to `crates/`, `apps/`, `packages/`, `supabase/` (except reading), no DEV, no merge, technical editor by a graphic editor built on direct manipulation of the SVG; desktop and mobile mockups, contact
no V1-2.7. TOTP-at-login and the missing equine illustrations stay separate tracks. STOP at the graphic sheet, individual boards and sources; audit feasibility with the current Rust core. A UX design, not an
checkpoint before any implementation. implementation. STOP at the graphic checkpoint.
- ACCEPTANCE CRITERIA:
## Criteria - U1 Navigation: four tabs Général, Annotations, Constats, Vérification; views, drawings and vertebral settings
inside Annotations; references reachable from a secondary surface.
- U1 Navigation: four tabs Général, Annotations, Constats, Vérification; views, drawings and vertebral - U2 Categories: Os, Articulations, Vertèbres always present and not deletable, colour and opacity editable;
settings inside Annotations; references reachable from a secondary surface.
- U2 Categories: Os, Articulations, Vertèbres always present and not deletable, colour and opacity editable;
custom categories added, edited, deleted in a folding panel of Annotations; « Ajouter une catégorie » during custom categories added, edited, deleted in a folding panel of Annotations; « Ajouter une catégorie » during
point or zone creation opens that panel; palette + opacity with synchronised values; annotations inherit point or zone creation opens that panel; palette + opacity with synchronised values; annotations inherit their
their category's look. category's look.
- U3 Direct editing: Point and Zone tools; points and zones moved on the drawing; radius by slider; no - U3 Direct editing: Point and Zone tools; points and zones moved on the drawing; radius by slider; no coordinate
coordinate shown in the normal UI. shown in the normal UI.
- U4 Polygons: vertices on selection, vertex drag, + at segment midpoints, − bubble on a clicked vertex, - U4 Polygons: vertices on selection, vertex drag, + at segment midpoints, − bubble on a clicked vertex, whole-zone
whole-zone move in an explicit mode, redraw tool, undo/redo for all of it; curves keep their control move in an explicit mode, redraw tool, undo/redo for all of it; curves keep their control points (no destructive
points (no destructive simplification). simplification).
- U5 Touch: equivalent finger interactions on tablet and phone, handles sized for touch. - U5 Touch: equivalent finger interactions on tablet and phone, handles sized for touch.
- U6 Detail views: tool, rectangle on the drawing, FR/EN name proposed, derived view framed, annotatable; - U6 Detail views: tool, rectangle on the drawing, FR/EN name proposed, derived view framed, annotatable; no
no `viewBox` numbers shown; replacement by a specific SVG; vector quality preserved. `viewBox` numbers shown; replacement by a specific SVG; vector quality preserved.
- U7 Vertebrae: no standalone tab; « Configurer les régions vertébrales » from the Vertèbres category; - U7 Vertebrae: no standalone tab; « Configurer les régions vertébrales » from the Vertèbres category; regions,
regions, codes, counts, ranges and rules kept. codes, counts, ranges and rules kept.
- U8 Général simplified; controlled prefill of « Périmètre et limites » from a common text that never - U8 Général simplified; controlled prefill of « Périmètre et limites » from a common text that never erases
erases sheet-specific legal or anatomical text. sheet-specific legal or anatomical text.
- U9 Boards desktop and mobile for: main editor; point create + modify; zone create; polygon selection with - U9 Boards desktop and mobile for: main editor; point create + modify; zone create; polygon selection with +/−;
+/−; zone move and redraw; categories and colours; detail view by selection; vertebral regions; error, zone move and redraw; categories and colours; detail view by selection; vertebral regions; error, read-only and
read-only and save states. save states.
- U10 Identity kept (tokens, Step 7 shell, V1-2.4 components); contact sheet, individual PNGs and sources in - U10 Identity kept (tokens, Step 7 shell, V1-2.4 components); contact sheet, individual PNGs and sources in
`docs/design/v1-2-6/`, easy to open. `docs/design/v1-2-6/`, easy to open.
- U11 Feasibility audit against the current Rust core: missing operations named (vertex editing, path - U11 Feasibility audit against the current Rust core: missing operations named (vertex editing, path editing,
editing, derived views, categories model), contradictions with ratified decisions listed for the owner. derived views, categories model), contradictions with ratified decisions listed for the owner.
- FILE SCOPE: `docs/design/v1-2-6/**`, `docs/design/README.md`, `.claude/audits/2026-11-05-v1-2-6-*.md`,
`.claude/tasks/TODO.md`, `.claude/memory/journal.md`, this contract.
- CLARIFICATIONS: the TOTP-at-sign-in track and the missing equine illustrations stay separate tracks, outside this
contract. Mockups are proposals until the owner validates them.
- OUT OF SCOPE: any change under `crates/`, `apps/`, `packages/`, `supabase/`; Supabase DEV; merge; V1-2.7.
- ABANDON: if a criterion needs a change to code, SQL or the worker, stop and report instead of changing it.