docs(docs): rev 4 owner trial, UX tests and rendering notes

This commit is contained in:
bchanot committed 2026-11-19 14:13:59 +01:00
1 parent 682bbd4a18
commit 05a8525455
4 files changed
+81 -45

No files matched your search

+21 -18
View File
@@ -189,8 +189,8 @@ Shift+Tab walk them in document order. They sit in one `<g role="group">` named
« Sommets de {nom} »; each name carries the shape's display name in the current
locale: « Sommet {n} de {nom} », « Ajouter un sommet après le sommet {n} de
{nom} », « Retirer le sommet {n} de {nom} ». A « + » is not drawn while its segment
is shorter than two hit radii on screen at the current zoom (R-9); Insert on
a vertex still reaches it. The « − » bubble is `aria-disabled` and greyed
is shorter than two hit radii on screen at the current zoom (R-9); Insert or the
« + » key on a vertex still reaches it. The « − » bubble is `aria-disabled` and greyed
while the polygon has three vertices. Above 40 vertices (`HANDLE_CAP`, T18)
the layer draws no handle at all: the overlay keeps the selection outline.
No handle covers the polygon's interior: a press inside it still reads the
@@ -226,15 +226,16 @@ on a cancel (a second finger, a lost capture, a document change) and at the end
of the press. A mouse or pen drag shows no loupe.
The edit strip (U2 Task 14) stays under the shell's top bar from 1 024 px: it is
`sticky` at `top: var(--shell-top-bar-height)`, opaque, with a z-index of 5 (above the
drawing, under the loupe, the menus, the bar and the dialogs), and no ancestor sets an
`overflow` other than visible. The bar's height (3.5 rem plus the safe-area inset) and the
strip's (`--edit-strip-height`) are CSS variables of `styles/index.css`, which also feed a
`scroll-margin-top` on the drawing place's focus targets (rows, every focusable handle through
`data-focus-target`, the canvas box), from 1 024 px and only while the place is not `hidden`, so a focus or a
`scrollIntoView` never lands under either. It is a margin, not a page `scroll-padding`: the
padding made the page jump when the focus went to the sticky bar or strip themselves.
Below 1 024 px the strip is not sticky.
`sticky` at `top: var(--shell-top-bar-height)`, opaque, with a z-index of 5
(above the drawing, under the loupe, the menus, the bar and the dialogs), and no
ancestor sets an `overflow` other than visible. The bar's height (3.5 rem plus
the safe-area inset) and the strip's (`--edit-strip-height`) are CSS variables
of `styles/index.css`, which also feed a `scroll-margin-top` on the drawing
place's focus targets (rows, every focusable handle through `data-focus-target`,
the canvas box), from 1 024 px and only while the place is not `hidden`, so a
focus or a `scrollIntoView` never lands under either. It is a margin, not a page
`scroll-padding`: the padding made the page jump when the focus went to the
sticky bar or strip themselves. Below 1 024 px the strip is not sticky.
A creation (U2 Task 7, A2, A4, A12) is drawn by the overlay too, never by the
core, since the new shape is not in the document until « Créer »:
@@ -254,13 +255,15 @@ core, since the new shape is not in the document until « Créer »:
- a resumed trace (« Reprendre le tracé », board 04 C, rev 4): the closed
ghost stays drawn as above, and the handle layer draws the polygon handles
on it exactly as on a selected polygon (« + », vertices, the chosen vertex's
« − » bubble, the 40-vertex cap, the R-9 zoom rule). Their names carry the
form's name in the current locale, or « cette nouvelle zone » / « ce nouvel
accès » while it is empty (« Sommets de ce nouvel accès »). During a vertex drag the ghost stays at its last
place and the dragged outline is drawn as a selection preview (dashed ink,
its vertices), without the grey old place; the loupe follows a finger as on
a stored zone. A change of the shape only replaces the ghost's geometry: the
document is untouched until « Créer ».
« − » bubble, the R-9 zoom rule). A resumed shape above 40 vertices shows no
handle, and no press inside the pending shape moves it. The handle names
carry the form's name in the current locale, or « cette nouvelle zone » / « ce
nouvel accès » while it is empty (« Sommets de ce nouvel accès »). During a
vertex drag the ghost stays at its last place and the dragged outline is
drawn as a selection preview (dashed ink, its vertices), without the grey
old place; the loupe follows a finger as on a stored zone. A change of the
shape only replaces the ghost's geometry: the document is untouched until
« Créer ».
While a creation is in progress the canvas box carries `data-creating`. The
stylesheet then dims every core marker (`[data-anno-id]` at 0.35 opacity, no
+6 -6
View File
@@ -234,10 +234,10 @@ tablet (A13); the message after a gesture never moves or resizes the drawing (A1
fields actually missing (board 33).
2026-11-18: U2 BUILT from the validated `v1-2-6-u2/` boards (plan `.claude/tasks/plans/2026-11-17-v1-2-6-u2.md`, Tasks 1
to 8; the owner tries it on `pnpm db:trial` before U2 closes). Where the code differs from a board, the owner's trial
decides: the message line is its own fixed row under the add buttons at the drawing's full width (board 02 C draws it
beside the buttons), and a refusal's text also shows in the strip's middle; « Reprendre le tracé » reopens the polyline
without handles (board 04 C draws handles); the point-size slider is hidden while the creation dialog shows; the
strip's left part has a fixed width, so a long name truncates; board 31 gaps: no category swatch, the
discard buttons wrap at 352 px, the dialog header scrolls with its content. Boards 14 and 16 (phone, read-only) are
to 8, rev 4 Tasks 11 to 15; the owner tries it on `pnpm db:trial` before U2 closes). Where the code differs from a board,
the owner's trial decides: the message line is its own fixed row under the add buttons at the drawing's full width
(board 02 C draws it beside the buttons), and a refusal's text also shows in the strip's middle; the point-size slider
is hidden while the creation dialog shows; the strip's left part has a fixed width, so a long name truncates; board 31
gaps: no category swatch, the discard buttons wrap at 352 px, the dialog header scrolls with its content. « Reprendre le
tracé » (rev 4) draws the closed shape with its handles as board 04 C. Boards 14 and 16 (phone, read-only) are
unchanged.
+51 -18
View File
@@ -766,17 +766,45 @@ Tablette en paysage (au moins 1 024 px de large ; en dessous, l'éditeur est en
14. Rotation avec une boîte ouverte. Action : ouvrez « Propriétés », commencez une saisie, puis tournez la tablette en
portrait et revenez en paysage. Attendu : la saisie est gardée. En portrait sous 1 024 px, la fiche passe en
lecture seule et « Enregistrer » est désactivé ; de retour en paysage, il redevient actif.
15. Reprendre le tracé (souris, 1 280 px). Action : outil « Zone », posez quatre sommets, fermez le tracé, puis
« Reprendre le tracé ». Attendu : la zone fermée reste dessinée et montre ses poignées, comme sur la planche 04 C :
des sommets, des « + » au milieu des segments, et le « − » du sommet choisi. Glissez un sommet, cliquez un « + »,
puis un « − », puis déplacez un sommet aux flèches. Le dessin garde la forme corrigée. Cliquez « Créer » : « Zone
créée » avec cette forme. Tant que le nom est vide, les poignées se lisent « Sommet n de cette nouvelle zone ».
16. Clavier Mac (ou toute touche Retour arrière). Action : sélectionnez « Vertèbres thoraciques », donnez le focus
à un sommet par Tab. Appuyez sur Retour arrière : le sommet est retiré, le suivant est choisi. Au minimum de
trois sommets, la touche est refusée et le message le dit. Faites Cmd+Z : le sommet revient. Sur ce même sommet, qui
garde le focus, appuyez de nouveau sur Retour arrière : il est retiré une seconde fois. Appuyez sur « + » (la
touche, pas le bouton) : un sommet est inséré après le sommet focalisé. Avec un lecteur d'écran, le groupe se lit
« Sommets de Vertèbres thoraciques ».
17. Tablette : le focus après chaque geste. Action : faites une série (le curseur « Taille » ou des flèches sur une
poignée), puis touchez une poignée ; recommencez en touchant ailleurs sur le dessin, puis
« Déplacer … », « Redessiner », « Désélectionner » et « − ». Attendu : le focus n'est jamais perdu. La touche Tab
suivante, ou une flèche, agit là où vous l'attendez. Seul un vrai iPad sous Safari prouve ce point : Chromium donne
lui-même le focus à l'élément touché, ses tests n'en disent rien.
18. Tablette et fenêtres de 1 024, 1 180 et 1 280 px : la bande qui reste en haut. Action : faites défiler la page
avec une annotation sélectionnée. Attendu : la bande reste entière sous la barre du haut, rien ne bouge et rien
n'est caché derrière. Un Tab sur une commande de la bande ou sur un lien de la barre ne fait pas défiler la page.
19. Refaire retenu. Action : pendant une création (outil « Point » ou « Zone », avant « Créer »), donnez le focus à
« Refaire » puis à « Défaire » : un lecteur d'écran lit la raison. Appuyez dessus : la raison s'affiche sous le
dessin et rien d'autre ne se passe. Puis abandonnez la création, déplacez un point par une série de flèches sans la
valider et cliquez « Refaire » à la souris : la raison s'affiche, la série reste en attente.
#### Acceptés pendant la construction
Vous avez accepté ces quatre comportements ; ils ne sont plus à juger :
- Échap pendant un nouveau tracé demande d'abord « Abandonner la création ? ».
- « Annuler le tracé » abandonne tout de suite.
- Un double clic sur un « + » insère un seul sommet.
- Un message reste affiché tant qu'il a le focus.
#### Choix visibles à juger pendant l'essai
Ces points s'écartent des planches ou n'y figurent pas. Ils ont été tranchés pendant la construction ; dites pour
chacun s'il vous convient.
Interprétations et écarts par rapport aux planches :
- « Reprendre le tracé » rouvre la ligne de sommets : chaque clic ajoute un sommet, « Retirer le dernier sommet »
(bouton en plus des deux de la planche) retire le dernier, fermer sur le premier sommet ou « Revenir aux
propriétés » rouvre la boîte. La planche 04 C dessine le polygone fermé avec ses sommets et ses « + ».
- Pendant un nouveau tracé, Échap demande « Abandonner la création ? », alors que « Annuler le tracé » abandonne tout
de suite. La planche 04 A abandonne tout de suite dans les deux cas.
- « Reprendre le tracé » montre maintenant la zone fermée avec ses poignées, comme la planche 04 C. Pendant le
glissé d'un sommet, le contour en attente reste en place et le contour glissé s'affiche en aperçu. On ne glisse pas
la zone en attente par l'intérieur, et une forme reprise de plus de 40 sommets n'a pas de poignées.
- « Aller à » pendant une création pose d'abord la question, au lieu de garder la demande pour plus tard.
- Le curseur « Taille » est caché tant que la boîte de création est ouverte, et revient quand vous replacez un point
(planche 02 : visible pendant « Nouveau point »).
@@ -790,7 +818,7 @@ Interprétations et écarts par rapport aux planches :
- Une série de flèches au clavier sur une poignée ou sur le curseur « Taille » (hors des modes « Déplacer … ») est
enregistrée quand vous changez d'onglet, de vue ou d'outil, ou quand vous quittez l'éditeur : elle entre dans
l'historique au lieu d'être perdue.
- Une zone de plus de 40 sommets n'a ni poignées ni glisser de l'intérieur ; ses boutons restent.
- Une zone enregistrée de plus de 40 sommets n'a ni poignées ni glisser de l'intérieur ; ses boutons restent.
- Un accès tracé en polygone a ses sommets et « Redessiner », mais pas de « Déplacer » ; un accès en cercle se glisse
au doigt comme un point, sans curseur de taille.
- « Défaire » pendant un mode ou un nouveau tracé annule seulement ce mode ; Échap annule un nouveau tracé depuis
@@ -814,18 +842,23 @@ Interprétations et écarts par rapport aux planches :
message « deux doigts » s'affiche quand le doigt se lève, pas dès le début du glisser.
- Ctrl+Z défait maintenant aussi quand le focus est sur le curseur « Taille » ou une case à cocher ; seuls les champs
de texte gardent leur propre annulation.
- « Refaire » est grisé, sans explication, tant qu'un déplacement, un redessin ou des pas aux flèches ne sont pas
enregistrés (Ctrl+Maj+Z ne fait rien non plus) : le travail en cours est gardé, jamais perdu en silence.
Dites si un grisé sans message vous suffit.
- Claviers Mac : il n'y a pas de touche Inser, et la touche « effacer » envoie Retour arrière. Sur un sommet, Inser
ajoute et Suppr retire ; sur Mac, seul le « − » (Entrée) retire, et un « + » caché sur un segment court ne
s'atteint qu'en zoomant. À vous de choisir si Retour arrière agit comme Suppr sur un sommet, et quelle touche
remplace Inser.
- La ligne de message (« Point déplacé · Défaire ») reste affichée tant que la souris la survole, et aussi tant que le
focus clavier est dedans (règle WCAG 2.2.1 : « Défaire » ne doit pas disparaître sous le clavier). La maquette ne
parlait que de la souris.
- À observer : après un appui du doigt, ou un clic sous Safari, qui enregistre des pas aux flèches encore en
attente, le focus clavier revient sur la page et non sur le bouton appuyé. Notez-le si cela vous gêne au clavier.
- « Refaire » attend la fin de la modification en cours (un déplacement, un redessin ou des pas aux flèches non
enregistrés), et « Défaire » comme « Refaire » sont retenus pendant une création. Les deux phrases exactes :
« Refaire attend la fin de la modification en cours : validez-la ou annulez-la. » et « Indisponible pendant une
création : créez l'annotation ou abandonnez-la. » Un appui sur un bouton retenu affiche la raison sous le dessin
et ne fait rien d'autre ; un appui à la souris n'enregistre plus une série en attente. Ctrl+Z ou Cmd+Z pendant la
retenue reste muet. Sur un autre onglet, un appui n'affiche rien : la raison est seulement lue au focus.
- La touche « + » sur un sommet focalisé insère un sommet après lui, et Retour arrière retire comme Suppr. Après un
Ctrl+Z, ces touches agissent sur la poignée qui a le focus. « + » sur la boîte du dessin zoome toujours.
- La bande reste collée sous la barre du haut à partir de 1 024 px. La loupe peut se peindre par-dessus la bande près
du haut du dessin. Les cibles de focus du dessin se posent sous la bande.
- Poignées d'une forme en attente : leur nom est « cette nouvelle zone » ou « ce nouvel accès » tant que le nom
est vide (« Sommets de cette nouvelle zone »).
- Un appui sur « − » à la souris choisit et focalise le sommet suivant, comme Suppr au clavier ; à la souris, la
bulle « − » réapparaît sur ce sommet.
- Au toucher, une création commencée au doigt donne le focus aux commandes du tracé (au clavier il reste sur la boîte
du dessin). Un glisser au doigt choisit le sommet glissé dès le début du glisser. Après un toucher sur un point qui
ouvre sa boîte de propriétés, la fermer rend le focus à la rangée de l'annotation.
- Les poignées d'une zone portent maintenant le nom de la zone, lu par les lecteurs d'écran : « Sommet 3 de
Vertèbres thoraciques », « Ajouter un sommet après le sommet 3 de … », « Retirer le sommet 3 de … », et leur groupe
s'appelle « Sommets de … » (liste complète ci-dessous).
+3 -3
View File
@@ -50,17 +50,17 @@ 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 3; 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 10) rerun 2026-11-18 on 15b23f8, the final code (later commits are documents only): `pnpm check:all` passed; the shell suite, every file but `editor-equine.spec.ts` in four batches, 311 passed, 14 failed, 200 skipped, 1 did not run (526 tests, 33 files), and is not green. The failures are `admin.spec.ts` 6 and `catalogue-integrity.spec.ts` 5 (4 when run alone and on pre-U2 56c75b1, where `admin.spec.ts` also fails the same 6 with the same errors; the failing card tests vary from run to run); `catalogue.spec.ts` 2 and `admin-sheets-list.spec.ts` 1 failed in the batch, (its serial :432 did not run after :396 crashed); alone `admin-sheets-list` passed 8, `catalogue` failed 1 then 2 different tests on a page still loading at 10 s and passed 8 with one worker (contention on the loaded sandbox; not run on 56c75b1). `pnpm db:sandbox test` 105 passed, 10 skipped; `pnpm db:sandbox test-db` FAIL, `014_animals_relations` 2/258 and `021_sheet_verification_jobs` 23 failed (« Bad plan », `draft.frozen`), as recorded before U2 on accumulated sandbox data. 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: figures to be filled at the final gate run (the 2026-11-18 figures on 15b23f8 are in plan Task 10 and no longer describe the code). The owner trial is pending. The suites run on the sandbox only (`pnpm db:sandbox`).
| Kind | Tests |
|---|---|
| Unit (tables) | the press machine (`annotations.press.test.ts`): slop per kind (4, 6 and 10 CSS px), click and drag decisions, handle priority (vertex over « − » over « + », nearest first), double click within 400 ms and 8 px opens the dialog and never inserts, a second pointer cancels; slider stops, most-used radius, snap within 8 CSS px, range (`pointSize`); midpoint insert after the segment start, « − » refused at 3 vertices (`message.vertex_min`), vertex move, no-op move, the 40-vertex cap, « + » hidden under two hit radii (`polygonEdit`); Escape action (`escape`); `missingFields` names only the missing fields in form order; keyboard map (arrows by 0.5 % of the frame's longer side, Shift ×10, Insert and Delete on a vertex, Backspace while tracing, Enter, Escape, roving focus); arrows pan only when the box itself is focused (`useFraming`, catalogue defaults unchanged); two pointers translate without scaling (`twoPointerPan`) |
| Unit (state) | every preview, keyboard series and chosen vertex carries the `documentText` it was computed on, and a stale stamp is refused (`annotations.workStore.test.ts`); a preview is cancelled and restored, never committed, on undo, document replacement, tab change and a second pointer; redo is held (the header « Refaire » greyed, Ctrl+Shift+Z inert) while a move mode, a redraw or uncommitted arrow or slider steps are pending, so the pending work is kept, never dropped (`editor-zone-edit.test.tsx` « final review I-1 »); an undo with a move mode, a slider or a series pending only cancels the preview (R-13); during a creation undo is inactive and « Défaire » is hidden (A12); the message line: « Point déplacé · Défaire » calls the same `undo()` as the header, any commit, undo or redo closes it, a refusal is `role="alert"` without « Défaire », 6 s, a mouse hover or the keyboard focus inside the line pauses it (WCAG 2.2.1) and a touch does not; the hint after a futile finger drag only when the line is free and never after a two-finger gesture worked (R-1); the slider commits once on release (history depth after a keyboard walk); the strip keeps a fixed height and truncates a long name before the status; dialogs mounted outside `EditOnly`: the width flip and the mode flip keep the draft, disable the save and commit nothing (R-14); a creation, a started move mode or a started redraw asks before a tab, a section, a view chip, a tool, Back, Escape, sign-out or leaving the editor, and a document change made elsewhere announces the dropped work (R-12, R-13); `Dialog` `anchor`, a click on the veil does nothing (R-6); undo history cap 8 MiB, about 47 equine steps (R-15) |
| Unit (state) | every preview, keyboard series and chosen vertex carries the `documentText` it was computed on, and a stale stamp is refused (`annotations.workStore.test.ts`); a preview is cancelled and restored, never committed, on undo, document replacement, tab change and a second pointer; redo is held (the header « Refaire » `aria-disabled`, Ctrl+Shift+Z inert) while a move mode, a redraw or uncommitted arrow or slider steps are pending, so the pending work is kept, never dropped (`editor-zone-edit.test.tsx` « final review I-1 »); a held « Refaire » or « Défaire » (a creation holds both) carries its reason as the accessible description, a press shows the reason in the message line and does nothing else (a mouse press no longer commits a pending series), Ctrl+Z during a hold is silent, and another tab shows no message (`holdOf`, `HistoryButtons.tsx`); « + » and Backspace on a focused vertex handle insert and remove like Insert and Delete, and after an undo the keys act on the focused handle (`useZoneEdit.ts`); a resumed trace gets the polygon handles on its pending shape, named « cette nouvelle zone » or « ce nouvel accès » while the form has no name, with no interior drag and no handle above 40 vertices (`creationWork.ts`); an undo with a move mode, a slider or a series pending only cancels the preview (R-13); during a creation undo is inactive and « Défaire » is hidden (A12); the message line: « Point déplacé · Défaire » calls the same `undo()` as the header, any commit, undo or redo closes it, a refusal is `role="alert"` without « Défaire », 6 s, a mouse hover or the keyboard focus inside the line pauses it (WCAG 2.2.1) and a touch does not; the hint after a futile finger drag only when the line is free and never after a two-finger gesture worked (R-1); the slider commits once on release (history depth after a keyboard walk); the strip keeps a fixed height and truncates a long name before the status; dialogs mounted outside `EditOnly`: the width flip and the mode flip keep the draft, disable the save and commit nothing (R-14); a creation, a started move mode or a started redraw asks before a tab, a section, a view chip, a tool, Back, Escape, sign-out or leaving the editor, and a document change made elsewhere announces the dropped work (R-12, R-13); `Dialog` `anchor`, a click on the veil does nothing (R-6); undo history cap 8 MiB, about 47 equine steps (R-15) |
| Core | the per-view minimum visible radius (`PreviewState.min_point_radius`) equals the `marker_too_small` threshold on the equine views and on edge frames (`sheet_preview.rs`, `editor-min-point-radius.test.ts`) |
| E2E mouse | drag a vertex, « + », « − », zone drag on a selected zone, redraw accepted, redraw refused by `interior_too_small` keeps and restores the old shape, undo and redo of each (`editor-zones.spec.ts`); a point: handle drag, size by a click on the track, the move mode (`editor-annotations.spec.ts`); the properties dialog opens over the right column and never over the drawing, a click on the veil does nothing, a double click on the selected zone opens it and inserts no vertex, a typed form then Back asks, a width crossing below 1 024 px keeps the draft (`editor-properties.spec.ts`); « Défaire » in the message line undoes the same entry as the header button, which carries the accessible name « Défaire la dernière modification » (T15; EN « Undo the last change ») |
| E2E touch (`hasTouch`, 1 024, 1 180, 1 280 px; CDP `Input.dispatchTouchEvent`) | one finger drags a vertex and the point under the loupe; every handle hit circle is at least 44 px; one finger off the handles moves nothing and shows the hint once, with no hint over a page scroll; two fingers zoom and pan; finger 1 on a vertex handle then finger 2: the drag is cancelled, the shape restored, nothing committed, the pinch zooms (Review Focus 1); the move mode by a finger; a tap on the selected shape opens the dialog and it stays open (Review Focus 5), with a chosen vertex it unchooses; the trace closes from a finger within 22 px; page scroll over the canvas with a selection and outside it (`editor-touch.spec.ts`, `editor-properties.spec.ts`, `editor-deselect.spec.ts`) |
| Layout (A14) | `expectNoShift` (`e2e/support/layout.ts`) at 1 024, 1 180 and 1 280 px: no box of the canvas, the strip, the aside or the header moves, `scrollHeight` and the scrollbar gutter are unchanged, and the layout-shift sum is zero around selection, strip content, a message showing and expiring, the hint, a dialog opening and closing, mode entry and exit, and the first commit's save line; `scrollbar-gutter: stable` on the editor page only (`editor-annotations.spec.ts`) |
| Keyboard | create a zone, add and remove a vertex, move the zone, validate, without a pointer; 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 |
| 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 (15b23f8): median / max drag 174.7 / 202.1 ms, « + » 175.1 / 178.3 ms, « − » 169.7 / 182.2 ms (three runs each; 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. The figures are in plan Task 8; the owner's tablet trial is the real check |