Skip to content

fix(web): navigate timeline minimap with the mouse wheel - #40

Merged
asfires merged 1 commit into
mainfrom
t3code/scroll-side-message-navigator
Aug 17, 2026
Merged

asfires merged 1 commit into
mainfrom
t3code/scroll-side-message-navigator

Conversation

@asfires

@asfires asfires commented Aug 17, 2026

Copy link
Copy Markdown
Owner

What Changed

Added mouse-wheel navigation to the chat timeline minimap. Scrolling over the minimap now moves one message at a time, clamps at the timeline boundaries, and preserves pointer-based selection behavior.

Added focused logic tests covering direction, boundary clamping, and invalid wheel input.

Why

The minimap supported pointer and keyboard navigation but ignored mouse-wheel input, making it less convenient to browse long timelines. Handling wheel events directly keeps navigation predictable and prevents the page from scrolling while the user is interacting with the minimap.

UI Changes

No screenshots or video included; this is a small interaction-only change to the existing timeline minimap.

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for any UI changes
  • I included a video for animation/interaction changes

- Move one message per wheel direction with boundary clamping
- Add focused logic coverage for wheel navigation
@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:M labels Aug 17, 2026
@asfires
asfires merged commit 80f61f1 into main Aug 17, 2026
6 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant