Remove note preview hover cards#5646
Conversation
7314dc7 to
f989422
Compare
61ee511 to
772a2d0
Compare
✅ Deploy Preview for old-char canceled.
|
Adds a note-specific native window route and wires sidebar double-click to open the existing note view in that window. Includes regression coverage for the sidebar double-click path.
Remove the sidebar session preview wrapper and delete its unused component and test.
Adds a note-specific native window route and wires sidebar double-click to open the existing note view in that window. Includes regression coverage for the sidebar double-click path.
Remove the sidebar session preview wrapper and delete its unused component and test.
772a2d0 to
e7ab41c
Compare
Make InteractiveButton cleanup explicit and skip collapsed sidebar gutter in standalone note headers.
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit bd91c15. Configure here.
| clickTimeoutRef.current = setTimeout(() => { | ||
| clickTimeoutRef.current = null; | ||
| onClick?.(); | ||
| }, DOUBLE_CLICK_DELAY_MS); |
There was a problem hiding this comment.
Slow double-click opens tab
Medium Severity
When onDoubleClick is set, a single-click onClick runs after a fixed 350ms delay. If the second click of a double-click arrives after that delay (common with slower double-click timing or accessibility settings), the delayed openCurrent still runs and then the double-click opens the standalone note window, so both actions occur.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit bd91c15. Configure here.


Remove the sidebar session preview wrapper and delete its unused component and test.
This is part 2 of 2 in a stack made with GitButler:
Note
Medium Risk
Touches Tauri window lifecycle, STT stop controls in secondary windows, and changes primary sidebar open gestures; preview removal is low risk but window + live-session paths need manual QA.
Overview
Adds standalone note windows for sessions and removes sidebar hover preview cards for timeline rows.
Sessions can open in a dedicated Tauri window via
windowShow({ type: "note", value: sessionId }), backed by a new/app/note/$sessionIdroute that rendersTabContentNoteinStandaloneWindowShell. The windows plugin gains anAppWindow::Notevariant (labelnote-{id}, default size ~720×820).Sidebar timeline: session rows no longer use
SessionPreviewCard(component and tests deleted). Double-click or context Open in New Window opens the standalone window; Open in New Tab is removed for sessions. Single-click still opens the note in the main app after a short delay.InteractiveButtongains optionalonDoubleClickwith a 350ms single-click deferral and cleanup on unmount so double-clicks do not fire the single-click handler.OuterHeaderacceptsstandaloneWindowto show the stop-listening control and adjusted title insets without the collapsed-sidebar gutter.Reviewed by Cursor Bugbot for commit bd91c15. Bugbot is set up for automated code reviews on this repo. Configure here.