Docs: AGENTS.md says the gate waits for the presenter's pictures
The font gate now also waits, on the presenter window, for the pictures of the slides it opens on, and static/presskeys.js keeps the keys pressed before the presenter bundle mounts.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+6
−2
AGENTS.md+6 −2
diff --git a/AGENTS.md b/AGENTS.md| index f716142..b3eab15 100644 |
| --- a/AGENTS.md |
| +++ b/AGENTS.md |
| @@ -732,7 +732,9 @@ Docs' AGENTS.md fonts section for the reasoning behind each rule. |
| fallback for the visit (it never joins `document.fonts`, so it cannot |
| swap in later; `data-slides-fonts-fallback` names it), puts the rest |
| on, on the editor waits for the editor's first mount (`settled()`) up |
| - to 3.5 s, then shows the slides once. On the editor it then prefetches |
| + to 3.5 s, on the presenter window for the pictures of the slides it |
| + opens on (Now and Next) to decode, up to the same 3.5 s, then shows |
| + the slides once. On the editor it then prefetches |
| the other families at idle (not with Save-Data or on 2G); |
| `data-slides-fonts-prefetch="done"` marks the end. |
| - **After the reveal nothing paints in a family that has not loaded.** |
| @@ -861,7 +863,9 @@ Docs' AGENTS.md fonts section for the reasoning behind each rule. |
| remote and sessions begun before positions only. The presenter window |
| and the slide windows of a positional session are driven by the |
| `presenter` bundle instead: `presenter-entry.mjs` with `talk-*.mjs` |
| - and `presenter-*.mjs`) fetch the next page, make its families |
| + and `presenter-*.mjs`, behind `static/presskeys.js`, a blocking |
| + script that keeps the keys pressed before the bundle mounts) fetch |
| + the next page, make its families |
| ready, decode its pictures and then swap it in one task, moving the |
| address with `pushState`; Back and Forward do the same. The current |
| slide stays until the next is complete, never a blank. The links and |