docs(docs): R3 owner decisions (trigger names per language, two canvas failure messages)

This commit is contained in:
bchanot committed 2026-10-15 01:03:17 +02:00
1 parent c0a5c8c7ce
commit 75708250a8
2 files changed
+18 -8

No files matched your search

+1
View File
@@ -12,6 +12,7 @@ Versions follow [Semantic Versioning](https://semver.org/).
- **No visible change**, proven first with the TypeScript: canvas trees of both views and 28 selection states, layer trees with attribute order, 36 PDF highlight compositions, 36 hostile SVGs and 10 generated floods, the 4 product SVGs untouched; in Chromium 156 the live canvas trees equal the frozen ones and 30 screenshots (desktop and phone) are pixel-identical before and after. The Step 6 goldens are untouched.
- Declared differences, none on a product drawing: elements outside the SVG namespace removed, comments dropped, no `class`/`style` on the inline root, stricter ids, text only in `title`/`desc` (4 KiB each), floods and reference cycles refused, a product drawing the allowlist would alter refused at load instead of silently cut, a canvas that cannot be composed shows the existing degraded notice with a retry (`docs/development/RUST.md` §9.4).
- `docs/ANNOTATION-RENDERING.md` rewritten to describe the code exactly (no rendering change). Module 396 KB gzip (+56 KB, budget 600 KB).
- Owner decisions after the R3 review: a detail-view trigger without its own name now carries the opened view's name in each language (the English attribute and the tooltip title used to repeat the French name); the canvas tells an engine that did not load ("Réessayer") from a view whose drawing is refused or cannot be composed (its own message, no retry).
### Security (maintenance after R2, 2026-10-14)
+17 -8
View File
@@ -806,9 +806,19 @@ imports it and restyles `data-state` in place as before.
dropped such parts silently.
6. A label or path the document holds with a code point XML 1.0 cannot carry
is refused (`invalid_character`); the DOM path drew it.
7. When the canvas cannot be composed, it shows the existing degraded notice
(`sheet.core_unavailable`) with "Réessayer" inside the canvas; before R3 a
failure there left it blank (an uncaught error).
7. When the canvas cannot be drawn, it says why, inside the canvas (owner
decision 2026-10-15): the engine did not run (`core_unavailable`,
`internal`: the existing `sheet.core_unavailable` notice with "Réessayer",
the retry builds again) or the view itself cannot be drawn (`svg_rejected`,
`no_asset`, `unknown_view`, `invalid_character`, a parse failure: the
`canvas.view_unavailable` notice, no retry since nothing would change). The
technical kind and detail stay in the core's outcome and the DEV console;
the refused drawing and the session are left as they are. Before R3 a
failure there left the canvas blank (an uncaught error).
8. A trigger without a name carries the opened view's name in each language
(owner decision 2026-10-15: until then both name attributes and its title
held the French name). Display only; the frozen oracles stay as frozen and
the tests apply this declared change before comparing.
### 9.5 Measurements
@@ -846,8 +856,7 @@ imports it and restyles `data-state` in place as before.
scoped per view before external uploads are drawn.
- Firefox and WebKit: not run here (no browser build); the owner's LAN run on
the phone covers WebKit.
- The degraded notice inside the canvas (9.4 item 7) and its wording ("le
moteur … n'a pas pu être chargé") are not tailored to a rejected drawing,
which no shipped sheet can produce today.
- A trigger without a name carries the opened view's French name in both
name attributes (unchanged since Step 5; owner question).
- The worker's TLS path has not run against a real HTTPS endpoint (every run
targets the local stack over HTTP): exercise it before the deployment that
needs it.
- WASM budget: 396 KB of 600 KB used; R4 adds the PDF reader and writer.