docs(docs): tablet trial step prepares long views; UX_TESTS run line

This commit is contained in:
bchanot committed 2026-11-21 23:22:06 +01:00
1 parent 58561e5607
commit 4089d8a849
2 files changed
+18 -8

No files matched your search

+17 -7
View File
@@ -846,13 +846,23 @@ Tablette en paysage (au moins 1 024 px de large ; en dessous, l'éditeur est en
pose du côté libre du sommet, à l'écart de ses deux segments et des « + » affichés, entière à l'écran. Les sommets
et les « + » sont plus légers qu'avant mais restent assez grands pour le doigt. Touchez un « + » : un sommet est
ajouté ; « Défaire » le retire. Notez tout sommet dont la bulle cache un « + » ou sort de l'écran.
23. La rangée des vues au doigt. Action, sur la tablette, avec la fiche équine (plusieurs vues aux noms longs) :
faites glisser la rangée des puces avec un doigt, puis un coup de doigt rapide ; commencez un glissé sur un
chevron ; commencez un pincement (zoom) sur la rangée ; touchez une puce à moitié cachée sous un dégradé ; faites un
double toucher sur une puce. Attendu : la rangée défile et la page ne bouge pas, aucune vue ne s'ouvre pendant le
glissé ; un glissé qui commence sur un chevron ne défile pas (zone morte, attendu) ; le pincement zoome la page
sans ouvrir de vue ; la puce à moitié cachée s'ouvre au premier toucher ; le double toucher n'ouvre que cette vue,
jamais sa voisine. Notez tout geste qui ouvre une autre vue que celle touchée.
23. La rangée des vues au doigt. Préparation, dans l'éditeur du brouillon d'essai : la fiche équine de l'essai n'a que
deux vues (« Vue latérale gauche », « Tête (vue latérale gauche) »), la rangée ne déborde pas en paysage et le
dégradé comme le chevron n'apparaissent pas. Onglet « Annotations », section « Vues », bloc « Nouvelle vue de
détail » : saisissez « Détail de la région thoracique 1 » dans « Nom de la vue (FR) » et « Thoracic region detail 1 »
dans « Nom de la vue (EN) », laissez « Vue parente » sur la vue principale, saisissez un recadrage dans les quatre
champs (par exemple 100, 150, 300 et 200 : sans recadrage, la vue attend sa propre illustration), puis « Ajouter la
vue ». Recommencez jusqu'à « Détail de la région thoracique 6 ». Ouvrez ensuite la fiche et vérifiez que la rangée
des puces déborde : un dégradé et un chevron apparaissent à droite. Sans eux, ajoutez une vue de plus avant de
continuer. Action, sur la tablette : faites glisser la rangée des puces avec un doigt, puis un coup de doigt rapide ;
commencez un glissé sur un chevron ; commencez un pincement (zoom) sur la rangée ; touchez une puce à moitié cachée
sous un dégradé ; faites un double toucher sur une puce. Attendu : la rangée défile et la page ne bouge pas, aucune
vue ne s'ouvre pendant le glissé ; un glissé qui commence sur un chevron ne défile pas (zone morte, attendu) ; le
pincement zoome la page sans ouvrir de vue ; la puce à moitié cachée s'ouvre au premier toucher ; le double toucher
n'ouvre que cette vue, jamais sa voisine. Notez tout geste qui ouvre une autre vue que celle touchée. Nettoyage : ces
six vues ne sont que de l'outillage d'essai. Retirez-les (« Supprimer » sur chaque vue, puis « Supprimer » dans la
boîte « Supprimer « … » ? ») ou, si vous gardez l'essai pour la suite, laissez-les : le brouillon d'essai est jetable
et rien n'oblige à les ôter. « Défaire » ne retire qu'une vue à la fois, la dernière ajoutée.
#### Acceptés pendant la construction
Vous avez accepté ces cinq comportements ; ils ne sont plus à juger :
+1 -1
View File
@@ -66,7 +66,7 @@ Implemented (plan `.claude/tasks/plans/2026-11-17-v1-2-6-u2.md`, rev 4 then rev
| Open-side bubble (« − ») | unit (`annotations.removeBubble.test.ts`): sweep over the six equine polygons of the main view at zoom 1 to 6, clear of every shown « + » and of its own vertex, inside the frame; a control showing the former centre fails the criterion (thoracic, vertex 2); the part on screen when zoomed and panned, an off-screen vertex not forced, a vertex rung kept clear of another vertex on the open ray. E2E touch (`editor-touch.spec.ts`): on « Vertèbres thoraciques » zoomed, every chosen vertex keeps its bubble clear, on screen and light; a tap on « + » adds, « Défaire » restores |
| Device-independent geometry (criterion 8) | `annotations.pointSize.test.ts` and the `insertMidpoint` tests of `annotations.polygonEdit.test.ts`; the handle sizes are read only by `HandleLayer` and `ZoneHandles` |
| Criterion 32 on the final code (Task 7 Step 4b), 2026-11-20, superseded by the three rows below | with eight long-named detail views the chips take 3 to 5 rows and the stuck column overflows the window bottom. Measured overflow: 1 024 × 768, 5 rows, 64.3 px; 1 180 × 820, 3 rows, 53.3 px; 1 180 × 700, 3 rows, 76.0 px; 1 280 × 800, 5 rows, 24.3 px. The canvas size and the absence of sideways scroll hold; near the page end the column top also rises above the strip bottom. The test is committed as `test.fixme` in `editor-geometry.spec.ts` (« owner decision pending (criterion 32, chips on several rows) »). The pinned budget has counted ONE row of chips since Task 17 (pre-existing: at 1 280 px the add row did not change and still overflows 24.3 px). With one row (the equine sheet) the whole `editor-geometry.spec.ts` passes, short windows included. Decision pending: the budget for chips on several rows (options: raise the pinned budget per chip row (measured), let the chips scroll in one row, or accept the limit) |
| Criterion 32 with one scrolling row (2026-11-21, board `v1-2-6-u2-chips/`, owner tablet check pending) | the chips sit in one horizontally scrolling row: it scrolls with a finger, a Shift + wheel, a tilt wheel or a trackpad horizontal scroll (« wheel » below means these: a plain vertical wheel does not move a horizontal row); the criterion 32 test in `editor-geometry.spec.ts` (`test.fixme` removed) passes at 1 024 × 768, 1 180 × 820, 1 180 × 700 and 1 280 × 800 with eight long-named views: one chip top, the row overflows inside itself (`scrollWidth > clientWidth`), the scroll walk green. The real DOM parts, read back at 1 180 × 820 and 1 280 × 800, are 162 px and 154 px, equal to the CSS budget (10.125rem and 9.625rem). Runs, all `--workers=2`, 0 failed (editor-geometry, editor-annotations and editor-touch ran on 190471d4, the other specs on 068ecd57; dated pass at HEAD 7d6f7cb2 (2026-11-21 22:58-23:07, `--workers=2`, clean tree): editor-geometry 62, editor-drawings 3, editor-shell-layout 13, editor-access 9, editor-shell-crossing 12, editor-touch 15, editor-annotations 23, editor-zones 5, editor-deselect 10, editor-journey 1 passed, 0 failed; unit app 2 238 passed): editor-geometry 59 passed, editor-annotations 23, editor-touch 15, editor-drawings 3, editor-shell-layout 13, editor-access 9, editor-shell-crossing 12; unit app 2 227 passed |
| Criterion 32 with one scrolling row (2026-11-21, board `v1-2-6-u2-chips/`, owner tablet check pending) | the chips sit in one horizontally scrolling row: it scrolls with a finger, a Shift + wheel, a tilt wheel or a trackpad horizontal scroll (« wheel » below means these: a plain vertical wheel does not move a horizontal row); the criterion 32 test in `editor-geometry.spec.ts` (`test.fixme` removed) passes at 1 024 × 768, 1 180 × 820, 1 180 × 700 and 1 280 × 800 with eight long-named views: one chip top, the row overflows inside itself (`scrollWidth > clientWidth`), the scroll walk green. The real DOM parts, read back at 1 180 × 820 and 1 280 × 800, are 162 px and 154 px, equal to the CSS budget (10.125rem and 9.625rem). Run: dated pass at HEAD 7d6f7cb2 (2026-11-21 22:58-23:07, `--workers=2`, clean tree): editor-geometry 62, editor-drawings 3, editor-shell-layout 13, editor-access 9, editor-shell-crossing 12, editor-touch 15, editor-annotations 23, editor-zones 5, editor-deselect 10, editor-journey 1 passed, 0 failed; unit app 2 238 passed. |
| View row tests (2026-11-21) | unit `annotations.viewRow.test.ts` (reveal, hint state) and `editor-view-row.test.tsx`: a guarded view change refused with « Continuer » leaves the active view and `aria-pressed` unchanged and runs no activation reveal; the row is revealed again on the active chip when the hidden edit body is shown again; a language switch with long names recomputes the hints; a removed view whose chip had focus leaves a tab stop; a keyboard focus entering a chip from outside the row (`:focus-visible`) reveals it, a pointer focus never does. A reveal is judged against where a slide in flight lands (a reversed arrow, an arrow after a chevron page), and a repeated click (`detail` above 1) on a chip is ignored. E2E (`editor-geometry.spec.ts`, `editor-shell-layout.spec.ts`): the view row at 1 024 × 768, on a phone (375), under the sticky strip, read-only (reviewer, 1 280 × 800), a pointer press on a peeking chip activates it at the first click without scrolling the row, a swipe starting on a chip activates nothing, language switch en to fr |
| Residual risks (one scrolling row; the three residuals owner-accepted 2026-11-21, the two rulings below, accepted by the owner 2026-11-21) | a row scroll closes an open « Défaire / Refaire » hold bubble (closed by any scroll, owner rule kept 2026-11-20); the chevron hit areas are a swipe dead zone at the row ends; some focus behaviours are proven only in Chromium (Tab entry clear of the fades relies on `scroll-padding-inline` plus the `:focus-visible` reveal). Test scope (controller ruling during execution, accepted by the owner 2026-11-21): the language-switch vertical check is measured below the draft header, which wraps per language; the read-only twin's shown-again placement is checked with the properties dialog open; touch fling and inertia, a drag starting under a chevron and pinch-zoom are left for the owner's tablet trial. Deviation from plan rev 3 (controller ruling during execution, accepted by the owner 2026-11-21): `scroll-padding-inline` alone left a chip partly under the end fade on Tab entry, so a chip receiving keyboard focus from outside the row is revealed; a pointer focus never reveals, so the row never scrolls at a press |
| Residual risks (trial adjustments) | assistive technologies activating with `detail ≥ 1` arm the tool instead of placing at the centre (mitigated 2026-11-21 by « Placer au centre » in the add row (works whatever the activation)); a fast double tap on the tablet browser: counted as a double-click (stays armed) or as two taps (arms then disarms), not verified on the device; the canvas box can be scrolled by a focus (overflow-hidden), the bubble's screen bound then lags (pre-existing, pointer choices use `preventScroll`) |