Skip to content

cracktro: derive slide transitions from section groups - #77657

Merged
pelikhan merged 1 commit into
mainfrom
pelikhan/cracktro-transition-harmonize
Nov 14, 2026
Merged

pelikhan merged 1 commit into
mainfrom
pelikhan/cracktro-transition-harmonize

Conversation

@pelikhan

Copy link
Copy Markdown
Collaborator

The cracktro deck mixed ad-hoc transitions (trans: "up" on a few slides, a special left-in after 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

  • Every slide now declares a group; show() picks a vertical move when the group changes and the horizontal push otherwise. The per-slide trans overrides and the left-in animation are removed.
  • Vertical moves now use the same 0.8s curve as the horizontal push (previously 1s with a different easing).
  • The red wash still covers the previous slide; the security section then slides up underneath it.
Group Slides
intro 1
platform 2-4
security 5-8
factory 9-12
loops 13-16
cost 17-18
enterprise 19-20
scale 21-22

The grouping is a judgment call; please check the split, especially 9-12 vs 13-16.

Validation

  • Probed every forward and backward hop in headless Chromium (including the 4->5 red-wash entry); all directions match.
  • 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 sibling agentics checkout.

Docs: updated docs/README.md and the cracktro skill.

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>
@pelikhan
pelikhan marked this pull request as ready for review November 14, 2026 05:00
Copilot AI adaptive review requested due to automatic review settings November 14, 2026 05:00
@pelikhan
pelikhan merged commit bcdf5bd into main Nov 14, 2026
32 checks passed
@pelikhan
pelikhan deleted the pelikhan/cracktro-transition-harmonize branch November 14, 2026 05:00
@github-actions

github-actions Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

✅ Test Quality Sentinel completed test quality analysis.

Test Quality Sentinel

Outcome: reported_no_action

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.

🧪 Test quality analysis by Test Quality Sentinel · copilot · routed: haiku55 xhigh · ~2 AIC · ⌖ ~2 AIC · ◇ ~1 AIC · ⊞ 7.2K · ◷

@github-actions

github-actions Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

✅ Ponytail Reviewer completed successfully!

Ponytail Reviewer

Outcome: reported_no_action

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.

Generated by Ponytail Reviewer for #77657 · codex · routed: gpt61 medium · ~4 AIC · ⌖ ~1 AIC · ◇ ~1 AIC · ⊞ 182 · ◷

@github-actions

github-actions Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

✅ PR Code Quality Reviewer completed the code quality review.

PR Code Quality Reviewer

Outcome: reported_action

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.

🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt56 · ~3 AIC · ⌖ ~2 AIC · ◇ ~1 AIC · ⊞ 1.5K · ◷

@github-actions

Copy link
Copy Markdown
Contributor

🧠 Matt Pocock Skills Reviewer is reviewing this pull request using Matt Pocock's engineering skills...

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 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;
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v1.3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants