Skip to content

fix(desktop): show clipped transcript selection borders - #6976

Draft
ComputelessComputer wants to merge 1 commit into
mainfrom
cursor/transcript-selected-borders-daf0
Draft

fix(desktop): show clipped transcript selection borders#6976
ComputelessComputer wants to merge 1 commit into
mainfrom
cursor/transcript-selected-borders-daf0

Conversation

@ComputelessComputer

Copy link
Copy Markdown
Collaborator

Selected transcript entries used an outset ring-1, and the virtualized list clips horizontal overflow with overflow-x-clip. That also clips overflow on the other axis, so the top and bottom selection borders disappeared—especially on the first entry under the toolbar and on consecutive selected blocks.

Draw the selection ring inside the segment (ring-inset) so those horizontal borders stay visible without changing the speaker-label overflow clip.

Test plan

  • pnpm exec dprint fmt + scoped dprint check on changed files
  • pnpm exec oxlint --quiet --format=github apps/desktop/src/
  • pnpm -F desktop typecheck
  • pnpm -F desktop exec vitest run src/session/components/note-input/transcript/renderer/segment.test.tsx
  • In Select mode, selected entries show a full top and bottom border, including the first visible row and adjacent selected blocks
Open in Web Open in Cursor 

Selected entries used an outset ring, which overflow-x-clip on the virtualized list also clipped on the top and bottom. Draw the ring inside the segment so the horizontal borders stay visible.

Co-authored-by: John Jeong <ComputelessComputer@users.noreply.github.com>
@netlify

netlify Bot commented Aug 20, 2026

Copy link
Copy Markdown

Deploy Preview for anarlog canceled.

Name Link
🔨 Latest commit cd2fa2e
🔍 Latest deploy log https://app.netlify.com/projects/anarlog/deploys/6a874044d1a6d8000835fd78

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants