Repository navigation
cracktro: derive slide transitions from section groups - #77657
Conversation
Siblings within a group push left (right going back); crossing into another group slides up (down going back). Replaces ad-hoc trans/left-in overrides and unifies timing at 0.8s. 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.
|
|
✅ 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.
|
|
🧠 Matt Pocock Skills Reviewer is reviewing this pull request using Matt Pocock's engineering skills... |
There was a problem hiding this comment.
🟡 Changes recommended
The navigation tests lack regression assertions for transition classes and direction during same- and cross-group navigation, initial load, and the delayed 4→5 red-wash entry.
1 open issue
What changed in this PR
This PR makes cracktro slide transitions follow the talk’s section structure rather than per-slide overrides.
Changes:
- Assigns all 22 slides to eight groups, with horizontal transitions within groups and vertical transitions between groups.
- Standardizes transitions to 0.8 seconds while preserving the red-wash entry and reversing direction when navigating backward.
- Updates user and maintainer documentation to describe the group-based behavior.
| File | Description |
|---|---|
docs/README.md |
Documents section-based transitions and reverse navigation. |
docs/public/cracktro/deck.js |
Adds slide groups and derives transition direction from them. |
.github/skills/cracktro/SKILL.md |
Documents group metadata and updated transition mechanics. |
Review effort: Balanced (dynamic)
| const vert = horiz || cur < 0 ? null : dir > 0 && flip[slides[n].trans] ? slides[n].trans : dir < 0 && flip[slides[cur].trans] ? flip[slides[cur].trans] : null; | ||
| const TR = ["up-in", "up-out", "down-in", "down-out", "left-in"]; | ||
| if (cur >= 0 && horiz) { | ||
| const vert = cur >= 0 && slides[n].group !== slides[cur].group ? (dir > 0 ? "up" : "down") : null; |
|
🎉 This pull request is included in a new release. Release: |

The cracktro deck mixed ad-hoc transitions (
trans: "up"on a few slides, a specialleft-inafter the red wash), so section changes were not signalled consistently. This makes the motion follow the talk's structure: siblings in a section push left, and moving to a new section slides up. Going back reverses both.Approach
group;show()picks a vertical move when the group changes and the horizontal push otherwise. The per-slidetransoverrides and theleft-inanimation are removed.The grouping is a judgment call; please check the split, especially 9-12 vs 13-16.
Validation
tests/talk.spec.ts: 4/5 pass against a static server. The footer-link test needs the Astro homepage, which could not start locally without a siblingagenticscheckout.Docs: updated
docs/README.mdand the cracktro skill.