feat(app): editor Annotations tab, core-decided placement, repair rules

This commit is contained in:
bchanot committed 2026-11-04 13:49:41 +01:00
1 parent 92c595caa1
commit 26097852ff
37 files changed
+5001 -6

No files matched your search

@@ -291,3 +291,85 @@ Removed: `editor.views.drawing.detail` (raw core detail no longer shown).
| `editor.findings.mark_reviewed` | Marquer comme relu | Mark as reviewed | Selected element action | ratified REVUE |
| `editor.findings.reset_to_confirm` | Remettre à confirmer | Reset to confirm | Selected element action | ratified REVUE |
## Lot H (Annotations tab: canvas, tools, creation, properties, geometry group)
Every key below is a proposal for the owner's separate review; none is declared approved. « plan wording FR » = quoted in the plan or ratified by the owner (FR verbatim, EN proposed).
| Key | FR | EN | Where | Status |
|---|---|---|---|---|
| `editor.annotations.tools` | Outils | Tools | Tool column accessible name | proposal |
| `editor.annotations.tool.select` | Sélectionner et déplacer | Select and move | Tool button | plan wording FR; EN proposal |
| `editor.annotations.tool.point` | Point | Point | Tool button | plan wording FR; EN proposal |
| `editor.annotations.tool.zone` | Zone | Zone | Tool button | plan wording FR; EN proposal |
| `editor.annotations.tool.link` | Accès à une vue détaillée | Link to a detail view | Tool button | plan wording FR; EN proposal |
| `editor.annotations.undo` | Annuler | Undo | Tool column | plan wording FR; EN proposal |
| `editor.annotations.redo` | Rétablir | Redo | Tool column | plan wording FR; EN proposal |
| `editor.annotations.tool_hint.select` | Outil : sélectionner et déplacer · Échap annule un tracé | Tool: select and move · Esc cancels a tracing | Line above the canvas (board 04) | board 04 FR; EN proposal |
| `editor.annotations.tool_hint.point` | Outil : point · cliquez dans le dessin pour placer un point. | Tool: point · click in the drawing to place a point. | Line above the canvas | proposal |
| `editor.annotations.tool_hint.zone` | Outil : zone · cliquez pour poser les sommets ; Entrée ou « Fermer le tracé » termine, Échap annule. | Tool: zone · click to place the vertices; Enter or « Close the tracing » finishes, Esc cancels. | Line above the canvas | proposal |
| `editor.annotations.tool_hint.link` | Outil : accès à une vue détaillée · tracez le contour qui ouvre la vue ; Entrée termine, Échap annule. | Tool: link to a detail view · trace the outline that opens the view; Enter finishes, Esc cancels. | Line above the canvas | proposal |
| `editor.annotations.views` | Vues | Views | View chips group name | proposal |
| `editor.annotations.unmeasured.hint` | Ce dessin n'est pas mesurable : ajoutez ou corrigez son illustration (onglet Vues et illustrations) avant de placer ou de déplacer des éléments. | This drawing cannot be measured: add or fix its illustration (tab Views and illustrations) before placing or moving elements. | Unmeasured view (C32) | plan wording FR; EN proposal |
| `editor.annotations.outside` | Cliquez à l'intérieur du dessin. | Click inside the drawing. | Point click outside the frame | plan wording FR; EN proposal |
| `editor.annotations.correction` | Le point ne tient pas à l'endroit choisi. Position corrigée proposée : x = {x}, y = {y}. | The point does not fit where you clicked. Corrected position proposed: x = {x}, y = {y}. | Corrected-position confirmation (C26) | plan wording FR; EN proposal |
| `editor.annotations.correction_use` | Utiliser cette position | Use this position | Corrected-position confirmation | plan wording FR; EN proposal |
| `editor.annotations.correction_cancel` | Annuler | Cancel | Corrected-position confirmation | plan wording FR; EN proposal |
| `editor.annotations.no_category` | Créez d'abord une catégorie d'annotation (onglet Général). | Create an annotation category first (tab General). | Drawing tools disabled | plan wording FR; EN proposal |
| `editor.annotations.no_child_view` | Aucune vue détaillée ne s'ouvre depuis cette vue : créez-en une dans l'onglet Vues et illustrations. | No detail view opens from this view: create one in the Views and illustrations tab. | Link tool disabled | proposal |
| `editor.annotations.add.point` | Ajouter un point | Add a point | Keyboard creation button | plan wording FR; EN proposal |
| `editor.annotations.add.zone` | Ajouter une zone | Add a zone | Keyboard creation button | plan wording FR; EN proposal |
| `editor.annotations.add.detail_trigger` | Ajouter un accès | Add a link | Keyboard creation button | plan wording FR; EN proposal |
| `editor.annotations.new.point` | Nouveau point | New point | Creation panel title | plan wording FR; EN proposal |
| `editor.annotations.new.zone` | Nouvelle zone | New zone | Creation panel title | plan wording FR; EN proposal |
| `editor.annotations.new.detail_trigger` | Nouvel accès | New link | Creation panel title | plan wording FR; EN proposal |
| `editor.annotations.create` | Créer | Create | Creation panel button | plan wording FR; EN proposal |
| `editor.annotations.create_cancel` | Annuler | Cancel | Creation panel button | plan wording FR; EN proposal |
| `editor.annotations.name_fr` | Nom (FR) | Name (FR) | Field | plan wording FR; EN proposal |
| `editor.annotations.name_en` | Nom (EN) | Name (EN) | Field | plan wording FR; EN proposal |
| `editor.annotations.category` | Catégorie | Category | Field | plan wording FR; EN proposal |
| `editor.annotations.color` | Couleur | Colour | Field | plan wording FR; EN proposal |
| `editor.annotations.color_hint` | Laissez vide pour la couleur de la catégorie, ou indiquez une valeur hexadécimale (#rrggbb). | Leave empty for the category colour, or enter a hexadecimal value (#rrggbb). | Colour field hint | proposal |
| `editor.annotations.laterality` | Latéralité | Laterality | Field | plan wording FR; EN proposal |
| `editor.annotations.laterality.unpaired` | Non latéralisée | Unpaired | Laterality option | board 04 FR; EN proposal |
| `editor.annotations.laterality.bilateral` | Bilatérale | Bilateral | Laterality option | proposal |
| `editor.annotations.laterality.left` | Gauche | Left | Laterality option | proposal |
| `editor.annotations.laterality.right` | Droite | Right | Laterality option | proposal |
| `editor.annotations.region` | Région vertébrale | Vertebral region | Field | plan wording FR; EN proposal |
| `editor.annotations.zone` | Zone de constats | Findings zone | Field | plan wording FR; EN proposal |
| `editor.annotations.opens` | Vue ouverte | Opened view | Field (link) | plan wording FR; EN proposal |
| `editor.annotations.none` | Aucune | None | Optional select, empty option | proposal |
| `editor.annotations.required.fields` | Choisissez la catégorie et la latéralité (et la vue ouverte pour un accès). | Choose the category and the laterality (and the opened view for a link). | Creation refused before the core | proposal |
| `editor.annotations.required.names` | Renseignez le nom en français et en anglais. | Enter the name in French and in English. | Creation refused before the core (a link's name is both languages or none) | proposal |
| `editor.annotations.kind.point` | Point | Point | Annotation kind | proposal |
| `editor.annotations.kind.zone` | Zone | Zone | Annotation kind | proposal |
| `editor.annotations.kind.detail_trigger` | Accès | Link | Annotation kind | proposal |
| `editor.annotations.status.to_confirm` | À confirmer | To confirm | Review badge | plan wording FR; EN proposal |
| `editor.annotations.status.reviewed` | Relu | Reviewed | Review badge | plan wording FR; EN proposal |
| `editor.annotations.status.inherited` | Hérité, non relu | Inherited, not reviewed | Review badge | plan wording FR; EN proposal |
| `editor.annotations.mark_reviewed` | Marquer comme relu | Mark as reviewed | Properties action | plan wording FR; EN proposal |
| `editor.annotations.to_confirm` | Remettre à confirmer | Reset to confirm | Properties action | plan wording FR; EN proposal |
| `editor.annotations.list` | Annotations de la vue | Annotations of the view | List accessible name | proposal |
| `editor.annotations.list_empty` | Aucune annotation dans cette vue. | No annotation in this view. | Empty list | proposal |
| `editor.annotations.selection` | Sélection : {kind} « {name} » | Selection: {kind} « {name} » | Tag over the drawing (board 04) | plan wording FR; EN proposal |
| `editor.annotations.select_hint` | Sélectionnez une annotation sur le dessin ou dans la liste pour voir ses propriétés. | Select an annotation on the drawing or in the list to see its properties. | Empty properties panel | proposal |
| `editor.annotations.properties` | Propriétés de l'annotation | Annotation properties | Properties panel accessible name | proposal |
| `editor.annotations.tracing` | {count} sommet(s) posé(s). | {count} vertex(es) placed. | Tracing bar | proposal |
| `editor.annotations.trace_close` | Fermer le tracé | Close the tracing | Tracing bar | plan wording FR; EN proposal |
| `editor.annotations.trace_cancel` | Annuler le tracé | Cancel the tracing | Tracing bar | plan wording FR; EN proposal |
| `editor.annotations.replace_polygon` | Remplacer par un polygone | Replace with a polygon | Properties (path or missing geometry) | plan wording FR; EN proposal |
| `editor.annotations.no_geometry` | Cette annotation n'a pas de géométrie : tracez un polygone pour lui en donner une. | This annotation has no geometry: trace a polygon to give it one. | Properties, geometry missing | proposal |
| `editor.annotations.path` | Cette annotation est un tracé libre (path) : ses données ne se modifient pas ici. | This annotation is a free path: its data cannot be edited here. | Properties, path geometry | proposal |
| `editor.annotations.geometry.circle` | Position et rayon | Position and radius | Geometry group legend | proposal |
| `editor.annotations.geometry.polygon` | Sommets | Vertices | Geometry group legend | proposal |
| `editor.annotations.geometry.cx` | Centre x | Centre x | Field | proposal |
| `editor.annotations.geometry.cy` | Centre y | Centre y | Field | proposal |
| `editor.annotations.geometry.r` | Rayon | Radius | Field | proposal |
| `editor.annotations.geometry.vertex_x` | x du sommet {n} | x of vertex {n} | Field | proposal |
| `editor.annotations.geometry.vertex_y` | y du sommet {n} | y of vertex {n} | Field | proposal |
| `editor.annotations.geometry.vertices` | {count} sommets | {count} vertices | Polygon rows | proposal |
| `editor.annotations.geometry.add_vertex` | Ajouter un sommet | Add a vertex | Polygon rows | plan wording FR; EN proposal |
| `editor.annotations.geometry.unapplied` | Valeurs non appliquées : le brouillon est inchangé. | Values not applied: the draft is unchanged. | Geometry group after a refusal | proposal |
| `editor.annotations.geometry.unapplied_tag` | non appliqué | not applied | Marker on a field of an unapplied group | plan wording FR; EN proposal |
| `editor.annotations.geometry.revert` | Revenir aux valeurs enregistrées | Back to the saved values | Geometry group after a refusal | plan wording FR; EN proposal |
| `editor.annotations.geometry.number` | Chaque champ doit contenir un nombre. | Each field must hold a number. | Geometry group, input shape | proposal |