docs(docs): record the R2 finish and its trial steps
This commit is contained in:
1 parent
dfc8965844
commit
89acdfd4fd
6 files changed
+208
-35
No files matched your search
@@ -265,6 +265,71 @@ deletion):
|
||||
the accumulated sandbox: A0 « the rights screen with grants » and « admin screens » (fr or en, desktop and 375,
|
||||
the locale varies from run to run). The cure, a paginated grant list, belongs to RR-13; blocker BLK-015 stays open.
|
||||
|
||||
#### Finition 2026-11-13
|
||||
|
||||
Status: built on `feature/v1-2-anatomical-sheets` on top of `36c6eb3`, awaiting the owner's trial (nothing merged,
|
||||
nothing deployed). Source: the owner brief « finition R2 » (items 1 to 9) and the plan
|
||||
`.claude/tasks/plans/2026-11-13-r2-ux-finish-1624.md` (R2F-1 to R2F-9). Labels: `V1-2-6_R2_LABELS.md` §5 to §7.
|
||||
Trial: `V1-2-6_OWNER_TRIAL.md` §4.11. Browser proofs: `BROWSER_TESTS.md`.
|
||||
|
||||
Commits:
|
||||
- Task 1, dialog primitives and editor history: `553a0e5`, `69e225c`, `792394d`, `8e4f026`.
|
||||
- Task 2, finding dialog and citations side sheet: `18085ce`, `4731a33`, `c893dec`, `b703333`, `20905ad`, `af300de`,
|
||||
`e2d020b`.
|
||||
- Task 3, reference dialog, read-only tiles, filter by finding, owner journey: `8031e00`, `7a64daf`, `8b42816`,
|
||||
`3bb3603`, `8a60128`.
|
||||
- Task 4, « Plus » overlay and sticky sidebar: `ca5804a`, `dfc8965`.
|
||||
|
||||
Behaviour:
|
||||
- Dialogs. A finding opens in a modal dialog (view mode, then « Modifier »); a reference opens in its own dialog (edit
|
||||
or create). Forms are transactional: « Enregistrer » writes one history entry (nothing when pristine), « Annuler » or
|
||||
any close with a change asks « Abandonner les modifications ? » first. A save is one « Défaire ». Reference tiles
|
||||
are read-only (disclosure, « Modifier », « Supprimer » or the cited hint). Focus returns to the opener.
|
||||
- Side sheet. The citations panel is a modal sheet at the right edge (34 rem at most) stacked over the finding dialog,
|
||||
usable by keyboard and touch. Content as before: read tiles, « Modifier », « Retirer de ce constat », « Aller à »,
|
||||
« Tout afficher ».
|
||||
- History. Tab, Annotations section, finding dialog, finding creation, sheet, reference dialog, filter are browser
|
||||
history entries (`apps/app/src/editor/history`). Back and Forward restore the view and the scroll; a reload keeps
|
||||
tab and filter, never a form. Entries carry the sheet and account ids and hold navigation only; they are reset on a
|
||||
sheet or account change. A Back that would drop a dirty form re-pushes the view and shows the confirmation.
|
||||
- Filter. « Tout afficher dans l'onglet Références » shows only the references the finding cites, with the chip
|
||||
« Références du constat : <nom> » and its « × », plus « Revenir au constat ». Search and sort stay usable. The
|
||||
owner's eight steps (finding A, « 2 références », sheet, « Tout afficher », filtered tab, Back, back on A with the
|
||||
sheet open) are proved at 1280 and 375 px.
|
||||
- « Plus ». The menu is an overlay under the tab row (no layout shift, light fade), closed by a choice, an outside
|
||||
press, Escape, a tab change and, where the browser offers `CloseWatcher`, the Android Back request.
|
||||
- Sidebar. The left menu stays in place while the page scrolls (own scroll when taller than the window).
|
||||
|
||||
Owner decisions (gate 2026-11-13): R2F-9 items 1 to 6 approved. Item 7: the clients and animals list searches are NOT
|
||||
kept in browser history (BDR-078 stands). Precisions: one undoable operation per save; the side sheet usable by keyboard
|
||||
and touch; history keeps navigation state, never typed data, personal searches or drafts; history reset on a sheet or
|
||||
account change; the Android Back request closes « Plus » first; no new mockups; the limits below are accepted
|
||||
provided no user change is lost silently.
|
||||
|
||||
Stated limits:
|
||||
1. Deleting a finding replaces its dialog entry, so the next Back press does nothing visible once (R2F-3).
|
||||
2. « Aller à » to another tab makes two history entries (tab, then dialog).
|
||||
3. A move made in the same instant as a pending Back can be swallowed (not reachable at human speed).
|
||||
4. « Aller à » a finding opens its dialog in view mode.
|
||||
5. The search filter of the References tab is dropped on a tab move; Back still restores the filtered view.
|
||||
6. Android Back closing « Plus » relies on `CloseWatcher` (Chrome Android). Proved by a stub test only, not on a
|
||||
device. Without `CloseWatcher`, Back navigates as before; Escape and an outside press still close.
|
||||
7. A tap outside the open « Plus » menu only closes it (the page does not receive that tap).
|
||||
8. After choosing a « Plus » entry by keyboard, focus goes to the page body (pre-existing).
|
||||
9. BLK-015: `admin.spec.ts` still fails on the accumulated sandbox (grant accumulation; pagination is RR-13).
|
||||
Unchanged by the finish.
|
||||
Also stated in the plan: leaving the editor by Back past its first entry is unguarded (BDR-078, recovery copy);
|
||||
Chromium's skippable-entry intervention and Android's close-watcher grouping of two restored dialogs are untested
|
||||
(Playwright's `goBack` bypasses them) and are checked in the owner's phone trial.
|
||||
|
||||
Gone with the finish, so struck from « Limits kept after the corrections » above: the cramped view after a rotation to
|
||||
667 × 375 with the panel open at scroll 0 (the panel is now a modal sheet at full height); the two refused drops spoken
|
||||
as one (`draft_dropped` for references and the inline drafts are removed); a pending draft lost by undo or redo in a
|
||||
mounted edit view (no inline draft remains, « Défaire » and « Refaire » are unreachable while a dialog is open). Still
|
||||
true: a button under a field whose blur-commit is refused can lose its first click (other inline editor forms).
|
||||
|
||||
Status: awaiting the owner's trial (§4.11). Not run on a device: Android Back with a real `CloseWatcher`.
|
||||
|
||||
Original plan text:
|
||||
|
||||
- Tab model: `EDITOR_TABS` gains `references` between `findings` and `verification` (`apps/app/src/editor/tabs.ts:6-11`),
|
||||
|
||||
Reference in new issue
Block a user