docs(docs): complement boards compute the last names, decisions F17-F21

Verifier round 2: view chip and grasset names computed from the draft;
partial clears, out-of-filter count, zone picker order, dashed sibling
and result presentation listed as owner decisions.
This commit is contained in:
bchanot committed 2026-11-06 13:22:54 +01:00
1 parent 212126c6ce
commit 00aaccfc79
6 files changed
+18 -7

No files matched your search

Binary file not shown.

Before

Width:  |  Height:  |  Size: 179 KiB

After

Width:  |  Height:  |  Size: 179 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 286 KiB

After

Width:  |  Height:  |  Size: 286 KiB

+7 -1
View File
@@ -2,7 +2,7 @@
Brief propriétaire du 2026-11-06 « Nouvelle exigence UX : navigation bidirectionnelle entre annotations et constats ».
Contrat `.claude/tasks/contracts/2026-11-06-v1-2-6-findings-nav-design.md`. Étude, placement, risques, tests et
décisions F1 à F16 : `docs/development/V1-2-6_UX_FINDINGS_NAV.md`. Aucun code n'est écrit avant l'approbation.
décisions F1 à F21 : `docs/development/V1-2-6_UX_FINDINGS_NAV.md`. Aucun code n'est écrit avant l'approbation.
| Fichier | Contenu |
|---|---|
@@ -42,3 +42,9 @@ Conventions :
- Vérificateur neuf, tour 1 : ECARTS(4). Corrigé : cardinalité des accès (plusieurs à un), sous-arbres « Anamnèse »
(trois variantes), preuve de l'oracle du critère 7 consignée, décisions F13 à F16 ajoutées ; verdict de la revue
consigné ici.
- Vérificateur neuf, tour 2 : ECARTS(2). Corrigé : derniers noms de la fiche saisis dans la source (nom de vue de la
pastille, « Grasset » en 19 D et dans la note de la planche 20) désormais calculés ; décisions F17 à F21 ajoutées
(effacements partiels, nombre hors filtre, ordre de la liste des zones, pointillé, présentation des résultats).
- 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).
+4 -4
View File
@@ -339,7 +339,7 @@ function toolbar(on, o = {}) {
</div>`
}
const bigPills = (z) => `${vchip()}<div class="zoombox" style="padding:4px"><span class="z" style="width:44px;height:44px">${ico('minus')}</span><span style="min-width:48px;text-align:center">${z}</span><span class="z" style="width:44px;height:44px">${ico('plus')}</span><span class="z" style="width:44px;height:44px">${ico('fit')}</span></div>`
const vchip = (v = 'Vue latérale gauche') => `<span class="chip" style="position:absolute;right:10px;top:10px;background:rgba(255,255,255,.95)">${ico('layers', 'sm')}${v}</span>`
const vchip = (v = DOC.views[0].fr) => `<span class="chip" style="position:absolute;right:10px;top:10px;background:rgba(255,255,255,.95)">${ico('layers', 'sm')}${v}</span>`
const zoom = (z = '100 %') => `${vchip()}<div class="zoombox"><span class="z">${ico('minus', 'sm')}</span><span style="min-width:42px;text-align:center">${z}</span><span class="z">${ico('plus', 'sm')}</span><span class="z" title="Ajuster">${ico('fit', 'sm')}</span></div>`
const sw = (c, o, cls = '') => `<span class="sw ${cls}"><i style="background:${c};opacity:${o}"></i></span>`
const catSel = (k) => `<span class="inp">${sw(CATS[k].c, CATS[k].o)}${CATS[k].fr}<span class="caret">${ico('down', 'sm')}</span></span>`
@@ -474,7 +474,7 @@ document.getElementById('b17').innerHTML = editor({ body: stage((u) => ring(STIF
const trig = ANN.find((a) => a.kind === 'detail_trigger')
const access = `<div class="vign"><div class="lbl">C. Accès à une vue détaillée</div>${vframe(560, 300, `<div class="pcard"><div class="phead">${ico('crop', 'sm')}${nameOf(trig)}</div><div class="seg"><span class="on">Propriétés</span><span style="opacity:.45">Constats</span></div>
<div class="small muted">Un accès ouvre la vue « ${viewName(DETAIL)} » : il ne représente pas une région, il n'a pas de zone de constats (champ vide dans la fiche). L'onglet « Constats » du volet est grisé avec cette raison.</div></div>`)}</div>`
const dup = `<div class="vign"><div class="lbl">D. Zone montrée par deux annotations (cas illustratif)</div>${vframe(560, 360, `<div class="pcard">${selHead(STIFLE)}${zoneLine(STIFLE, { also: 'Aussi sur le schéma : Grasset, vue « Membre postérieur » (<a class="lnk">la sélectionner</a>)' })}</div>
const dup = `<div class="vign"><div class="lbl">D. Zone montrée par deux annotations (cas illustratif)</div>${vframe(560, 360, `<div class="pcard">${selHead(STIFLE)}${zoneLine(STIFLE, { also: `Aussi sur le schéma : ${short(nameOf(STIFLE))}, vue « Membre postérieur » (<a class="lnk">la sélectionner</a>)` })}</div>
<div class="lrow s13" style="gap:14px"><svg width="70" height="34" viewBox="0 0 70 34"><circle cx="17" cy="17" r="11" fill="none" stroke="#b85a3f" stroke-width="3"/><circle cx="27" cy="7" r="6" fill="#b85a3f"/><circle cx="55" cy="17" r="11" fill="none" stroke="#b85a3f" stroke-width="2" stroke-dasharray="4 3"/></svg><span>Dans « Filtrer sur le schéma » : l'annotation cliquée est cochée, l'autre annotation de la même zone est cernée en pointillé ; la zone compte une fois.</span></div>
${note(`Le brouillon équin n'a aucune zone montrée par deux annotations (${DOC.zones.filter((z) => annOfZone(z.id).length > 1).length} sur ${DOC.zones.length}) ; la vue « Membre postérieur » est inventée pour l'exemple. Règle : les constats sont ceux de la zone, comptés et listés une fois (dédoublonnage par zone ; le bilan, lui, sépare aussi par côté) ; dans « Filtrer sur le schéma », sélectionner l'une des deux annotations retient la zone une fois et marque l'autre en pointillé.`)}`)}</div>`
document.getElementById('b19').innerHTML = change + none + access + dup
@@ -519,7 +519,7 @@ document.getElementById('b17').innerHTML = editor({ body: stage((u) => ring(STIF
</div>`
document.getElementById('b20').innerHTML = editor({ tab: 'Constats', body: `<div style="flex:1;min-width:0;display:flex;flex-direction:column;gap:10px">${bar}
<div style="display:flex;gap:12px;flex:1;min-height:0"><div class="pcard tree" style="flex:1;min-width:0;overflow:hidden">${rows}</div>${detail}</div></div>` })
+ `<div style="display:flex;gap:12px;margin-top:10px;width:1280px">${note(`<b>Recherche :</b> sur le nom des constats en français et en anglais, sans tenir compte des accents ni de la casse, dès la frappe. Les branches sans résultat se replient ; les ancêtres d'un résultat restent visibles en gris. La liste est montrée défilée jusqu'au grasset (${pl(Math.max(0, zonesOf(matches('restriction')).indexOf(STIFLE.zone) - 2), 'zone', 'zones')} au-dessus). « Ajouter… » ouvre le choix zone, famille ou constat, comme aujourd'hui. Le compteur est annoncé poliment aux lecteurs d'écran après une courte pause de frappe.`, 'flex:1')}${note(`<b>« Sur le schéma » :</b> passe à l'onglet Annotations, sélectionne l'annotation de la zone et ouvre son volet « Constats » (navigation inverse de la planche 17). Plusieurs annotations : la première, les autres listées dans le volet.<br><b>Filtres :</b> états d'interface, gardés en changeant d'onglet, jamais enregistrés ni écrits dans la fiche.`, 'flex:1')}</div>`
+ `<div style="display:flex;gap:12px;margin-top:10px;width:1280px">${note(`<b>Recherche :</b> sur le nom des constats en français et en anglais, sans tenir compte des accents ni de la casse, dès la frappe. Les branches sans résultat se replient ; les ancêtres d'un résultat restent visibles en gris. La liste est montrée défilée jusqu'à « ${short(nameOf(STIFLE))} » (${pl(Math.max(0, zonesOf(matches('restriction')).indexOf(STIFLE.zone) - 2), 'zone', 'zones')} au-dessus). « Ajouter… » ouvre le choix zone, famille ou constat, comme aujourd'hui. Le compteur est annoncé poliment aux lecteurs d'écran après une courte pause de frappe.`, 'flex:1')}${note(`<b>« Sur le schéma » :</b> passe à l'onglet Annotations, sélectionne l'annotation de la zone et ouvre son volet « Constats » (navigation inverse de la planche 17). Plusieurs annotations : la première, les autres listées dans le volet.<br><b>Filtres :</b> états d'interface, gardés en changeant d'onglet, jamais enregistrés ni écrits dans la fiche.`, 'flex:1')}</div>`
}
</script>
@@ -540,7 +540,7 @@ document.getElementById('b17').innerHTML = editor({ body: stage((u) => ring(STIF
const left = `<div style="width:420px;flex:none;display:flex;flex-direction:column;gap:8px">
<span class="inp" style="width:100%">${ico('search', 'sm')}${Q}<span style="margin-left:auto">${ico('close', 'sm')}</span></span>
<div style="display:flex;gap:6px;flex-wrap:wrap"><span class="chip">Texte : ${Q} ${ico('close', 'sm')}</span><span class="chip on">${ico('layers', 'sm')}Schéma : ${pl(ids.length, 'zone', 'zones')} ${ico('close', 'sm')}</span></div>
<div class="lrow"><span class="count">${pl(ms.length, 'constat', 'constats')} dans ${pl(zs.length, 'zone', 'zones')}</span><span class="r"><a class="lnk small">Réinitialiser les filtres</a></span></div>
<div class="lrow"><span class="count">${pl(ms.length, 'constat', 'constats')} dans ${pl(zs.length, 'zone', 'zones')}</span><span class="r"><span class="btn ghost sm">${ico('undo', 'sm')}Réinitialiser les filtres</span></span></div>
<div class="pcard tree" style="flex:1;min-height:0;overflow:hidden">${rows}</div></div>`
const views = DOC.views.map((v) => `<span class="chip on">${ico('check', 'sm')}${v.fr}</span>`).join('')
const panel = `<div class="fpanel" style="top:162px;width:600px">
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 1.3 MiB

+7 -2
View File
@@ -168,7 +168,7 @@ authorisation.
## 7. Decisions to take (owner)
None is decided by this proposal; each has a recommendation (F1 to F16).
None is decided by this proposal; each has a recommendation (F1 to F21).
| Id | Question | Recommendation |
|---|---|---|
@@ -183,11 +183,16 @@ None is decided by this proposal; each has a recommendation (F1 to F16).
| 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 |
| F11 | « Sur le schéma » from a zone named by several annotations | selects the first in document order and lists the others in the segment |
| F12 | Multi-annotation marking in the filter panel | accent outline and check disc (board 21), a new page state recorded in `docs/ANNOTATION-RENDERING.md` before any code |
| F12 | Multi-annotation marking in the filter panel | accent outline and check disc (board 21; F20 for the other annotation of a picked zone), a new page state recorded in `docs/ANNOTATION-RENDERING.md` before any code |
| F13 | Finding detail while the filter panel is open | hidden, the tree takes the width; it comes back when the panel closes (board 21) |
| F14 | Grouping of the keyboard list of annotations | by annotation category (colour), as the drawing shows them, with a caption saying so; not by finding family (board 22 B) |
| F15 | Choosing a zone already shown by another annotation | allowed, with a notice naming the other annotation before the change is applied (board 19 A) |
| F16 | « Constats » segment of a detail trigger | shown disabled with its reason rather than hidden, so the panel keeps the same layout (board 19 C) |
| F17 | Partial clears beside the general reset | « Effacer la sélection » in the filter panel (board 21), « Retirer le filtre du schéma » in the empty state (board 22 A), and a ✕ on each filter chip (« Texte », « Schéma ») to drop one filter; « Réinitialiser les filtres » clears all, same button on every board |
| F18 | No-result state | says how many findings match the text outside the drawing filter and offers to remove that filter (board 22 A) |
| F19 | Zone picker of « Changer » | current zone first with a « zone actuelle » tag, then the zones in document order, each with the number of annotations that show it (board 19 A) |
| F20 | Other annotation of a picked zone in the filter | dashed outline on the drawing, the zone counted once (board 19 D); completes F12 |
| F21 | How search results are shown | in the tree: branches without a result folded, ancestors in grey, the matched text highlighted, a result count per zone and a « Sur le schéma » link (board 20); while the filter panel is open, a compact list per zone with the family as a prefix, because the panel takes the width (board 21) |
## 8. Out of scope