docs(docs): U2 trial amendments before the handle change

This commit is contained in:
bchanot committed 2026-11-20 14:35:53 +01:00
1 parent 70d4addc56
commit 4e99305833
3 files changed
+38 -6

No files matched your search

@@ -465,3 +465,14 @@ apps/app/src/components/shell/AppLayout.tsx, apps/app/src/state/leaveGuardStore.
(`editor-annotations.spec.ts:924`), and the two hand-run measures above. I did not split these 229 by reason (`editor-annotations.spec.ts:924`), and the two hand-run measures above. I did not split these 229 by reason
one by one. one by one.
- Counts come from the run log; a rerun can differ. chromium-320 is not part of the run above. - Counts come from the run log; a rerun can differ. chromium-320 is not part of the run above.
### Owner decisions 2026-11-20 (addendum 3)
- Criterion 32: validated by the owner on the trial build; REOPENED by the owner (2026-11-20) until re-verified on the final code (the 44 px add buttons move the pinned thresholds): short windows and several rows of view chips (plan Task 7 Step 4b).
- Criterion 12 reworded: « The add buttons: a pointer press (click or tap) arms their tool, the
shape is placed or traced on the drawing and the dialog opens itself; a keyboard press (Enter,
Space) places the shape at the centre and opens the dialog; a second single pointer press on an
armed button disarms it, behind the R-12 guard; a double-click leaves it armed. »
- Coarse marks lightened (vertex 14, « + » 18, « − » 32 × 26 drawn in a 44 × 36 hit); criterion 18
unchanged; the « − » bubble placed on the open side of its vertex, clear of shown « + » hit
areas, on screen. Add buttons 44 px tall below 1 280 px; the pinned column budget follows.
- Contract of the change: `.claude/tasks/contracts/2026-11-20-u2-trial-adjustments-1259.md`.
+17 -6
View File
@@ -171,10 +171,14 @@ under zoom: the layer divides them by the drawing's px per unit (the box size
over the frame, times the zoom). The device size is read once per handle layer over the frame, times the zoom). The device size is read once per handle layer
from `(any-pointer: coarse)`: from `(any-pointer: coarse)`:
| Device | Vertex | « + » | « − » bubble | Hit radius | | Device | Vertex (chosen) | « + » | « − » bubble (drawn / hit) | Hit radius |
|---|---|---|---|---| |---|---|---|---|---|
| Coarse (finger) | 18 px | 24 px | 44 × 36 px | 22 px | | Coarse (finger) | 14 px (18 px) | 18 px | 32 × 26 / 44 × 36 px | 22 px |
| Fine (mouse, pen) | 12 px | 16 px | 28 × 22 px | 10 px | | Fine (mouse, pen) | 12 px (16 px) | 16 px | 28 × 22 / 28 × 22 px | 10 px |
The coarse marks were lightened after the owner's tablet trial (2026-11-20); every
hit area kept its size, so the touch targets, the « + » threshold and the zoom hint
are unchanged.
The point handle covers the selected point's own circle (at least the hit The point handle covers the selected point's own circle (at least the hit
radius), so the whole marker can be held. A chosen vertex is drawn bigger, radius), so the whole marker can be held. A chosen vertex is drawn bigger,
@@ -183,8 +187,15 @@ filled and ringed, never by colour alone.
A selected polygon (zone, or a link traced as a polygon) gets its handles in the A selected polygon (zone, or a link traced as a polygon) gets its handles in the
same layer, in this order: one « + » at the midpoint of each segment (wrapping same layer, in this order: one « + » at the midpoint of each segment (wrapping
from the last vertex to the first), then one vertex handle per vertex, then the from the last vertex to the first), then one vertex handle per vertex, then the
« − » bubble of the chosen vertex, a rounded rectangle drawn just above that « − » bubble of the chosen vertex, a rounded rectangle placed away from the
vertex. Each is a `role="button"` with `tabindex="0"`, so Tab and Shift+Tab walk vertex's two segments, on the side of the larger angle they make, so the « + »
of those segments are never in its way. Its hit rectangle never meets the
vertex's own hit circle nor the hit circle of a shown « + »; when room allows
it also keeps clear of the other vertices' hit circles. It always lies inside
the drawing and, while its vertex is on screen, inside the part shown; when
that part leaves no place clear of the « + », it stays on screen with no
« + » centre under it and its own centre under no « + ». Its place is computed
at each render (zoom, pan, drag preview), never stored. Each is a `role="button"` with `tabindex="0"`, so Tab and Shift+Tab walk
them in document order. They sit in one `<g role="group">` named « Sommets de 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: {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} », « Sommet {n} de {nom} », « Ajouter un sommet après le sommet {n} de {nom} »,
@@ -193,7 +204,7 @@ 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 « + » 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`, 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. 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 No handle covers the polygon's interior, except the « − » bubble of a vertex whose larger angle is inside (a re-entrant corner): a press inside it still reads the
core's markers, so an annotation drawn on top is the one a click reaches. A core's markers, so an annotation drawn on top is the one a click reaches. A
path, or an annotation without geometry, gets no handle. The pending shape of a path, or an annotation without geometry, gets no handle. The pending shape of a
resumed creation gets the same handles (see the creation marks below). resumed creation gets the same handles (see the creation marks below).
+10
View File
@@ -218,3 +218,13 @@ Corrections apportées (passe 3) : libellé ajouté à la table, 13 C aligné su
alignées sur ARBITRAGES (A1 à A3) ; loupe de 13 D au-dessus du point ; points de suspension dans les champs ; en-tête alignées sur ARBITRAGES (A1 à A3) ; loupe de 13 D au-dessus du point ; points de suspension dans les champs ; en-tête
de la tablette à 44 px ; A15 ajouté ; TODO à jour. Vérifié par rendu (planches 13 et 31) ; les autres planches ne de la tablette à 44 px ; A15 ajouté ; TODO à jour. Vérifié par rendu (planches 13 et 31) ; les autres planches ne
changent que par ces points. changent que par ces points.
## Amendement propriétaire 2026-11-20 (essai tablette)
- Tablette : sommets 14 px (18 px choisi), « + » 18 px, bulle « − » dessinée 32 × 26 px ; les
zones tactiles restent 44 px (cercles) et 44 × 36 px (bulle). Remplace les tailles visibles de
la planche 13.
- La bulle « − » n'est plus toujours au-dessus du sommet (planche 05) : elle se place du côté
libre du sommet, à l'écart de ses segments et des « + » affichés, toujours visible à l'écran.
- « Ajouter un point / une zone / un accès » : un clic ou un toucher arme l'outil (bouton
enfoncé, un second appui le désarme) ; Entrée ou Espace pose au centre. 44 px de haut sous
1 280 px.