Repository navigation
cracktro: cursor-like navigation, first-of-band button, keyboard manual - #79486
Conversation
Up/Down, PageUp/PageDown and Shift+Up/Down keep the horizontal position (clamped to the band's length) instead of resetting to the band header. Left/Right from an example still return to the main line. Shift+Home and a new compact-dock button jump to the first slide of the band. Co-authored-by: Copilot App <[email protected]>
Game-style controls screen (arrow pad plus Move/Jump/Show/Slide map/Design a view cards) listing every runtime shortcut; test and docs updated. Co-authored-by: Copilot App <[email protected]>
Replaces the arrow pad with an inline SVG ISO keyboard: KEYMAP keys light up with short tags, chords draw arcs between their nearest keys, and pointing at a key or arc shows its actions. Co-authored-by: Copilot App <[email protected]>
|
✅ 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.
|
|
🧠 Matt Pocock Skills Reviewer is reviewing this pull request using Matt Pocock's engineering skills... |
|
✅ Ponytail Reviewer completed successfully! Ponytail ReviewerOutcome: 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.
|
|
✅ PR Code Quality Reviewer completed the code quality review. PR Code Quality ReviewerOutcome: The agent completed and reported one or more actions. The no-op output is a completion signal, not a claim that no action was taken. 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
Navigation still mishandles the remembered horizontal position: vertical traversal overwrites it, while explicit jumps to the current slide fail to reset it.
2 open issues
What changed in this PR
Updates the reusable cracktro presentation runtime with cursor-style band navigation and an in-map keyboard reference, without changing slide content.
Changes:
- Preserves horizontal position across band moves and adds Shift+Home with a compact-dock button.
- Adds a themed keyboard manual generated from
KEYMAP. - Updates navigation documentation and Playwright coverage.
| File | Description |
|---|---|
docs/tests/talk.spec.ts |
Updates navigation expectations and adds button and keyboard-manual coverage. |
docs/README.md |
Documents cursor navigation, first-of-band controls, and the keyboard manual. |
docs/public/cracktro/runtime.js |
Implements position tracking, first-of-band controls, and the keyboard manual. |
.github/skills/cracktro/mechanics.md |
Updates navigation guidance and requires shortcut changes to update KEYMAP. |
Review effort: Balanced (adaptive)
| void el.offsetWidth; // restart CSS animations on re-entry | ||
| el.classList.add("active"); | ||
| cur = n; | ||
| if (n !== goalKeep) goal = Math.max(0, posOf(n)); |
| }; | ||
| const lineStart = () => { | ||
| const line = mainLine(slides[cur].band); | ||
| if (line.length) go(line[0]); |
Add JSDoc types for the keymap, keyboard layout and nearest-pair search so tsc -p tsconfig.cracktro.json passes again after #79486. Co-authored-by: copilot-swe-agent[bot] <[email protected]>
…9482) * Bind executor temporary-ID resolutions to the authorized snapshot The manager passed handlers a shallow-frozen copy of resolvedTemporaryIds whose entries were shared with live temporaryIdMap values. Temporary-ID spellings resolved by the handler (case or quote variants) could therefore execute against a target changed during the authority wait. Pass the same deep-frozen snapshot that input_digest binds. Add remove_labels consistency regressions (targets, aliases, defaults, filtering, deferral, no-op, denial, staging) and document the guarantee. Co-authored-by: copilot-swe-agent[bot] <[email protected]> * Document JSON clone for the authorized input snapshot Co-authored-by: copilot-swe-agent[bot] <[email protected]> * Use structuredClone for the authorized input snapshot Normalize undefined values with JSON semantics so the snapshot remains digestable: undefined object fields are dropped, undefined array entries become null, and null values are preserved. Co-authored-by: copilot-swe-agent[bot] <[email protected]> * Bind all protected executor inputs to the authorized snapshot - Project inputs to plain JSON data before structuredClone so provider temporary-ID entries with methods or Dates stay digestable. - Execute a writable copy of the bound message. - Pass protected handlers a temporary-ID map view backed by the bound snapshot that writes new IDs through to the shared map. - Refresh handler-local temporary-ID caches from each invocation. - Update the semantic consistency spec paragraph. Co-authored-by: copilot-swe-agent[bot] <[email protected]> * Fix cracktro keyboard manual type errors Add JSDoc types for the keymap, keyboard layout and nearest-pair search so tsc -p tsconfig.cracktro.json passes again after #79486. Co-authored-by: copilot-swe-agent[bot] <[email protected]> --------- Co-authored-by: pelikhan <[email protected]> Co-authored-by: copilot-swe-agent[bot] <[email protected]>

Moving between bands in the cracktro deck used to lose your horizontal place, and nowhere listed all the keyboard shortcuts. This PR makes band moves keep your position and adds a keyboard manual to the slide map.
Navigation
Keyboard manual
section.smp-keys"controls screen". It has an arrow-key pad, then one card each for Move, Jump, Show, Slide map and Design a view, with every shortcut drawn as a keycap.KEYMAPlist inruntime.js. The manual only lists keys that work in every talk, so P (open a slide's prompt, specific to this talk) is not shown.Docs and tests
docs/README.mdand.github/skills/cracktro/mechanics.md. The skill doc now says to updateKEYMAPwhenever a shortcut changes.No slide content changed, so there are no slide screenshots.