Files
faunosteo/.claude/tasks/contracts/2026-11-05-v1-2-6-ux-maquettes.md

3.2 KiB
Raw Permalink Blame History

CONTRACT: V1-2.6 new editor UX maquettes (owner brief of 2026-11-05)

  • 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.