Open
Conversation
Introduce a pop-up preview window with pin and close controls so users can keep live transcription visible above other apps while keeping the existing bottom preview workflow. Co-authored-by: Cursor <cursoragent@cursor.com>
Document the implemented floating preview architecture, behavior, file map, and acceptance criteria so future agents can iterate safely from a shared baseline. Co-authored-by: Cursor <cursoragent@cursor.com>
Hide native titlebar traffic lights to avoid duplicate close affordances and make long live/last transcripts readable with capped scrollable cards. Co-authored-by: Cursor <cursoragent@cursor.com>
Replace the multi-section floating preview with a compact auto-scrolling bilingual caption card and hover-reveal controls, and fix pinned window behavior by applying mutually exclusive collection behaviors. Co-authored-by: Cursor <cursoragent@cursor.com>
Updated the FloatingPreviewPanelManager to increase the height and minimum size of the panel for better usability. Modified FloatingPreviewView to reduce the maximum finalized sentence count and adjusted the layout for improved readability and aesthetics, including changes to padding and frame settings.
…bility Modified the font size for caption lines in the FloatingPreviewView to enhance clarity, particularly for non-source text. Removed unnecessary padding adjustments to streamline the layout.
…ating panel The NSPanel's .titled style mask rendered a built-in titlebar material that appeared as a grey strip on light backgrounds. Switched to a borderless panel (.resizable + .nonactivatingPanel) since the titlebar was fully hidden anyway. Also changed to orderFront to avoid stealing focus from the active app. Made-with: Cursor
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
glassEffect) for the panel surface with glass-styled pin/close controls that appear on hoverDetails
New files:
FloatingPreviewView.swift— SwiftUI caption view with roll-up scrolling, source + subordinated translation lines, hover-gated controlsFloatingPreviewPanelManager.swift—NSPanellifecycle manager (show/close/pin, non-activating borderless panel)LivePreviewContentView.swift— Reusable live preview card shared by the main window's bottom panelThe floating preview reads from the same shared
TransFlowViewModel, so it stays in sync with the main window. Opened via a "Pop Up" button in the control bar.Test plan