Repository navigation
cracktro: replace slide counter with a full-screen slide map - #78163
Conversation
…tips Drop the slide counter and move search/sound into the dock corner. Add a dock button (and G key) that opens a full-screen slide map grouped by band for quick navigation. Dock and arrow buttons show their keyboard shortcut in the title tooltip. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
|
✅ Test Quality Sentinel completed test quality analysis. Test Quality SentinelOutcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
There was a problem hiding this comment.
🟡 Changes recommended
The map dialog has two unresolved dismissal bugs: pressing G closes and immediately reopens it, while clicking empty map space leaves it open.
2 open issues
What changed in this PR
Replaces the standalone talk deck’s slide counter with a full-screen slide map for faster navigation across bands.
Changes:
- Adds a band-grouped slide map with current-slide highlighting and keyboard navigation.
- Adds shortcut tooltips and adjusts dock spacing for compact screens.
- Updates navigation tests and documents the new controls.
| File | Description |
|---|---|
docs/tests/talk.spec.ts |
Uses active dots for slide assertions and adds map navigation and dock overlap checks. |
docs/README.md |
Documents the slide map, G shortcut, and tooltips. |
docs/public/cracktro/deck.js |
Implements the slide map, removes the counter, and updates dock layout and event handling. |
Review effort: Balanced (dynamic)
| e.preventDefault(); | ||
| smp.close(); |
| e.preventDefault(); | ||
| if (to) (to.focus({ preventScroll: true }), to.scrollIntoView({ block: "nearest" })); | ||
| }); | ||
| smp.addEventListener("click", e => e.target === smp && smp.close()); |
|
🎉 This pull request is included in a new release. Release: |

The talk deck's slide counter took up the dock corner without helping anyone navigate, and there was no quick way to jump to a distant slide without searching or counting dots. This PR removes the counter and adds a full-screen slide map for fast navigation. Every dock and arrow button now also shows its keyboard shortcut in its tooltip.
Changes
Gkey) opens a full-screen grid of every slide, one row per band, tinted with each band's accent colour.aria-current, focused, and scrolled into view.G, or a click on the backdrop closes the map.<dialog>, built the first time it opens, and uses a new unusedsmp-CSS prefix.aria-labels are unchanged.Tests and docs
docs/tests/talk.spec.tsnow reads the current slide from the active dot instead of the counter. It adds a slide-map test (click,G, arrow + Enter, Esc), and the 320px overlap check now includes the map button.docs/README.md"Interactive talk" describes the slide map, theGkey and the shortcut tooltips.Review notes
Locally, the full
talk.spec.tsrun had 5 failures:aria-currentbug, which is now fixed. After the fix, the map, search, narrow-screen and compact-button tests pass; the full suite was not rerun.