Add mouse scroll wheel support to all canvases#7
Open
joeynyc wants to merge 1 commit intodvdsgl:mainfrom
Open
Conversation
- Extend useMouse hook to detect scroll wheel events (SGR format) - Add scroll handler to document canvas (3 lines per tick) - Add scroll handler to calendar canvas (week navigation) - Add scroll handler to flight canvas (respects focus mode) - Add scroll handler to meeting picker (slots + Shift for weeks) - Update help text across all canvases to indicate scroll support - Add comprehensive unit and integration tests (55 tests, 109 assertions) Scroll behavior: - Document: Scroll moves content 3 lines at a time - Calendar: Scroll navigates weeks (7 days forward/back) - Flight: Scroll selects flights or moves seatmap cursor (respects focus) - Meeting Picker: Scroll moves time slots, Shift+scroll navigates weeks Edge cases handled: - Boundary clamping (top/bottom, first/last) - Countdown blocking (flight and meeting picker) - Read-only mode support (document canvas) - Focus mode awareness (flight canvas) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Author
|
Hey man! Just some quality of life add ons. |
paulrobello
added a commit
to paulrobello/claude-canvas
that referenced
this pull request
Jan 13, 2026
Documents all functionality added from merged PRs: - 17 canvas types (14 new from PR dvdsgl#9 + 3 original) - Mouse scroll wheel support (PR dvdsgl#7) - Windows support with Windows Terminal (PR dvdsgl#8) - Calendar CRUD with local storage (PR dvdsgl#8) - Terminal Vision capture feature (issue dvdsgl#5) - Shared component library (Charts, Forms, Layout) - Full CLI command reference - Canvas examples and keyboard shortcuts - IPC protocol documentation - Project structure overview
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds mouse scroll wheel support to all canvas types for natural, intuitive navigation.
Changes
Scroll Behavior
Testing
bun test canvas/src/canvases/🤖 Generated with Claude Code