docs(docs): U2 tests, plan, rendering and Rust review aligned

This commit is contained in:
bchanot committed 2026-11-18 11:23:22 +01:00
1 parent 0ca1f20452
commit 6e42d2ada1
12 files changed
+93 -53

No files matched your search

+6 -3
View File
@@ -61,8 +61,11 @@ highlight drops every `data-*` attribute and a raster never shows a title.
| `data-state` | `current` on every element of an annotation of the active observation |
Click handling walks up to the nearest `[data-anno-id]` and hands the
annotation id to the core's click rule (`zone.click`, R2). Behaviour never
depends on a label, an element id or a class. The canvas sets and removes
annotation id to the core's click rule (`zone.click`, R2). In the editor the
press machine (`press.ts`, U2) lists the elements under the pointer
(`elementsFromPoint`), reads the nearest `[data-anno-id]` of each and decides
one action for the whole press. Behaviour never depends on a label, an element
id or a class. The canvas sets and removes
`data-state` in place when the active observation changes (no rebuild), for
the annotation ids of every zone of that observation, whatever their view;
the custom tooltip reads the two name attributes (none on a trigger).
@@ -171,7 +174,7 @@ from `(any-pointer: coarse)`:
| Device | Vertex | « + » | « − » bubble | Hit radius |
|---|---|---|---|---|
| Coarse (finger) | 18 px | 24 px | 44 × 36 px | 22 px |
| Fine (mouse, pen) | 12 px | 16 px | board 05 size | 10 px |
| Fine (mouse, pen) | 12 px | 16 px | 28 × 22 px | 10 px |
The point handle covers the selected point's own circle (at least the hit
radius), so the whole marker can be held. A chosen vertex is drawn bigger,