fix(website): stabilize animated terminal - #466
Conversation
Fix mobile scroll jumps by keeping the animated terminal viewport fixed. Match pull and push scenes to the current CLI output. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
|
Caution The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
WalkthroughThe hero terminal scenes now show structured highlighted CLI output with separators. Terminal playback uses fixed-height overflow handling and requestAnimationFrame-based scrolling to keep newly rendered content visible, while resetting scroll position at scene start. ChangesHero terminal experience
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Pull request overview
This PR stabilizes the website hero’s animated terminal playback so it no longer affects overall page height (preventing mobile scroll anchoring), while updating the demo scenes to reflect current Envilder CLI output for pull and single-secret push.
Changes:
- Fix the terminal viewport to a constant height and clip overflow to keep the page layout stable.
- Add “follow latest line” scrolling behavior during playback without creating a user-scrollable nested region.
- Refresh the “setup” and “cli” scenes to match current CLI messaging (
PUSHING SECRET/SECRET PUSHED,RESOLVING SECRETS/LEVEL CLEARED).
Summary
Stabilizes the animated hero terminal so scene playback no longer changes page height or triggers mobile scroll anchoring. The terminal demo now mirrors the current Envilder CLI output for pull and single-secret push operations.
Changes
PUSHING SECRETandSECRET PUSHEDoutput.RESOLVING SECRETSandLEVEL CLEAREDoutput.Testing
pnpm --dir src/website format:checkpnpm --dir src/website lintpnpm --dir src/website buildpnpm lintpnpm test(353 passed)pnpm verify:gha(the bundle regenerated frommaindiffers from the versioned bundle; this PR has no GitHub Action diff)Related
N/A
Summary by CodeRabbit