docs(app): R1 delivered (Défaire / Refaire, Désélectionner, Escape, D6b)
This commit is contained in:
1 parent
0d1edac39a
commit
90a5e7aa35
7 files changed
+64
-10
No files matched your search
@@ -55,6 +55,13 @@ reference of R1 to R4.
|
||||
|
||||
### R1 — History labels and deselection (D5, D6, D6b)
|
||||
|
||||
Delivered 2026-11-12 on `feature/v1-2-anatomical-sheets`: `7dda61d` (D5 labels), `bbb1668` (« Désélectionner » and
|
||||
Escape), `bbdfd27` + `a1ee194` (D6b), `ab823f4` + `2327d61` + `0849e54` (browser specs), `0d1edac` (design review fix:
|
||||
44 px touch target below xl, 6 px icon gap). Gates on `0d1edac`: typecheck, lint, build ok; unit tests app 1371,
|
||||
supabase 180, core-wasm 66; `e2e:ui` 227 passed; `e2e:shell` full suite on the sandbox 197 passed, 4 failed, 99
|
||||
skipped. The 4 failures are the `admin.spec.ts:717` timeouts (anomaly B, the taken working-copy slot), the same as in
|
||||
the 188 / 90 / 4 baseline; every new R1 test passed. The criteria below are the contract as written.
|
||||
|
||||
- Labels: `editor.history.*` keys in `apps/app/src/i18n/fr.ts` and `en.ts` (FR « Défaire » / « Refaire », names
|
||||
« Défaire la dernière modification » and « Refaire la dernière modification défaite »; EN « Undo » / « Redo »
|
||||
unchanged); `HistoryButtons.tsx` keeps its structure. Shortcuts unchanged: Ctrl/⌘+Z undo, Ctrl/⌘+Maj+Z redo
|
||||
@@ -113,6 +120,31 @@ reference of R1 to R4.
|
||||
`editor-geometry.spec.ts:419`) where a tap deselects and a touch drag does not. `editor-equine.spec.ts`: one click
|
||||
on a bone path of the historical horse drawing of the working copy deselects.
|
||||
|
||||
#### Behaviour and limits (as built)
|
||||
|
||||
- Owner decisions at the gates. G1: Escape moves the focus only when it was inside the properties panel (to the
|
||||
annotation's list row if it still exists, else to the drawing); from anywhere else the focus stays where it was.
|
||||
G2: the « Supprimer » button style is unchanged.
|
||||
- D6b in plain terms: the rule follows the press, not the click target. A press that begins outside every
|
||||
`[data-anno-id]` element and ends as a click deselects. A press that began on an annotation never deselects, even if
|
||||
it ends elsewhere. A drag, a pan, a zoom, a pinch or a press that gained a second finger never deselects.
|
||||
- Escape from outside the editor workspace (sidebar, application header) does nothing.
|
||||
- A value refused as « non appliqué » in the properties panel is lost when the panel closes, as with « Toutes les
|
||||
annotations ».
|
||||
- « Toutes les annotations » keeps its focus behaviour: when its row is filtered out, the focus falls to the page.
|
||||
- The vertex handles of a selected polygon are display-only: a press on the part of a handle outside the zone's fill
|
||||
deselects.
|
||||
- A touch tap whose click Chromium drops does not deselect; a second tap does. This is rare: a field blur commit
|
||||
rebuilds the drawing between the synthesized mousedown and the click.
|
||||
- Chromium touch adjustment can turn a tap about 6 px outside a marker into a selection of that marker (no deselect
|
||||
announcement then).
|
||||
- Proof of the touch guards: Chromium only, through CDP touch with a capture-phase event recorder (identical over three
|
||||
runs, `.superpowers/sdd/2026-11-12-r1-history-deselect-1141/task-5a-report.md`). A tap on empty: 1 pointerdown, 1
|
||||
pointerup, 0 pointercancel, 1 click, deselect. A one-finger drag on a movable point: 0 click. A two-finger tap and a
|
||||
pinch: 1 non-primary pointerdown, 2 pointerup, 0 click, selection kept. A one-finger drag on the read-only twin: 1
|
||||
pointercancel (the browser pan took the touch), 0 click. iOS Safari is unverified: a manual check is listed in the
|
||||
TODO, it is not a proof.
|
||||
|
||||
### R2 — The Références tab (D1 to D4)
|
||||
|
||||
- Tab model: `EDITOR_TABS` gains `references` between `findings` and `verification` (`apps/app/src/editor/tabs.ts:6-11`),
|
||||
|
||||
Reference in new issue
Block a user