From 9f420d329df0e281bd3dc379dca7b1d2819dabc8 Mon Sep 17 00:00:00 2001 From: bchanot Date: Thu, 5 Nov 2026 15:29:39 +0100 Subject: [PATCH] chore(docs): V1-2.6 maquettes contract in the verifier's format --- .../2026-11-05-v1-2-6-ux-maquettes.md | 70 ++++++++++--------- 1 file changed, 37 insertions(+), 33 deletions(-) diff --git a/.claude/tasks/contracts/2026-11-05-v1-2-6-ux-maquettes.md b/.claude/tasks/contracts/2026-11-05-v1-2-6-ux-maquettes.md index 9eb34c91..cd34c299 100644 --- a/.claude/tasks/contracts/2026-11-05-v1-2-6-ux-maquettes.md +++ b/.claude/tasks/contracts/2026-11-05-v1-2-6-ux-maquettes.md @@ -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 -audit only. No change to `crates/`, `apps/`, `packages/`, `supabase/` (except reading), no DEV, no merge, -no V1-2.7. TOTP-at-login and the missing equine illustrations stay separate tracks. STOP at the graphic -checkpoint before any implementation. - -## 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. -- 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 - point or zone creation opens that panel; palette + opacity with synchronised values; annotations inherit - their category's look. -- U3 Direct editing: Point and Zone tools; points and zones moved on the drawing; radius by slider; no - coordinate shown in the normal UI. -- U4 Polygons: vertices on selection, vertex drag, + at segment midpoints, − bubble on a clicked vertex, - whole-zone move in an explicit mode, redraw tool, undo/redo for all of it; curves keep their control - points (no destructive simplification). -- 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; - no `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; - regions, 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 - erases sheet-specific legal or anatomical text. -- 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, - read-only and save states. -- 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. -- U11 Feasibility audit against the current Rust core: missing operations named (vertex editing, path - editing, derived views, categories model), contradictions with ratified decisions listed for the owner. +- REQUEST (owner brief 2026-11-05, « V1-2.6 : nouvelles maquettes UX approuvées sur le principe »): replace a too + technical editor by a graphic editor built on direct manipulation of the SVG; desktop and mobile mockups, contact + sheet, individual boards and sources; audit feasibility with the current Rust core. A UX design, not an + implementation. STOP at the graphic checkpoint. +- ACCEPTANCE 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. + - 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 + point or zone creation opens that panel; palette + opacity with synchronised values; annotations inherit their + category's look. + - U3 Direct editing: Point and Zone tools; points and zones moved on the drawing; radius by slider; no coordinate + shown in the normal UI. + - U4 Polygons: vertices on selection, vertex drag, + at segment midpoints, − bubble on a clicked vertex, whole-zone + move in an explicit mode, redraw tool, undo/redo for all of it; curves keep their control points (no destructive + simplification). + - 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; no + `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; regions, + 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 erases + sheet-specific legal or anatomical text. + - 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, read-only and + save states. + - 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. + - U11 Feasibility audit against the current Rust core: missing operations named (vertex editing, path editing, + 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.