docs(docs): U2 gate figures on the final code da8642dd

This commit is contained in:
bchanot committed 2026-11-19 18:45:11 +01:00
1 parent da8642dd44
commit 56a76a70f8
3 files changed
+6 -6

No files matched your search

+2 -2
View File
@@ -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