feat: Add auto-scrolling for info panels#3149
Conversation
|
🚀 Thanks for opening this pull request! |
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
|
Caution Review failedThe pull request is closed. 📝 WalkthroughWalkthroughAdds an Auto-scroll feature for the Data Browser aggregation panel: UI controls (toolbar button + Settings menu), recording of scroll gestures via Option/Alt + wheel, an animation loop to replay the gesture, pause/resume behavior, persistence to localStorage, and lifecycle cleanup. Changes
Sequence DiagramsequenceDiagram
participant User as User
participant BrowserToolbar as BrowserToolbar
participant DataBrowser as DataBrowser
participant Panel as AggregationPanel
participant Toolbar as Toolbar
User->>BrowserToolbar: Click Settings > Auto-scroll
BrowserToolbar->>DataBrowser: toggleAutoScroll()
DataBrowser->>DataBrowser: setState(autoScrollEnabled)
Note over DataBrowser: Listens for Option/Alt + wheel to record
User->>DataBrowser: Hold Option/Alt + Scroll wheel
DataBrowser->>DataBrowser: handleAutoScrollKeyDown()
DataBrowser->>DataBrowser: handleAutoScrollWheel() (record delta)
User->>DataBrowser: Release Option/Alt
DataBrowser->>DataBrowser: handleAutoScrollKeyUp() → startAutoScroll()
loop Auto-scroll playback
DataBrowser->>DataBrowser: performAutoScrollStep() (easing)
DataBrowser->>Panel: update scrollTop
Note over DataBrowser,Panel: optional multi-panel sync
end
User->>Toolbar: Click Auto-scroll Stop button
Toolbar->>DataBrowser: stopAutoScroll()
DataBrowser->>DataBrowser: cancel timers/animation, setState(isAutoScrolling=false)
Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 1 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (1 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 |
# [8.3.0-alpha.30](8.3.0-alpha.29...8.3.0-alpha.30) (2026-01-25) ### Features * Add auto-scrolling for info panels ([#3149](#3149)) ([3cd8197](3cd8197))
|
🎉 This change has been released in version 8.3.0-alpha.30 |
Pull Request
Summary by CodeRabbit
New Features
Documentation
✏️ Tip: You can customize this high-level summary in your review settings.