docs(docs): C4 two-part proof and the final-review fix

This commit is contained in:
bchanot committed 2026-11-13 14:50:39 +01:00
1 parent 346a8fd8f1
commit 58228ab522
2 files changed
+24 -10

No files matched your search

+14 -5
View File
@@ -222,11 +222,20 @@ top of `52aac41`:
- C3 `b1fd896`: a pinned tile that no longer matches the search shows « Ne correspond pas à la recherche » under
its header (`aria-describedby`). « Aucun résultat » shows only when no tile is shown (the add draft does not
count).
- C4 `969a5f3`, `817f74b`, `7766929`, `f7f0aa6` (test only): proof, no app code. At 667 × 375 with touch only, the
citations trigger sits at 811 to 855 px at scroll 0. Touch swipes (CDP `Input.dispatchTouchEvent`;
`Input.synthesizeScrollGesture` with `touch` scrolls nothing in this Chromium) bring its bottom 0 to 3 px above
the viewport bottom across runs (scrollY 480 to 483). A tap opens the panel, its heading and ✕ are in the
viewport and hit-testable, scrollY is unchanged (panel visible height about 319 px).
- C4 `969a5f3`, `817f74b`, `7766929`, `f7f0aa6`, `78fb2d0` (test only): proof, no app code. One test of
`editor-shell-layout` (phone project, 667 × 375), two parts. (A) Touch only: CDP `Input.dispatchTouchEvent` swipes
of 200 px from scroll 0 (`Input.synthesizeScrollGesture` with `touch` scrolls nothing in this Chromium) until the
trigger is wholly on screen and hit-testable (2 swipes in every run, scrollY 491 to 512); a tap opens the panel,
heading and ✕ in the viewport and hit-testable, scrollY unchanged. (B) Worst case: an instant programmatic scroll
puts the trigger's bottom on the viewport bottom (gap 0, scrollY 480); a tap opens the panel, heading and ✕ in
view and hit-testable, scrollY unchanged. B is programmatic because a touch swipe under about 60 px scrolls
nothing (slop) and the gain varies under load, so a pixel-exact touch landing is not reproducible (an earlier
calibrated version oscillated by 55 px in the full sweep).
- Final review `94f8a8b`, `346a8fd`: with two or more refused fields, a user leave (« Terminer », the panel's ✕,
Escape or scrim, another tile's « Modifier », « Ajouter une référence ») now leaves the focus on the first refused
field with its own error shown. Before, the last field tried owned the single error message (a regression of C1),
and a mouse click on « Terminer » with Citation blank and a valid URL showed no error at all (present before R2's
corrections). The forced close still names every refused field once.
- New keys (provisional EN): `editor.references.add_cancel` fr « Annuler l'ajout », en « Cancel adding »;
`editor.references.outside_search` fr « Ne correspond pas à la recherche », en « Does not match the search ».
Rows in `V1-2-6_R2_LABELS.md`.