docs(docs): complement after verifier CONFORME, trigger name per the core

Detail trigger shows its view's name as the core does; F7 cites the
current Catégorie labels; review record and TODO updated.
This commit is contained in:
bchanot committed 2026-11-06 13:28:48 +01:00
1 parent 00aaccfc79
commit 567da677d7
6 files changed
+8 -5

No files matched your search

Binary file not shown.

Before

Width:  |  Height:  |  Size: 182 KiB

After

Width:  |  Height:  |  Size: 181 KiB

+4 -2
View File
@@ -27,8 +27,7 @@ Conventions :
comme illustrative (le brouillon équin n'a aucune zone montrée par deux annotations). Texte de mise en scène repris
des planches v1-2-6 validées, sans valeur de donnée : fil d'Ariane « Cheval, squelette et rachis », titre « Brouillon,
version 4 », nom de l'utilisateur, « 3 modifications non enregistrées », « 2 erreurs ». Le libellé « Restriction en abduction » de la planche 18 A est une
saisie d'exemple. « Accès : Tête (vue latérale gauche) » est un nom d'affichage proposé pour l'accès, qui n'a pas de nom
dans la fiche (décision F7).
saisie d'exemple. L'accès de la planche 19 C porte le nom de sa vue, comme le cœur l'affiche quand l'accès n'a pas de nom.
- Les libellés sont des propositions pour la revue des libellés (C44).
- Rendu : `PW_MODULE=<…>/apps/app/node_modules/@playwright/test node ../v1-2-6/render.cjs maquettes.html .`, après
`node gen-data.cjs`.
@@ -48,3 +47,6 @@ Conventions :
- SHOULD de la revue non appliqués, avec la raison : deux présentations des résultats gardées (arbre en 20, liste
compacte en 21 quand le volet prend la largeur), soumises au propriétaire en F21 ; onglet « Plus » du téléphone
montré avec le nom de l'onglet actif à côté, sans nom accessible détaillé (relève du plan U1, choix 5).
- Vérificateur neuf, tour 3 : CONFORME (9 critères sur 9). Ses observations hors critères ont été traitées ensuite :
nom de l'accès aligné sur la règle du cœur (19 C), libellé « Catégorie » de l'onglet Constats vérifié et cité (F7).
Les fonctions copiées et inutilisées des planches validées restent dans la source, sans effet sur les rendus.
+2 -1
View File
@@ -227,7 +227,8 @@ const DOC = window.DOC
const viewName = (id) => DOC.views.find((v) => v.id === id).fr
const DETAIL = DOC.views.find((v) => v.parent).id
const ANN = DOC.annotations
const nameOf = (a) => a.fr || `Accès : ${viewName(DETAIL)}`
// A trigger without a name shows its view's name, as the core does (index_data.rs:39).
const nameOf = (a) => a.fr || viewName(DETAIL)
const A = ANN.map((a) => [a.view, a.kind === 'detail_trigger' ? 'link' : CAT_KEY[a.cat], nameOf(a), a.g])
const catOf = (a) => a[1] === 'link' ? 'art' : a[1]
const pts = (p) => p.map((q) => q.join(',')).join(' ')
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 1.3 MiB

+1 -1
View File
@@ -178,7 +178,7 @@ None is decided by this proposal; each has a recommendation (F1 to F21).
| F4 | Drawing filter semantics | the chosen views give the drawings to pick on, and all their zones while nothing is picked; once one annotation is picked, only the picked zones count; text and drawing combine with AND; applied at each click, no « Appliquer » |
| F5 | Filter panel | non-modal right panel without scrim (the tree stays live); one secondary panel at a time (opening « Références » closes it, the filter stays active as a chip) |
| F6 | Below 1 024 px | consultation: search and filter available, zones chosen in a list (44 px targets), no selection on the drawing |
| F7 | Labels | « Accès : <vue> » as the name shown for a detail trigger (it has no name in the document), « Constats » for the segment, « Zone de constats » for the link, « Famille » for a finding category (today the Constats tab says « Catégorie », to align at the label review), « Filtrer sur le schéma », « Réinitialiser les filtres » |
| F7 | Labels | a detail trigger keeps the core's display name (its own, else its view's, `core/domain/sheet/index_data.rs:39`), « Constats » for the segment, « Zone de constats » for the link, « Famille » for a finding category (today the Constats tab says « Ajouter une catégorie » and « Type de catégorie », `app/i18n/fr.ts:1478`, `:1483`, to align at the label review), « Filtrer sur le schéma », « Réinitialiser les filtres » |
| F8 | Creating a zone from an annotation without one | allowed, one batch (zone with the annotation's name, editable, then the link), one undo entry |
| F9 | Editing a finding from the drawing | in the side column, with the shared detail component; « Ouvrir dans Constats » for the tree context |
| F10 | Filter lifetime | kept while the page lives (tab changes included), cleared by « Réinitialiser les filtres » and on reload; a filtered zone or annotation removed by an undo leaves the filter silently narrower with its chip updated |