diff --git a/docs/development/V1-2-6_OWNER_TRIAL.md b/docs/development/V1-2-6_OWNER_TRIAL.md index 45ec0b27..e828567c 100644 --- a/docs/development/V1-2-6_OWNER_TRIAL.md +++ b/docs/development/V1-2-6_OWNER_TRIAL.md @@ -915,11 +915,11 @@ Limites connues : Deux mesures ont été faites sur un brouillon équin créé pour l'occasion sur la sandbox, jamais sur la copie de travail ni sur la fiche historique, avec Chromium sur ordinateur et un processeur ralenti quatre fois : - la fluidité de la loupe (2026-11-19, version de production, code final) : du handler à l'image affichée, le travail - d'un glisser au doigt avec la loupe a une médiane de 3,7 ms et un p95 de 6,0 ms, loin des 16 ms d'une image ; + d'un glisser au doigt avec la loupe a une médiane de 3,0 ms et un p95 de 4,3 ms, loin des 16 ms d'une image ; - le délai d'enregistrement d'un geste (2026-11-19, version de production, souris) : du relâchement de la souris à l'image où la nouvelle forme est affichée et où « Défaire » est disponible, trois essais par geste. Médiane et - maximum sur le code final : glisser d'un sommet 194,7 et 220 ms, « + » 198,4 et 201,7 ms, « − » 193,5 et - 196,6 ms, sous la limite de 500 ms. + maximum sur le code final : glisser d'un sommet 182,5 et 199,9 ms, « + » 176,3 et 183,1 ms, « − » 173,8 et + 177,1 ms, sous la limite de 500 ms. Ces chiffres viennent d'un navigateur piloté par ordinateur. Le vrai contrôle est votre essai sur la tablette : si un glisser, un « + » ou un « − » vous paraît lent ou saccadé, notez le geste et la vue. diff --git a/docs/development/V1-2-6_UX_PLAN.md b/docs/development/V1-2-6_UX_PLAN.md index 5ce3f825..22d6e226 100644 --- a/docs/development/V1-2-6_UX_PLAN.md +++ b/docs/development/V1-2-6_UX_PLAN.md @@ -479,7 +479,7 @@ Status: implemented on `feature/v1-2-anatomical-sheets` (lots A to H; Lot I, gat ### U2 · Direct manipulation of points and polygons - Status: implemented on `feature/v1-2-anatomical-sheets` (plan `.claude/tasks/plans/2026-11-17-v1-2-6-u2.md`, rev 4, - Tasks 1 to 16 and the final fix rounds done; gates ran on the final code, f9656a0d, figures in + Tasks 1 to 16 and the final fix rounds done; gates ran on the final code, da8642dd, figures in `V1-2-6_UX_TESTS.md`; owner trial pending). The boards are `docs/design/v1-2-6-u2/` (A1 to A15 and the three adjustments, validated 2026-11-17). - Objective: boards 02 to 06, 13 and 31 to 33 of `v1-2-6-u2/` for points and polygons (curve handles excluded, curves diff --git a/docs/development/V1-2-6_UX_TESTS.md b/docs/development/V1-2-6_UX_TESTS.md index 3da60e95..0944ee9f 100644 --- a/docs/development/V1-2-6_UX_TESTS.md +++ b/docs/development/V1-2-6_UX_TESTS.md @@ -50,7 +50,7 @@ Implemented (contract `.claude/tasks/contracts/2026-11-06-v1-2-6-ux-u1-1123.md`) ## U2 · Points and polygons -Implemented (plan `.claude/tasks/plans/2026-11-17-v1-2-6-u2.md`, rev 4; boards `docs/design/v1-2-6-u2/`, A1 to A15 and the three adjustments). Rule numbers (R-n) are the plan's. Gates (plan Task 16) on the final head, 2026-11-19 (code at f9656a0d, this page's figures added after): `pnpm check:all` exit 0 (app 2 140, core-wasm 67, supabase 182 tests, e2e:ui 253); the shell suite without `editor-equine.spec.ts` 324 passed, 20 failed, 5 not run, the admin (6) and catalogue-integrity tests failing the same way before U2 (sandbox data), the catalogue and admin-sheets-list tests failing only under the parallel run with « Target crashed » and passing 16/16 with one worker (`--workers=1`, 2026-11-19), plus one `editor-references.spec.ts` and one `editor-shell-layout.spec.ts` test lost to « Target crashed », both files passing alone with one worker (23 passed); `pnpm db:sandbox test` 105 passed, 10 skipped, and `test-db` Files=21 Tests=1958 FAIL on `014_animals_relations` (2) and `021_sheet_verification_jobs` (23), identical to before U2, which changes no SQL (run at 0aa0f6bc); `up fresh` is the owner's call; both opt-in measures rerun (figures in the Performance row). The owner trial is pending. The suites run on the sandbox only (`pnpm db:sandbox`). +Implemented (plan `.claude/tasks/plans/2026-11-17-v1-2-6-u2.md`, rev 4; boards `docs/design/v1-2-6-u2/`, A1 to A15 and the three adjustments). Rule numbers (R-n) are the plan's. Gates (plan Task 16) on the final head, 2026-11-19 (code at da8642dd, this page's figures added after): `pnpm check:all` exit 0 (app 2 140, core-wasm 67, supabase 182 tests, e2e:ui 253); the shell suite without `editor-equine.spec.ts` 330 passed, 17 failed, 5 not run, all in four files outside the editor: admin (6) and catalogue-integrity (6) failing with the same timeouts before U2 (sandbox data; the 56c75b1 baseline log has 4 catalogue-integrity failures), catalogue (3) and admin-sheets-list (2) failing only under the parallel run with « Target crashed » and passing 16/16 with one worker (`--workers=1`, 2026-11-19); `pnpm db:sandbox test` 105 passed, 10 skipped, and `test-db` Files=21 Tests=1958 FAIL on `014_animals_relations` (2) and `021_sheet_verification_jobs` (23), identical to before U2, which changes no SQL (run at 0aa0f6bc); `up fresh` is the owner's call; both opt-in measures rerun (figures in the Performance row). The owner trial is pending. The suites run on the sandbox only (`pnpm db:sandbox`). | Kind | Tests | |---|---| @@ -63,7 +63,7 @@ Implemented (plan `.claude/tasks/plans/2026-11-17-v1-2-6-u2.md`, rev 4; boards ` | Keyboard | create a zone, add and remove a vertex, move the zone, validate, without a pointer; « + » inserts and Backspace removes on a focused vertex, Backspace after an undo acts on the same focused handle; Ctrl+Z on a focused handle after arrow moves only cancels the preview and a later Enter commits nothing stale; after undoing « + », « − » never removes the wrong vertex; « Désélectionner » commits a pending series | | Paths (T16) | a path annotation gets no handle, no « + » or « − », no zone move in either mode, no keyboard move; its `d` is byte-identical after every gesture on its neighbours, a save and a reload; « Remplacer par un polygone » stays the only change: explicit, validated by the core, the path kept while tracing, on Escape and on a refusal; one undo entry restoring the exact `d`, redo restoring the polygon (owner, BDR-101) | | Accessibility | axe on selection, tracing, move states and the dialog in read and edit modes; handle names (« Point {nom} », « Sommet {n} de {nom} », « Ajouter un sommet après le sommet {n} de {nom} », « Retirer le sommet {n} de {nom} », the handle group « Sommets de {nom} »); live-region message after a move; WCAG 2.5.7: the move mode with four arrow buttons is the single-pointer path without dragging (A11) | -| Performance | commit latency under the 500 ms budget for drag, insert and remove, a measure run by hand at the gates (`e2e/support/measure-commit.ts`, `editor-measure-commit.spec.ts`, `MEASURE_COMMIT=1`) on a run-seeded equine-sized draft, never on the historical copy nor through `editor-equine.spec.ts`. Measured 2026-11-18 on a production build under `vite preview`, Chromium mouse at 1 280 px, CPU ×4, from the release to the painted frame showing the new geometry with the undo entry; on the final code (f9656a0d, 2026-11-19): median / max drag 194.7 / 220 ms, « + » 198.4 / 201.7 ms, « − » 193.5 / 196.6 ms (three runs each; 15b23f8 and earlier figures in plan Task 10); the drag smoothness is a measure, not an assertion (`e2e/support/measure-drag.ts`, `editor-measure-drag.spec.ts`, run by hand). Measured 2026-11-18 on a production build under `vite preview`, Chromium touch at 1 180 px, CPU ×4: frame work p95 3.9 to 4.5 ms with the loupe (technique A, final code 15b23f8; 4.2 to 4.7 ms before), 4.0 to 4.4 ms outline only (B), 3.6 to 4.2 ms without a loupe; technique A kept. Rerun on f9656a0d (2026-11-19, same setup): touch with the loupe, handler to frame median 3.7 ms, p95 6.0 ms (event to frame median 26.7 ms, p95 34.7 ms); mouse, handler to frame p95 6.1 ms. The figures are in plan Task 8; the owner's tablet trial is the real check | +| Performance | commit latency under the 500 ms budget for drag, insert and remove, a measure run by hand at the gates (`e2e/support/measure-commit.ts`, `editor-measure-commit.spec.ts`, `MEASURE_COMMIT=1`) on a run-seeded equine-sized draft, never on the historical copy nor through `editor-equine.spec.ts`. Measured 2026-11-18 on a production build under `vite preview`, Chromium mouse at 1 280 px, CPU ×4, from the release to the painted frame showing the new geometry with the undo entry; on the final code (da8642dd, 2026-11-19): median / max drag 182.5 / 199.9 ms, « + » 176.3 / 183.1 ms, « − » 173.8 / 177.1 ms (three runs each; 15b23f8 and earlier figures in plan Task 10); the drag smoothness is a measure, not an assertion (`e2e/support/measure-drag.ts`, `editor-measure-drag.spec.ts`, run by hand). Measured 2026-11-18 on a production build under `vite preview`, Chromium touch at 1 180 px, CPU ×4: frame work p95 3.9 to 4.5 ms with the loupe (technique A, final code 15b23f8; 4.2 to 4.7 ms before), 4.0 to 4.4 ms outline only (B), 3.6 to 4.2 ms without a loupe; technique A kept. Rerun on da8642dd (2026-11-19, same setup): touch with the loupe, handler to frame median 3.0 ms, p95 4.3 ms (event to frame median 27.8 ms, p95 30.3 ms); mouse, handler to frame p95 3.1 ms. The figures are in plan Task 8; the owner's tablet trial is the real check | ## U3 · Category panel and own colour