docs(docs): close R2 after the owner trial, record U2 orientation
This commit is contained in:
1 parent
791fc03a0d
commit
685a96741b
8 files changed
+246
-49
No files matched your search
@@ -166,3 +166,9 @@ approved changes:
|
||||
offers it.
|
||||
6. No new mockups for such changes: the owner brief and the gate stand as validation.
|
||||
Not changed: the clients and animals list searches are not kept in browser history (BDR-078 stands).
|
||||
|
||||
2026-11-14: U2 orientation (owner brief, `docs/development/V1-2-6_UX_PLAN.md` §U2, « Orientation 2026-11-14 »). Under
|
||||
`v1-2-6/`, boards 02 to 06 and 13 show a properties side panel next to the drawing. They are to be redrawn at the U2
|
||||
planning: the properties panel becomes a dialog opened over the drawing, and the trace strip gains the point-size
|
||||
slider, « Déplacer la zone » and « Redessiner ». The owner validates the redrawn boards before any U2 code. Boards 14
|
||||
and 16 (phone) are unchanged (O14 A). Until then the boards stay the reference for everything else they show.
|
||||
@@ -10,7 +10,7 @@ engines are installed. The suites live in `apps/app/e2e`.
|
||||
| Command | Backend | Dev server | Content |
|
||||
|---|---|---|---|
|
||||
| `pnpm e2e:ui` | none | Vite on `127.0.0.1:5191` | `e2e/ui/dialog.spec.ts`: the D13 contract of the shared Dialog on a test page; `e2e/ui/working-copy.spec.ts`: the real `WorkingCopyAction` and its dialog on a test page (axe, layout, keyboard, fr and en, desktop and 375 px); `e2e/ui/local-tool.spec.ts`: the disclaimer, edit and replace dialogs on the real local-tool routes |
|
||||
| `pnpm e2e:shell` | the isolated stack of `pnpm db:sandbox` | Vite on `127.0.0.1:5192` | `e2e/shell/shell.spec.ts`: sign-in, dashboard, the account photo confirmation, the phone drawer; `e2e/shell/clients.spec.ts`: the client journeys (V1-1.5); `e2e/shell/animals.spec.ts`: the animal and relation journeys (V1-1.6, contract §11.8); `e2e/shell/responsive.spec.ts`: no sideways scroll on nine shell pages, the archive confirmations and the drawer at 320, 360, 375, 390 and 430 px (phone project) and 1280 px, long values, the dashboard e-mail shown whole (RESP-01); `e2e/shell/admin.spec.ts` (V1-2.5): A0 the owner's bootstrap (two TOTP factors from Sécurité, the step-up at `/app/admin` and inside a factor action, no second factor from `aal1`, refresh keeping `aal1` and `aal2`, rights granted and revoked with their reason), A1 a sheet created by an editor on a new inactive species, S1 a species created inactive then activated by the owner, the creation page when the own-grants read fails (« Impossible de vérifier vos autorisations » and « Réessayer », never the form; Retry brings the form back), access per right (a reviewer-only account refused on the creation page), axe and no sideways scroll on every admin page; `e2e/shell/catalogue.spec.ts` (V1-2.5): P1 a reader searches, opens a sheet, picks a zone, reads a retired version, drafts and archived sheets never listed, the same refusal for an existing and an unknown sheet without access, 320, 375 and 430 px with the whole drawing in the box at opening; at 320 and 375 px the zone panel's live region present before a pick and naming the picked zone, the « Références » card starting at or below the drawing's bottom; `e2e/shell/editor-*.spec.ts` (V1-2.6, the draft editor level 1, contract C16 to C34): `editor-drawings` (A2: a hostile file refused with no cleaning box, an Inkscape export cleaned after its preview, a valid file attached, a detail view by crop, the same bytes attached twice), `editor-annotations` (A3: points, zones and links by clicks and by keyboard only, move by drag, a click with jitter never moves, numeric edits, undo and redo, review and delete), `editor-geometry` (a click near a frame edge with the corrected position confirmed and cancelled, an inherited out-of-frame point repaired through the geometry group, a crop change refused when it would invalidate a point, an unmeasured view with its tools disabled, touch-action and a touch drag in real Chromium), `editor-structures` (A4: categories, references, regions, findings tree, reorder, mark reviewed, delete with dependents; since the finish findings and references go through their dialogs, the delete dialog stacked over the finding dialog), `editor-references` (R2 and finish: read-only tiles, the reference dialog from « Modifier » and « Ajouter » with axe, its draft and its read-only flip, a tile edited out of the search keeping its place), `editor-journey` (the steps of `V1-2-6_OWNER_TRIAL.md` §4 with two editor accounts, a finding created through its dialog and the dialog closed before the next add: creation, drawing, findings, annotations, save, reload with the beforeunload dialog and the recovery offer, conflict, submission, the round read back in SQL), `editor-recovery` (two sessions, an older local copy restored then saved over a newer revision, a pending offer blocking edits, an unreadable copy kept until « Ignorer », Escape on the conflict read, the editor grant revoked, the admin role removed and the grant expired under an open session), `editor-access` (the finding dialog and the citations sheet scanned by axe at the widths; a reviewer-only account read-only, the not-found screen for an editor without the admin role and for an admin without a capability, 320, 375 and 800 px read-only, 1 024 px editing, axe on every tab edit and read-only), `editor-deselect` (R1, D5 and D6b: « Désélectionner » with its live region, the focus on the list row and the document unchanged; Escape over the canvas, a field, the delete dialog, the citations sheet over the finding dialog (Escape closes the sheet, a second one the dialog, a third deselects) and a tracing; mouse clicks on empty parts deselecting, on annotations selecting; zoom, pan, marker drag and Ctrl+wheel keeping the selection; a typed value applied by the deselecting click; at 1 280 px with `hasTouch` and CDP touch taps near annotations and the canvas bottom deselecting once, drags, two-finger taps and pinch keeping the selection, with the pointer events counted by a recorder; the read-only twin at 375 px and Escape closing « Plus » before deselecting; the drawing's top unchanged when a point, a zone and a link are selected then deselected, on desktop and on the read-only twin at 375 px, with the selection tag out of the visual flow), `editor-equine` (the sheet and the finding dialog closed between visits since the finish; the historical equine sheet opened as a working copy, a copy left active by an earlier run set asidLine truncated
|
||||
| `pnpm e2e:shell` | the isolated stack of `pnpm db:sandbox` | Vite on `127.0.0.1:5192` | `e2e/shell/shell.spec.ts`: sign-in, dashboard, the account photo confirmation, the phone drawer; `e2e/shell/clients.spec.ts`: the client journeys (V1-1.5); `e2e/shell/animals.spec.ts`: the animal and relation journeys (V1-1.6, contract §11.8); `e2e/shell/responsive.spec.ts`: no sideways scroll on nine shell pages, the archive confirmations and the drawer at 320, 360, 375, 390 and 430 px (phone project) and 1280 px, long values, the dashboard e-mail shown whole (RESP-01); `e2e/shell/admin.spec.ts` (V1-2.5): A0 the owner's bootstrap (two TOTP factors from Sécurité, the step-up at `/app/admin` and inside a factor action, no second factor from `aal1`, refresh keeping `aal1` and `aal2`, rights granted and revoked with their reason), A1 a sheet created by an editor on a new inactive species, S1 a species created inactive then activated by the owner, the creation page when the own-grants read fails (« Impossible de vérifier vos autorisations » and « Réessayer », never the form; Retry brings the form back), access per right (a reviewer-only account refused on the creation page), axe and no sideways scroll on every admin page; `e2e/shell/catalogue.spec.ts` (V1-2.5): P1 a reader searches, opens a sheet, picks a zone, reads a retired version, drafts and archived sheets never listed, the same refusal for an existing and an unknown sheet without access, 320, 375 and 430 px with the whole drawing in the box at opening; at 320 and 375 px the zone panel's live region present before a pick and naming the picked zone, the « Références » card starting at or below the drawing's bottom; `e2e/shell/editor-*.spec.ts` (V1-2.6, the draft editor level 1, contract C16 to C34): `editor-drawings` (A2: a hostile file refused with no cleaning box, an Inkscape export cleaned after its preview, a valid file attached, a detail view by crop, the same bytes attached twice), `editor-annotations` (A3: points, zones and links by clicks and by keyboard only, move by drag, a click with jitter never moves, numeric edits, undo and redo, review and delete), `editor-geometry` (a click near a frame edge with the corrected position confirmed and cancelled, an inherited out-of-frame point repaired through the geometry group, a crop change refused when it would invalidate a point, an unmeasured view with its tools disabled, touch-action and a touch drag in real Chromium), `editor-structures` (A4: categories, references, regions, findings tree, reorder, mark reviewed, delete with dependents; since the finish findings and references go through their dialogs, the delete dialog stacked over the finding dialog), `editor-references` (R2 and finish: read-only tiles, the reference dialog from « Modifier » and « Ajouter » with axe, its draft and its read-only flip, a tile edited out of the search keeping its place), `editor-journey` (the steps of `V1-2-6_OWNER_TRIAL.md` §4 with two editor accounts, a finding created through its dialog and the dialog closed before the next add: creation, drawing, findings, annotations, save, reload with the beforeunload dialog and the recovery offer, conflict, submission, the round read back in SQL), `editor-recovery` (two sessions, an older local copy restored then saved over a newer revision, a pending offer blocking edits, an unreadable copy kept until « Ignorer », Escape on the conflict read, the editor grant revoked, the admin role removed and the grant expired under an open session), `editor-access` (the finding dialog and the citations sheet scanned by axe at the widths; a reviewer-only account read-only, the not-found screen for an editor without the admin role and for an admin without a capability, 320, 375 and 800 px read-only, 1 024 px editing, axe on every tab edit and read-only), `editor-deselect` (R1, D5 and D6b: « Désélectionner » with its live region, the focus on the list row and the document unchanged; Escape over the canvas, a field, the delete dialog, the citations sheet over the finding dialog (Escape closes the sheet, a second one the dialog, a third deselects) and a tracing; mouse clicks on empty parts deselecting, on annotations selecting; zoom, pan, marker drag and Ctrl+wheel keeping the selection; a typed value applied by the deselecting click; at 1 280 px with `hasTouch` and CDP touch taps near annotations and the canvas bottom deselecting once, drags, two-finger taps and pinch keeping the selection, with the pointer events counted by a recorder; the read-only twin at 375 px and Escape closing « Plus » before deselecting; the drawing's top unchanged when a point, a zone and a link are selected then deselected, on desktop and on the read-only twin at 375 px, with the selection tag out of the visual flow), `editor-equine` (the sheet and the finding dialog closed between visits since the finish; the historical equine sheet opened as a working copy, a copy left active by an earlier run set asidLine truncated
|
||||
|
||||
Each suite runs on two Chromium projects: `chromium-desktop` (1280 × 800) and
|
||||
`chromium-375` (375 × 667, mobile viewport, touch). A test tagged `@phone`
|
||||
@@ -78,8 +78,10 @@ DOI, URL and « Aller à », no edit control.
|
||||
|
||||
`e2e/shell/editor-citations.spec.ts` covers the citations of a finding, a modal side sheet over its dialog since the R2
|
||||
finish (2026-11-13; the cramped and geometry cases of the panel are gone). Editing: the sheet opens over the finding
|
||||
dialog, « Retirer de ce constat » then one « Défaire », the saved status; a long list scrolls inside the sheet and
|
||||
the page never moves; the last citation gone keeps the sheet with its line, Escape closes it and the dialog stays;
|
||||
dialog and is read-only (no « Retirer de ce constat », no cite; since 2026-11-14 a citation is removed from the finding's
|
||||
edit form, then « Enregistrer » and one « Défaire », the saved status); a long list scrolls inside the sheet and
|
||||
the page never moves; a form that drops every citation loses the trigger and its count, and nothing is written before
|
||||
« Enregistrer »;
|
||||
« Tout afficher » closes both layers, clears the search, keeps the sort and the open tiles, and Back returns to the
|
||||
sheet; « Modifier » opens the reference dialog over the sheet and « Enregistrer » closes it only, with one undo; a dirty
|
||||
reference dialog keeps its draft on ✕ and on Back; the exiting sheet is inert and a second close finds nothing;
|
||||
|
||||
@@ -346,7 +346,8 @@ pile d'essai et les vérifications sont les vôtres. Chaque étape donne l'actio
|
||||
|
||||
### 4.11 Finition R2
|
||||
À dérouler sur la fiche de 4.9 et 4.10, qui porte un constat A citant au moins deux références. Cette finition
|
||||
remplace l'édition en ligne des tuiles et le panneau de 4.10 : là où 4.10 et 4.11 diffèrent, 4.11 fait foi. Libellés :
|
||||
remplace l'édition en ligne des tuiles et le panneau de 4.10 : là où 4.10 et 4.11 diffèrent, 4.11 fait foi (les étapes
|
||||
9 et 10 de 4.10 ne tiennent plus : le volet ne retire plus de citation, voir les étapes 1 et 3 ci-dessous). Libellés :
|
||||
`V1-2-6_R2_LABELS.md` §5 à §7. Rien dans ce parcours n'est lancé par Claude. Chaque étape donne l'action, puis
|
||||
l'attendu. Les étapes 1 à 11 se font à 1 280 px, les étapes 12 à 14 sur téléphone.
|
||||
1. Le parcours en huit temps. Action : onglet « Constats » ; ouvrez le constat A ; cliquez « 2 références » ; dans le
|
||||
@@ -354,19 +355,22 @@ l'attendu. Les étapes 1 à 11 se font à 1 280 px, les étapes 12 à 14 sur té
|
||||
Attendu : le volet des références citées s'ouvre à droite ; l'onglet « Références » n'affiche que les deux
|
||||
références du constat A, sous la pastille « Références du constat : A » avec son « × » ; Précédent ramène au constat
|
||||
A, volet ouvert, dans l'état où vous l'aviez quitté. Un second Précédent ferme le volet, un troisième ferme le
|
||||
constat, sans quitter l'éditeur. Suivant refait le chemin.
|
||||
constat, sans quitter l'éditeur. Suivant refait le chemin. Le volet est en lecture seule : « Modifier » et « Aller
|
||||
à » y sont, pas « Retirer de ce constat », et la fiche du constat en lecture n'offre ni « Citer » ni « Retirer ».
|
||||
2. Ajouter un constat. Action : « Constats », bouton d'ajout, remplissez les noms, « Créer ». Attendu : la fiche du
|
||||
nouvel élément s'ouvre en lecture dans la boîte de dialogue ; Précédent revient à l'arbre.
|
||||
3. Modifier un constat. Action : ouvrez un constat, « Modifier », changez un nom et une description. Attendu : rien
|
||||
n'est écrit tant que vous n'avez pas cliqué « Enregistrer » ; « Défaire » (en haut) est hors d'atteinte pendant que la boîte
|
||||
est ouverte.
|
||||
3. Modifier un constat. Action : ouvrez un constat, « Modifier », changez un nom et une description ; dans le même
|
||||
formulaire, retirez une référence citée (« Retirer » sur la liste) puis ajoutez-en une (« Citer une référence »).
|
||||
Attendu : on ne cite et on ne retire une référence que dans ce formulaire, jamais en lecture ; rien n'est écrit
|
||||
tant que vous n'avez pas cliqué « Enregistrer » ; « Défaire » (en haut) est hors d'atteinte pendant que la boîte
|
||||
est ouverte ; pendant la modification, le volet des références liste la saisie en cours.
|
||||
4. Annuler avec une modification. Action : même formulaire, changez un champ, cliquez « Annuler » (puis refaites avec
|
||||
Échap, puis avec Précédent). Attendu : « Abandonner les modifications ? » avec « Continuer la saisie » (focalisé)
|
||||
et « Abandonner » ; « Continuer la saisie » garde votre texte ; « Abandonner » revient à la lecture sans rien
|
||||
écrire. Sans modification, « Annuler » revient directement.
|
||||
5. Enregistrer puis défaire. Action : changez deux champs, « Enregistrer », fermez la boîte, cliquez « Défaire ».
|
||||
Attendu : « Modifications enregistrées » après l'enregistrement ; un seul « Défaire » rend les deux champs
|
||||
ensemble (une opération par enregistrement) ; « Refaire » les remet.
|
||||
ensemble (une opération par enregistrement, citations comprises) ; « Refaire » les remet.
|
||||
6. Ajouter une référence. Action : onglet « Références », « Ajouter une référence », type et citation, « Ajouter la
|
||||
référence ». Attendu : une boîte de dialogue ; un champ obligatoire vide est refusé sur le champ ; une adresse hors
|
||||
http(s) aussi ; la liste ne bouge pas, recherche et tri restent tels quels ; la ligne « Référence ajoutée : … »
|
||||
@@ -381,23 +385,53 @@ l'attendu. Les étapes 1 à 11 se font à 1 280 px, les étapes 12 à 14 sur té
|
||||
formulaire ouvert ni texte de recherche ; Précédent ramène alors au volet.
|
||||
10. Historique et comptes. Action : ouvrez le constat A, changez de fiche (ou déconnectez-vous puis connectez un autre
|
||||
compte), puis appuyez sur Précédent. Attendu : aucune boîte ni aucun filtre d'une autre fiche ou d'un autre
|
||||
compte ne revient : l'historique repart de zéro.
|
||||
compte ne revient : l'historique repart de zéro. L'historique ne porte plus l'identifiant du compte, seulement une
|
||||
étiquette de session aléatoire.
|
||||
11. Menu latéral. Action : à 1 280 px, défilez une page longue (Constats avec beaucoup de lignes). Attendu : le menu de
|
||||
gauche reste en place ; fenêtre basse (500 px), il défile seul sans dépasser.
|
||||
12. « Plus » sur téléphone. Action : sous 640 px, touchez « Plus ». Attendu : une liste se déroule sous la rangée
|
||||
d'onglets sur toute la largeur, sans rien décaler, avec un fondu léger ; choisir une entrée la ferme et ouvre
|
||||
l'onglet.
|
||||
d'onglets sur toute la largeur, sans rien décaler, avec un fondu léger ; choisir une entrée la ferme, ouvre
|
||||
l'onglet et met le focus sur le panneau de cet onglet (au clavier comme au toucher).
|
||||
13. Fermer « Plus ». Action : ouvrez « Plus », puis (a) touchez hors du menu, (b) rouvrez et utilisez le geste ou le
|
||||
bouton Retour d'Android. Attendu : (a) le menu se ferme et la page ne reçoit pas ce toucher ; (b) Retour ferme le
|
||||
menu d'abord, sans changer de page ; un second Retour agit comme d'habitude. Point non prouvé sur appareil : voir
|
||||
les limites.
|
||||
14. Limites sur téléphone. Action : (a) limite 1 : supprimez un constat depuis son dialogue, puis appuyez une fois sur
|
||||
Retour ; (b) limite 6 : avec « Plus » ouvert, si Retour ne le ferme pas, notez le navigateur et sa version ;
|
||||
(c) limite 7 : « Plus » ouvert, touchez un bouton de la page. Attendu : (a) rien de visible la première fois, la
|
||||
seconde remonte l'historique ; (b) un navigateur sans `CloseWatcher` laisse Retour naviguer, Échap et le toucher
|
||||
14. Suppression et limites sur téléphone. Action : (a) suppression : supprimez un constat depuis son dialogue, puis
|
||||
appuyez une fois sur Retour ; sur un autre constat supprimé, cliquez « Défaire » ; (b) limite 6 : avec « Plus » ouvert, si Retour ne le ferme pas, notez le navigateur et sa version ;
|
||||
(c) limite 7 : « Plus » ouvert, touchez un bouton de la page. Attendu : (a) Retour agit dès la première fois (plus de Retour sans effet) ;
|
||||
« Défaire » rend le constat d'un coup : « Constats » s'ouvre, la ligne est sélectionnée et focalisée ; (b) un navigateur sans `CloseWatcher` laisse Retour naviguer, Échap et le toucher
|
||||
extérieur ferment quand même ; (c) le toucher ne ferme que le menu, il faut le renouveler pour agir sur le
|
||||
bouton. Dites si l'un de ces trois comportements vous gêne.
|
||||
|
||||
### 4.12 Vérifications manuelles finales R2
|
||||
À faire une fois, sur la pile d'essai, avant de clore R2. Ces points échappent aux tests automatiques. Chaque
|
||||
vérification donne l'action, puis l'attendu.
|
||||
1. Retour d'Android avec « Plus » ouvert. Action : sur un vrai téléphone Android (Chrome), ouvrez l'éditeur, touchez
|
||||
« Plus », puis le geste ou le bouton Retour. Attendu : le menu se ferme, la page reste ; un second Retour agit comme
|
||||
d'habitude. Si le menu ne se ferme pas, notez le navigateur et sa version.
|
||||
2. Confirmation de départ dans Chrome. Action : sur le constat A, « Modifier », tapez dans un champ sans enregistrer,
|
||||
puis quittez l'éditeur par un appui long sur Retour (menu de l'historique) et un saut de plusieurs entrées vers la
|
||||
fiche ou la liste ; faites-le d'abord sur Chrome de bureau, puis sur Chrome Android. Attendu : le saut est annulé, la
|
||||
question « Abandonner les modifications ? » s'affiche ; « Continuer la saisie » garde le texte et la page ;
|
||||
« Abandonner » quitte la page et, au retour sur la fiche, aucun avis ne s'affiche. Avec une référence modifiée
|
||||
au-dessus d'un constat modifié, deux questions se suivent.
|
||||
3. Même saut dans Firefox et Safari, si vous les utilisez. Attendu : l'éditeur est quitté sans question, et au retour
|
||||
sur la fiche l'avis « Une saisie non enregistrée a été abandonnée en quittant l'éditeur » s'affiche une fois. Dites ce
|
||||
que vous observez : la prise en charge de l'API de navigation n'y est pas vérifiée.
|
||||
4. Citer et retirer en modification. Action : « Modifier » sur le constat A, retirez une référence et citez-en une
|
||||
autre, « Enregistrer », fermez, puis un seul « Défaire ». Attendu : après « Défaire », les citations d'avant
|
||||
reviennent ensemble ; en lecture, rien ne permet de citer ni de retirer.
|
||||
5. Suppression puis « Défaire ». Action : supprimez un constat depuis son dialogue, puis un seul « Défaire ». Attendu :
|
||||
« Constats » s'ouvre avec le constat rendu, sa ligne sélectionnée et focalisée.
|
||||
6. « Plus » au clavier sur tablette ou sur bureau à largeur étroite. Action : sous 640 px, Tab jusqu'à « Plus »,
|
||||
Entrée, flèches, Entrée sur « Références ». Attendu : l'onglet s'ouvre et le focus est sur son panneau, avec un
|
||||
anneau visible ; Échap depuis la liste rend le focus à « Plus ».
|
||||
7. Autre compte dans le même onglet. Action : sur le constat A, déconnectez-vous, connectez un autre compte, ouvrez
|
||||
la même fiche, puis Précédent plusieurs fois. Attendu : rien du premier compte ne revient (ni boîte, ni filtre, ni
|
||||
avis de saisie abandonnée).
|
||||
8. Rechargement sur l'adresse du réseau local. Action : ouvert depuis l'adresse http du réseau local, ouvrez l'onglet
|
||||
« Références » avec un filtre de constat, puis rechargez (F5). Attendu : l'onglet et le filtre sont gardés.
|
||||
|
||||
## 5. Limites à connaître
|
||||
- Risque résiduel RR-12 : les opérations du catalogue lisent la mention `aal2` du jeton, pas la session vivante.
|
||||
Un jeton émis à `aal2` reste accepté après la suppression du facteur, jusqu'à son expiration (une heure).
|
||||
@@ -459,25 +493,38 @@ La finition du 2026-11-13 (§4.11) retire trois limites : le panneau ouvert en h
|
||||
667 × 375 (le volet est maintenant modal, sur toute la hauteur), les deux saisies refusées annoncées comme une seule,
|
||||
et la saisie en attente perdue par « Défaire » ou « Refaire » (plus de saisie en ligne : les formulaires sont des
|
||||
boîtes de dialogue transactionnelles, hors d'atteinte de « Défaire » tant qu'elles sont ouvertes).
|
||||
Limites de la finition, acceptées par le propriétaire à condition qu'aucune modification ne soit perdue en silence :
|
||||
1. Supprimer un constat remplace l'entrée de son dialogue : le Retour suivant ne montre rien une fois.
|
||||
2. Levée par la revue finale : « Aller à » un constat ou une zone ouvre son dialogue dans le même geste, une seule
|
||||
entrée d'historique ; Précédent ramène à l'endroit quitté, volet compris.
|
||||
3. Un geste fait dans le même instant qu'un Retour en cours peut être avalé (hors d'atteinte à vitesse humaine).
|
||||
4. « Aller à » un constat ouvre son dialogue en lecture.
|
||||
5. La recherche de l'onglet Références n'entre pas dans l'historique : un simple changement d'onglet la garde,
|
||||
« Tout afficher » l'efface ; Retour rend la vue filtrée.
|
||||
6. Le Retour d'Android qui ferme « Plus » repose sur `CloseWatcher` (Chrome Android) : prouvé par un test à
|
||||
doublure seulement, pas sur un appareil. Sans `CloseWatcher`, Retour navigue comme avant ; Échap et le toucher
|
||||
extérieur ferment toujours.
|
||||
7. Un toucher hors du menu « Plus » ouvert le ferme seulement : la page ne reçoit pas ce toucher.
|
||||
8. Après un choix dans « Plus » au clavier, le focus va au corps de la page (comportement antérieur).
|
||||
9. BLK-015 : `admin.spec.ts` échoue encore sur la pile cumulée (accumulation d'attributions, la pagination est
|
||||
RR-13), inchangé par la finition. Il ne s'observe pas dans cet essai manuel.
|
||||
10. Quitter l'éditeur par un Retour de plusieurs entrées (menu de l'historique du navigateur) avec un dialogue
|
||||
modifié ne peut pas être refusé (BDR-078) et le texte saisi n'est pas gardé. Ce départ n'est plus silencieux :
|
||||
au prochain affichage de cette fiche, l'éditeur dit une fois « Une saisie non enregistrée a été abandonnée en
|
||||
quittant l'éditeur ».
|
||||
Votre essai du 2026-11-14 a validé les parcours principaux de R2 et demandé des retouches, construites : on ne cite
|
||||
une référence qu'en modification d'un constat (le volet est en lecture seule), un seul « Défaire » après une
|
||||
suppression rend le constat, un seul Retour après une suppression remonte l'historique, le choix d'une entrée de
|
||||
« Plus » met le focus sur le panneau, l'historique porte une étiquette de session aléatoire et non l'identifiant du
|
||||
compte, et un départ de plusieurs entrées avec un dialogue modifié est confirmé là où le navigateur peut l'annuler.
|
||||
Limites acceptées par le propriétaire le 2026-11-14 :
|
||||
1. Un geste fait dans le même instant qu'un Retour en cours peut être avalé (hors d'atteinte à vitesse humaine).
|
||||
2. « Aller à » un constat ouvre son dialogue en lecture.
|
||||
3. La recherche de l'onglet Références est gardée d'un onglet à l'autre (elle n'entre pas dans l'historique ;
|
||||
« Tout afficher » l'efface ; Retour rend la vue filtrée).
|
||||
4. Le premier toucher hors du menu « Plus » ouvert le ferme seulement : la page ne reçoit pas ce toucher.
|
||||
5. Le Retour d'Android qui ferme « Plus » repose sur `CloseWatcher` (Chrome Android) : prouvé par un test à
|
||||
doublure seulement. Sans `CloseWatcher`, Retour navigue comme avant ; Échap et le toucher extérieur ferment
|
||||
toujours. À vérifier par vous sur un téléphone (§4.12).
|
||||
6. Une déconnexion faite pendant qu'un dialogue garde une saisie non enregistrée (depuis un autre onglet, par
|
||||
exemple) ne laisse aucun avis plus tard : l'étiquette change et ses repères sont effacés pour séparer les comptes.
|
||||
7. Départ de plusieurs entrées avec deux dialogues modifiés : l'éditeur demande de haut en bas. « Continuer la
|
||||
saisie » sur un dialogue du dessous garde ce brouillon ; un brouillon déjà abandonné au-dessus reste abandonné
|
||||
(votre choix), et un Retour rouvre alors le volet des références.
|
||||
8. La confirmation avant ce départ est vérifiée sur Chromium de bureau seulement (saut dans l'historique par le
|
||||
protocole de débogage, un dialogue puis deux empilés). Non vérifiée : Firefox, Safari, Chrome sur Android, un clic
|
||||
dans le vrai menu d'historique de la barre d'outils. Quand le navigateur ne peut pas annuler le saut, ou n'offre pas
|
||||
l'API de navigation, l'ancien comportement reste : le brouillon est perdu et l'avis « Une saisie non enregistrée a
|
||||
été abandonnée en quittant l'éditeur » s'affiche une fois au retour sur la fiche (le texte n'est pas gardé).
|
||||
9. La restauration de l'historique après un rechargement sur l'adresse du réseau local (http, sans `crypto.subtle`) est
|
||||
prouvée par un test unitaire seulement (§4.12).
|
||||
10. BLK-015 : `admin.spec.ts` échoue encore sur la pile cumulée (accumulation d'attributions, la pagination est
|
||||
RR-13). Il ne s'observe pas dans cet essai manuel.
|
||||
Levées par ces retouches : le Retour sans effet après la suppression d'un constat, et le focus qui allait au corps de
|
||||
la page après un choix dans « Plus ».
|
||||
Quitter l'éditeur par un Retour de plusieurs entrées ne peut pas toujours être refusé (BDR-078, voir 8 ci-dessus) et le
|
||||
texte saisi n'est jamais gardé.
|
||||
Limites de R2 qui subsistent :
|
||||
- Un bouton placé sous un champ dont la saisie est refusée peut perdre son premier clic (la ligne d'erreur décale la
|
||||
mise en page) : défaut des formulaires en ligne de l'éditeur, non corrigé.
|
||||
|
||||
@@ -196,3 +196,19 @@ libellés EN sont provisoires.
|
||||
| ------------------------------ | ----------------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `editor.findings.new.category` | Nouvelle catégorie | New category | Dialogue des constats, titre d'une création de catégorie (le titre affichait la clé brute) |
|
||||
| `editor.leave.draft_dropped` | Une saisie non enregistrée a été abandonnée en quittant l'éditeur | An unsaved entry was discarded when you left the editor | Éditeur, avis affiché une fois au retour sur la fiche quand un dialogue modifié a été quitté par un Retour de plusieurs entrées |
|
||||
|
||||
## 9. Retouches de l'essai du 2026-11-14 (tâches 6 à 8)
|
||||
|
||||
Source : `git diff afc1051..HEAD -- apps/app/src/i18n` (`fr.ts` et `en.ts`) : une clé retirée, aucune nouvelle, aucune
|
||||
modifiée.
|
||||
|
||||
| Clé | FR | EN | Raison |
|
||||
| ---------------------------------- | -------------------------- | ------------------------ | ----------------------------------------------------------------------------------------------------------------- |
|
||||
| `editor.references.remove_citation` | Retirer de ce constat | Remove from this finding | Retirée (tâche 6, `f0e49fd`) : le volet des citations est en lecture seule, on retire une citation par le « Retirer » du formulaire de modification du constat |
|
||||
|
||||
- Les libellés du formulaire (« Citer une référence », « Retirer ») et de la confirmation de départ (« Abandonner les
|
||||
modifications ? », « Continuer la saisie ») réutilisent des clés existantes.
|
||||
- Solde de la finition : +14 clés (§8) moins 1, soit +13 clés dans chaque dictionnaire. Pour R2 depuis `36c6eb3` :
|
||||
18 + 2 clés nouvelles, 7 retirées, aucune modifiée.
|
||||
- Le §3, ambiguïté 2, parle de « Retirer de ce constat » comme du bouton de la tuile dans le panneau : ce bouton n'existe
|
||||
plus, il ne reste que « Retirer » dans le formulaire de modification.
|
||||
@@ -171,6 +171,8 @@ The criteria below are the contract as written.
|
||||
|
||||
### R2 — The Références tab (D1 to D4)
|
||||
|
||||
Status (2026-11-14): R2 validated by the owner's trial, closed pending the final manual checks (« Owner trial and
|
||||
closure 2026-11-14 » below, `V1-2-6_OWNER_TRIAL.md` §4.12).
|
||||
Status (2026-11-13): corrected, still awaiting the owner's validation (corrections below).
|
||||
Status (2026-11-12): built on `feature/v1-2-anatomical-sheets`, awaiting the owner's validation (nothing merged,
|
||||
nothing deployed). Commits: `65a8fd3` (plan, rev 4 after the owner's GO), `fc3fec7` R2.0 (the panel's place renamed
|
||||
@@ -182,7 +184,10 @@ Labels: `V1-2-6_R2_LABELS.md`. Decision record: BDR-114. What the build settled
|
||||
- The panel opens from a finding only (owner, 2026-11-12). The family's former trigger is removed; a family keeps
|
||||
its inline list and « Retirer ».
|
||||
- « Retirer de ce constat » removes that one citation (the reference stays in the document) and marks the finding
|
||||
« À confirmer » (core rule, `edit.rs`); one « Défaire » restores the citation and the status together.
|
||||
« À confirmer » (core rule, `edit.rs`); one « Défaire » restores the citation and the status together. Superseded
|
||||
2026-11-14: the sheet no longer removes a citation (read-only, « Modifier » and « Aller à » only, key
|
||||
`editor.references.remove_citation` deleted); a citation is removed from the finding's edit form (see « Owner trial
|
||||
and closure 2026-11-14 »).
|
||||
- Zero state: when the last citation is gone the panel stays open with « Ce constat ne cite plus aucune
|
||||
référence. » and closes on a tab change.
|
||||
- Selecting a tab closes the panel. Every close (✕, Escape outside a field, scrim, tab, « Aller à », « Tout
|
||||
@@ -279,6 +284,7 @@ Commits:
|
||||
- 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`.
|
||||
- Owner trial adjustments of 2026-11-14 (Tasks 6 to 8): see « Owner trial and closure 2026-11-14 » below.
|
||||
|
||||
Behaviour:
|
||||
- Dialogs. A finding opens in a modal dialog (view mode, then « Modifier »); a reference opens in its own dialog (edit
|
||||
@@ -286,12 +292,12 @@ Behaviour:
|
||||
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 ».
|
||||
usable by keyboard and touch. Content: read tiles, « Modifier », « Aller à », « Tout afficher » (« Retirer de ce
|
||||
constat » was removed from it on 2026-11-14).
|
||||
- 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.
|
||||
tab and filter, never a form. Entries carry the sheet id and a random session tag (2026-11-14: no longer the account id) 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
|
||||
@@ -307,23 +313,27 @@ account change; the Android Back request closes « Plus » first; no new mockups
|
||||
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).
|
||||
1. Deleting a finding replaces its dialog entry, so the next Back press does nothing visible once (R2F-3). Lifted
|
||||
2026-11-14: the deletion pops the dialog entry, the first Back moves.
|
||||
2. Lifted by the final review: « Aller à » a finding or a zone opens its dialog in the same move, one history entry;
|
||||
Back returns to the place left, sheet included.
|
||||
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.
|
||||
4. « Aller à » a finding opens its dialog in view mode (accepted again by the owner, 2026-11-14).
|
||||
5. The search of the References tab is not in the history: a plain tab change keeps it, « Tout afficher » clears it;
|
||||
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).
|
||||
8. After choosing a « Plus » entry by keyboard, focus goes to the page body (pre-existing). Lifted 2026-11-14: the
|
||||
focus goes to the new tab's panel.
|
||||
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 cannot be refused (BDR-078, recovery copy).
|
||||
A dirty dialog lost that way (a Back of several entries from the history menu) is no longer silent: one flag in this
|
||||
tab's sessionStorage (layer and element key, never the text) makes the next mount of that sheet for that account say
|
||||
once « Une saisie non enregistrée a été abandonnée en quittant l'éditeur »; the text itself is not kept.
|
||||
tab's sessionStorage (layer and element key, never the text) makes the next mount of that sheet for that session tag say
|
||||
once « Une saisie non enregistrée a été abandonnée en quittant l'éditeur »; the text itself is not kept. Since
|
||||
2026-11-14 the browser is asked first where it can cancel the jump (see the closure subsection); the flag and the
|
||||
notice remain the fallback.
|
||||
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.
|
||||
|
||||
@@ -333,7 +343,62 @@ as one (`draft_dropped` for references and the inline drafts are removed); a pen
|
||||
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`.
|
||||
Status: validated by the owner's trial on 2026-11-14 (next subsection). Not run on a device: Android Back with a real
|
||||
`CloseWatcher`.
|
||||
|
||||
#### Owner trial and closure 2026-11-14
|
||||
|
||||
Validation: the owner's trial of 2026-11-14 validated the R2 main journeys (`V1-2-6_OWNER_TRIAL.md` §4.11). The
|
||||
trial asked for last adjustments, built on `feature/v1-2-anatomical-sheets` on top of `afc1051` (plan « Rev 4 »,
|
||||
`.claude/tasks/plans/2026-11-13-r2-ux-finish-1624.md`, contract criteria 19 to 25). Nothing merged, nothing deployed.
|
||||
|
||||
Adjustments:
|
||||
- References are cited only in the edit mode of a finding (`f0e49fd`, `270444e`). The view mode of the dialog only shows
|
||||
the « n références » button that opens the sheet (a family shows its list read-only). The edit form keeps a draft list of the citations with « Retirer » on each and « Citer
|
||||
une référence »; the one « Enregistrer » writes the citations with the other fields as one undoable operation. The
|
||||
citations sheet is read-only for the finding (no « Retirer de ce constat »); while the form is open it lists the
|
||||
draft's references. The key `editor.references.remove_citation` is deleted (`V1-2-6_R2_LABELS.md` §9).
|
||||
- Deletion and Back (`085c568`, `4018344`): the deletion closes its dialog by popping the entry, so the first Back
|
||||
moves; the first « Défaire » after a deletion restores the finding at once (Constats opens, the row is selected and
|
||||
focused). Choosing « Plus » entry puts the focus on the new tab's panel (the panels take `tabIndex=-1` and show a
|
||||
ring only on keyboard focus, with a transparent outline for forced colours).
|
||||
- Session tag (`07bebbc`, `579d8af`): history entries carry a random 128-bit tag kept in `sessionStorage`, never the
|
||||
account id. The tag is bound to the account by a non-secret fingerprint (FNV-1a 64, synchronous, so it works on the
|
||||
http LAN origin where `crypto.subtle` is missing), rotates on another account and at sign-out, and the old
|
||||
left-draft flags are cleared. A record of the earlier shape, or an empty tag, reads as foreign (fail closed).
|
||||
`AuthProvider.tsx` starts the sign-out subscription (3 lines, outside the first file scope, amended by the
|
||||
controller).
|
||||
- Leave confirmation (`07bebbc`, `579d8af`, `791fc03`): where the browser exposes the Navigation API and the event is
|
||||
cancelable, a jump of several entries out of the editor with a dirty finding or reference dialog is cancelled and
|
||||
the top dirty dialog asks « Abandonner les modifications ? ». « Abandonner » runs the jump again with
|
||||
`traverseTo`, leaving no flag and no notice. With two dirty dialogs the question cascades from the top; the
|
||||
reference's « Abandonner » also closes the citations sheet so the finding's question is not hidden under it.
|
||||
Without the API or when the event is not cancelable, the earlier flag and notice stay.
|
||||
- Notice after the loss elsewhere: unchanged text, now keyed by the session tag.
|
||||
|
||||
Support of the confirmation (what `task-8-report.md` of the run proves): verified on Chromium desktop (the pinned
|
||||
Playwright Chromium, a history jump through the DevTools protocol, one dirty dialog and two stacked); the fallback
|
||||
logic is covered by unit tests (no API, non-cancelable event). Not verified: Firefox, Safari, Android Chrome on a
|
||||
real phone, a click in the real toolbar history menu. The http-origin restore is proved by a unit test only.
|
||||
|
||||
Accepted limits (owner, 2026-11-14):
|
||||
1. A move made in the same instant as a pending Back can be swallowed (not reachable at human speed).
|
||||
2. « Aller à » a finding opens its dialog in view mode.
|
||||
3. The search of the References tab is kept across tabs (not in the history; « Tout afficher » clears it).
|
||||
4. The first tap outside the open « Plus » menu only closes it.
|
||||
5. A sign-out made while a dialog holds unsaved text (from another tab, for instance) leaves no notice later: the tag
|
||||
rotates and its flags are cleared for account separation.
|
||||
6. In the leave cascade, « Continuer la saisie » on a lower dialog keeps that draft; a draft already abandoned above
|
||||
stays dropped (the user's choice), and one Back then reopens the citations sheet.
|
||||
7. Android Back closing « Plus » relies on `CloseWatcher` and is proved by a stub test only (limit 6 above).
|
||||
8. BLK-015 and `admin.spec.ts`: tracked apart (RR-13), unchanged.
|
||||
|
||||
Lifted by this round: the dead Back after a deletion (finish limit 1) and the focus lost to the page body after a
|
||||
« Plus » choice (finish limit 8). Changed: the account id left the history entries for the session tag; a multi-entry
|
||||
leave is confirmed where the browser can cancel it.
|
||||
|
||||
Status: R2 validated, closed pending the final manual checks (`V1-2-6_OWNER_TRIAL.md` §4.12). The owner still has to
|
||||
check Android Back on a real phone.
|
||||
|
||||
Original plan text:
|
||||
|
||||
@@ -430,7 +495,7 @@ The owner-facing table with consequences, in French: `docs/design/v1-2-6-r0/ARBI
|
||||
|---|---|---|---|
|
||||
| A1 | Reorder commands with a search active in document order | Hidden, as checkpoint choice 10 already rules (moving among a hidden subset is ambiguous); one hint line. | RATIFIED 2026-11-09 (BDR-109), exact recommendation |
|
||||
| A2 | Tiles open at once; how long open state, search and sort last | Several open at once; kept while the editor stays open (kept-mounted tab), reset when it reopens. | RATIFIED 2026-11-09 (BDR-109), exact recommendation |
|
||||
| A3 | Actions in the contextual panel | « Modifier », « Retirer de ce constat », « Aller à »; no add, no reorder, no « Supprimer » (always refused by the core there). « Tout afficher » opens the tab with search and sort reset, focus on its heading. | RATIFIED: « Retirer de ce constat » removes only the finding's citation of the reference, never the reference; undoable through the editor history |
|
||||
| A3 | Actions in the contextual panel | « Modifier », « Retirer de ce constat », « Aller à »; no add, no reorder, no « Supprimer » (always refused by the core there). « Tout afficher » opens the tab with search and sort reset, focus on its heading. | RATIFIED: « Retirer de ce constat » removes only the finding's citation of the reference, never the reference; undoable through the editor history. Since 2026-11-14 the removal is made from the finding's edit form (« Retirer » on the draft list), not from the sheet |
|
||||
| A4 | Closed tile content | Citation on two lines at most, type, « Citée N fois » or « Non citée » (the count includes families). | RATIFIED 2026-11-09 (BDR-109), exact recommendation |
|
||||
| A5 | Escape priority | Dialog, then open menu, then contextual panel, then tracing in progress, then selection. | RATIFIED 2026-11-09 (BDR-109), exact recommendation |
|
||||
| A5b | « Toutes les annotations » already clears the selection | Keep both (D6). | RATIFIED 2026-11-09 (BDR-109), exact recommendation |
|
||||
|
||||
@@ -28,6 +28,7 @@ The annotations and findings complement (sub-step U2b) has its own table, F1 to
|
||||
| T15 | « Annuler » wording | brief U0: « Annuler la dernière modification » for the history; « Abandonner » or « Abandonner les modifications » for a form | ratified | none left to decide; U1 applies it |
|
||||
| T16 | Curve handle editing | deferral only if the audit confirms it; exact geometry; no destructive conversion; identified future lot; brief U0: deferral kept, existing geometries checked before any activation of the new model, no DEV access during U0; « Remplacer par un polygone » explicit, validated, old path kept until success, undoable | ratified: deferred to the curves lot | none in V1-2.6; the path count before the new model is activated on an environment and before U6 or U8 reaches any environment beyond the throwaway sandbox |
|
||||
| T17 | Vertebral regions entry without a vertebra role | brief U1 (2026-11-06, BDR-102): fallback « Régions vertébrales » entry in Annotations when no category carries the role `vertebra`; once a Vertèbres category exists, the regions are configured from it, never in two places | ratified | none left to decide; U6 builds it |
|
||||
| U2 orientation | Annotation properties and forms in modal dialogs, geometry by direct manipulation on the drawing | owner brief 2026-11-14: gestures stay as validated (vertex drag, « + », « − », zone move, redraw, point properties); the point size slider stays in the trace strip; a click without movement opens the properties dialog in read mode; creation by a « Nouveau point » or « Nouvelle zone » dialog with a ghost shape; history layer keyed by element, R2 parts reused; boards 02 to 06 and 13 redrawn at the U2 planning (boards 14 and 16 unchanged). Text: `V1-2-6_UX_PLAN.md` §U2, « Orientation 2026-11-14 » | orientation recorded; U2 not started; laterality default (C25) settled at the U2 gate | U2 planning, the redrawn boards' validation |
|
||||
|
||||
## Implementer decisions (recorded at U0 in contract §17.12, no owner question)
|
||||
|
||||
|
||||
@@ -499,6 +499,66 @@ Status: implemented on `feature/v1-2-anatomical-sheets` (lots A to H; Lot I, gat
|
||||
- Risk: touch and keyboard conflicts (§2 G). Rollback: revert (the core value is additive and unused once reverted).
|
||||
- Checkpoint: owner tries mouse and tablet.
|
||||
|
||||
#### Orientation 2026-11-14 (owner)
|
||||
|
||||
Source: owner brief of 2026-11-14, applying to annotations the principle R2 uses for findings and references.
|
||||
Properties and forms live in modal dialogs; geometry stays a direct manipulation on the drawing. The gestures
|
||||
validated for U2 stay binding: vertex drag, « + » on a segment, « − » on a vertex, zone move, redraw, a point's
|
||||
properties. Status: orientation for the U2 design and plan. U2 is not started; its contract, boards and code wait for
|
||||
the U2 planning and its owner gate. Where the objective above says `PropertiesPanel.tsx` or a side panel, this
|
||||
orientation replaces it with a dialog.
|
||||
|
||||
What goes where:
|
||||
|
||||
| On the drawing (no dialog open) | In the properties dialog (ModalDialog, D13) |
|
||||
|---|---|
|
||||
| Selection, handles, vertex drag, « + », « − », zone move, redraw, point move | Names FR/EN, category, vertebral region, laterality, findings zone, review mark, delete |
|
||||
| Point size: the slider with the red minimum mark, in the trace strip | Read mode first; « Modifier » turns it into a transactional form (one undoable operation per save, as R2) |
|
||||
| Zoom, pan, view switch | « Modifier la forme » closes the dialog and hands over to the drawing with the shape selected |
|
||||
|
||||
The point size is geometry, not a property. It needs the drawing visible for its preview and its minimum mark, so it
|
||||
stays in the fixed trace strip of board 04, beside the selection. A modal over the canvas would hide the preview it
|
||||
controls.
|
||||
|
||||
Interaction rules:
|
||||
1. A click or tap without movement on an annotation selects it, shows its handles and opens its properties dialog in
|
||||
read mode. A press that moves beyond the pointer slop is a manipulation and never opens the dialog.
|
||||
2. Closing the dialog (✕, Échap, « Annuler », Back) returns to the drawing with the selection, zoom and pan
|
||||
unchanged; the focus returns to the annotation (R2F-2 return target).
|
||||
3. Once a shape is selected, its handles are dragged directly, no dialog needed. A click without movement on the
|
||||
selected shape reopens its properties.
|
||||
4. « Modifier la forme » closes the dialog, keeps the selection and moves the focus to the first handle. Each gesture
|
||||
stays one undoable operation (owner demo « undo each step »).
|
||||
5. Touch: a tap is rule 1. The explicit « Déplacer la zone » mode lives in the trace strip, not in the dialog.
|
||||
6. Keyboard: Entrée on a focused annotation opens its dialog. In geometry mode the §2 G keys apply unchanged (Tab
|
||||
between handles, arrows to move, Insert and Delete for vertices).
|
||||
|
||||
Creation:
|
||||
1. The user picks « Ajouter un point » or « Ajouter une zone ».
|
||||
2. They place the point or trace the polygon on the drawing; the strip keeps « Terminer » and « Annuler », and
|
||||
Backspace removes the last vertex.
|
||||
3. On completion a « Nouveau point » or « Nouvelle zone » dialog asks for the properties, the traced shape staying
|
||||
drawn under the backdrop as a ghost.
|
||||
4. « Créer » writes geometry and properties as one undoable operation. « Abandonner » removes the ghost and asks first
|
||||
when something was typed (R2 DiscardConfirm). « Reprendre le tracé » returns to the drawing with the shape kept.
|
||||
5. Laterality: the core requires one (`schema.rs`) and the boards imply a default. The open C25 question (no
|
||||
preselected laterality) is settled at the U2 gate.
|
||||
|
||||
History reuse (R2 parts used as they are: ModalDialog and Dialog, `useDirtyGuard`, `useFormDraft`, FormActions,
|
||||
DiscardConfirm, the history adapter with its session tag, the leave guard): the properties dialog is a history layer
|
||||
keyed by element, like the finding dialog (Back closes it, a dirty form asks first). Geometry mode and the trace are
|
||||
not history entries: Échap ends them.
|
||||
|
||||
Mockups: boards 02 to 06 and 13 of `docs/design/v1-2-6/` show a properties side panel next to the drawing. They are
|
||||
redrawn at the U2 planning: the panel becomes the dialog opened over the drawing, the trace strip gains the point-size
|
||||
slider, « Déplacer la zone » and « Redessiner », the drawing keeps its full width. The owner validates the redrawn
|
||||
boards before any U2 code (design-reference rule). Boards 14 and 16 (phone) are unchanged: below 1 024 px the editor
|
||||
stays read-only (O14 A).
|
||||
|
||||
Risks to settle in the U2 plan: the slop threshold for touch versus mouse; a dialog opened by a tap at a canvas edge
|
||||
on a tablet; focus return after « Modifier la forme »; the ghost's contrast under the backdrop; the handle cap (T18)
|
||||
with a dialog open.
|
||||
|
||||
### U2b · Annotations et constats
|
||||
|
||||
- Retained by the owner on 2026-11-06 (brief « Validation de principe U2b et préparation des checkpoints », F1,
|
||||
|
||||
@@ -1358,7 +1358,7 @@ Amended for the V1-2.6 redesign (owner 2026-11-05, §17.12; built in sub-steps
|
||||
U1 to U6, each on its own authorisation). The functions above stay; the way
|
||||
they are reached changes:
|
||||
|
||||
**Note 2026-11-13:** the four-tab layout and the references side panel are superseded by D1 to D4 of R2 (five tabs with « Références », the citations panel opened from a finding; `V1-2-6_U1_CORRECTIONS.md` §R2), built 2026-11-12, corrected 2026-11-13, awaiting the owner's validation. The text below is the historical record.
|
||||
**Note 2026-11-13:** the four-tab layout and the references side panel are superseded by D1 to D4 of R2 (five tabs with « Références », the citations panel opened from a finding; `V1-2-6_U1_CORRECTIONS.md` §R2), built 2026-11-12, corrected 2026-11-13, awaiting the owner's validation. **Note 2026-11-14:** validated by the owner's trial, closed pending the final manual checks. The text below is the historical record.
|
||||
|
||||
- four tabs, Général, Annotations, Constats and Vérification; views,
|
||||
drawings, annotation categories and vertebral regions in Annotations; the
|
||||
@@ -2803,7 +2803,7 @@ Nothing below is built yet; each sub-step starts on its own authorisation.
|
||||
tried by the owner, not declared validated as a whole; its trials stop and its
|
||||
residuals stay tracked in `.claude/tasks/TODO.md`, re-checked at U8.
|
||||
|
||||
**Note 2026-11-13:** the four-tab layout and the references side panel are superseded by D1 to D4 of R2 (five tabs with « Références », the citations panel opened from a finding; `V1-2-6_U1_CORRECTIONS.md` §R2), built 2026-11-12, corrected 2026-11-13, awaiting the owner's validation. The text below is the historical record.
|
||||
**Note 2026-11-13:** the four-tab layout and the references side panel are superseded by D1 to D4 of R2 (five tabs with « Références », the citations panel opened from a finding; `V1-2-6_U1_CORRECTIONS.md` §R2), built 2026-11-12, corrected 2026-11-13, awaiting the owner's validation. **Note 2026-11-14:** validated by the owner's trial, closed pending the final manual checks. The text below is the historical record.
|
||||
|
||||
**Validated UX (choices 1 to 11).** Four tabs, references in a side panel,
|
||||
undo and redo in the header on every tab; direct manipulation of points and
|
||||
|
||||
Reference in new issue
Block a user