From d8e9bd391a3d8570fd0835bf1e48a27873339381 Mon Sep 17 00:00:00 2001 From: bchanot Date: Thu, 15 Oct 2026 01:00:43 +0200 Subject: [PATCH] docs(docs): unnamed trigger names follow each language (owner decision 2026-10-15) --- docs/ANNOTATION-RENDERING.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/ANNOTATION-RENDERING.md b/docs/ANNOTATION-RENDERING.md index 2b0fde1c..ea791925 100644 --- a/docs/ANNOTATION-RENDERING.md +++ b/docs/ANNOTATION-RENDERING.md @@ -30,6 +30,11 @@ Annotations without geometry draw nothing. Annotations follow the document order of the view. Coordinates are printed as JavaScript prints numbers, never rounded; a path's `d` is copied as written. Each element has one `` child, "name FR / name EN" (native tooltip), and the attributes below. +Owner decision 2026-10-15: until then an unnamed trigger carried the French +view name in both attributes and its title read "FR / FR"; the editor canvas +(Rust core) now follows the language of each attribute. The PDF engine's +TypeScript renderer keeps the old form until R4, where it is invisible: the +highlight drops every `data-*` attribute and a raster never shows a title. ## Attributes (the application's read contract) @@ -39,7 +44,7 @@ child, "name FR / name EN" (native tooltip), and the attributes below. | `data-anno-kind` | `point`, `zone` or `detail_trigger` | | `data-anno-lateral` | `unpaired`, `bilateral`, `left` or `right` | | `data-anno-opens-view` | `opens_view_id` of a trigger | -| `data-anno-name-fr`, `data-anno-name-en` | the annotation's name; a trigger without a name carries the opened view's **French** name in both | +| `data-anno-name-fr`, `data-anno-name-en` | the annotation's name in each language; a trigger without a name carries the opened view's name in each language (French in `-fr`, English in `-en`; an empty language takes the other one). Display only: never an identifier, never persisted | | `data-anno-zone` | `finding_zone_id`, when present | | `data-anno-region` | `vertebral_region_code`, when present | | `data-state` | `current` on every element of an annotation of the active observation |