docs(docs): unnamed trigger names follow each language (owner decision 2026-10-15)

This commit is contained in:
bchanot committed 2026-10-15 01:00:43 +02:00
1 parent e1b56083c6
commit d8e9bd391a
1 file changed
+6 -1
+6 -1
View File
@@ -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 `<title>`
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 |