diff --git a/docs/ANATOMY-SVG-CONVENTION.md b/docs/ANATOMY-SVG-CONVENTION.md
index 7f7626a5..cdaf5290 100644
--- a/docs/ANATOMY-SVG-CONVENTION.md
+++ b/docs/ANATOMY-SVG-CONVENTION.md
@@ -20,6 +20,7 @@ Every clickable zone element must carry all four attributes:
| Attribute | Type | Description |
|---|---|---|
| `data-anno-opens-detail` | `string` | Id of the detail popup SVG to open on click. Key must exist in `SpeciesManifest.details`. |
+| `data-anno-special` | `string` | Free-form behavior hint consumed by the app. Known value: `vertebral-precision` → clicking the zone opens VertebraPicker. Opaque to the parser; new values can be added without code changes (just unused). |
---
@@ -114,12 +115,16 @@ A single `click` listener on the root `
\ No newline at end of file
+Boulet post. (métatarso-phalangien) / Hind fetlockBoulet post. (métatarso-phalangien) / Hind fetlockJarret (tarsien) / HockJarret (tarsien) / HockGrasset (fémoro-tibial) / StifleGrasset (fémoro-tibial) / StifleHanche (coxo-fémorale) / Hip jointHanche (coxo-fémorale) / Hip jointArticulation Sacro-Iliaque / Sacroiliac JointArticulation Sacro-Iliaque / Sacroiliac JointÉpaule (scapulo-humérale) / Shoulder jointÉpaule (scapulo-humérale) / Shoulder jointCoude (huméro-radial) / Elbow jointCoude (huméro-radial) / Elbow jointBoulet ant. (métacarpo-phalangien) / Fore fetlockBoulet ant. (métacarpo-phalangien) / Fore fetlockSésamoïdes ant. (boulet) / Forelimb SesamoidsSésamoïdes ant. (boulet) / Forelimb SesamoidsCharnière L6-S1 (lombo-sacrée) / L6-S1 (Lumbosacral)Charnière L6-S1 (lombo-sacrée) / L6-S1 (Lumbosacral)Charnière T18-L1 (dorso-lombaire) / T18-L1 (Thoracolumbar)Charnière T18-L1 (dorso-lombaire) / T18-L1 (Thoracolumbar)Charnière C7-T1 (cervico-thoracique) / C7-T1 (Cervicothoracic)Charnière C7-T1 (cervico-thoracique) / C7-T1 (Cervicothoracic)Vertèbres caudales / Coccygeal VertebraeVertèbres sacrales / Sacral VertebraeVertèbres lombaires / Lumbar VertebraeVertèbres thoraciques / Thoracic VertebraeVertèbres cervicales / Cervical Vertebrae🔍 Zoom: head
\ No newline at end of file
diff --git a/src/anatomy/svgConvention.ts b/src/anatomy/svgConvention.ts
index 53bbcce7..df45d23a 100644
--- a/src/anatomy/svgConvention.ts
+++ b/src/anatomy/svgConvention.ts
@@ -52,6 +52,7 @@ export function parseSvgBones(svgRoot: SVGSVGElement): Map {
const category = el.getAttribute('data-anno-category') as BoneCategory
const opensDetail =
el.getAttribute('data-anno-opens-detail') ?? undefined
+ const special = el.getAttribute('data-anno-special') ?? undefined
const existing = map.get(id)
if (existing) {
@@ -59,6 +60,9 @@ export function parseSvgBones(svgRoot: SVGSVGElement): Map {
if (opensDetail && !existing.opensDetail) {
existing.opensDetail = opensDetail
}
+ if (special && !existing.special) {
+ existing.special = special
+ }
if (!existing.fr && fr) existing.fr = fr
if (!existing.en && en) existing.en = en
} else {
@@ -68,6 +72,7 @@ export function parseSvgBones(svgRoot: SVGSVGElement): Map {
en,
category,
opensDetail,
+ special,
els: [el],
})
}
diff --git a/src/anatomy/types.ts b/src/anatomy/types.ts
index c1257939..acb4b7a2 100644
--- a/src/anatomy/types.ts
+++ b/src/anatomy/types.ts
@@ -24,6 +24,15 @@ export interface Bone {
category: BoneCategory
/** Detail popup id from data-anno-opens-detail, if present */
opensDetail?: string
+ /**
+ * Free-form behavior hint from `data-anno-special`.
+ *
+ * Known values consumed by the application:
+ * - `vertebral-precision`: clicking the zone opens VertebraPicker.
+ *
+ * Opaque to the parser; new values are accepted without code changes.
+ */
+ special?: string
/** All DOM elements carrying this annotation (used for colorization) */
els: Element[]
}
diff --git a/src/app/routes/EditorRoute.tsx b/src/app/routes/EditorRoute.tsx
index 271f74f4..413e1de4 100644
--- a/src/app/routes/EditorRoute.tsx
+++ b/src/app/routes/EditorRoute.tsx
@@ -31,6 +31,7 @@ export default function EditorRoute() {
const setNextAppointment = useReportStore((s) => s.setNextAppointment)
const [bones, setBones] = useState