Web canvas scene navigation#572
Conversation
- PageUp: switch to previous scene - PageDown: switch to next scene - Register actions in uxhost-actions for keyboard shortcuts UI Co-authored-by: Universe <universe@grida.co>
|
Cursor Agent can help with this pull request. Just |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Caution Review failedPull request was closed or merged during review No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
WalkthroughThe changes add keyboard-based scene navigation functionality by registering two new actions (PageUp and PageDown) in the action registry and implementing corresponding hotkey handlers that switch between scenes in the current document. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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 |
Add PageUp/PageDown keybindings for switching between scenes in the web canvas.
This allows users to navigate between scenes using keyboard shortcuts: PageUp for the previous scene and PageDown for the next scene. The shortcuts are wrap-safe, prevent default browser scrolling, and are disabled when focus is on form fields or contentEditable elements.
Summary by CodeRabbit