Skip to content

CPLAT-9497: improve preview copy mode and wrapped cursor rendering#26

Merged
gavin-jeong merged 1 commit intomasterfrom
CPLAT-9497-preview-copy-mode
Apr 19, 2026
Merged

CPLAT-9497: improve preview copy mode and wrapped cursor rendering#26
gavin-jeong merged 1 commit intomasterfrom
CPLAT-9497-preview-copy-mode

Conversation

@gavin-jeong
Copy link
Copy Markdown
Collaborator

JIRA: https://sendbird.atlassian.net/browse/CPLAT-9497

Summary

  • keep sessions preview navigation within the current preview pane instead of crossing boundaries
  • allow entering copy mode from conversation preview text and show the shortcut in help
  • render wrapped preview text with indentation instead of repeating cursor markers, and simplify fold preview refresh

Test plan

  • go test ./internal/tui
  • manually verify conversation preview copy mode in the TUI
  • manually verify wrapped preview rendering and preview navigation behavior in the TUI

Keep conversation preview navigation within the current pane, enable copy mode from preview text, and render wrapped preview lines without repeating cursor markers.
@gavin-jeong gavin-jeong requested review from a team, Akais24 and ku524 and removed request for a team April 19, 2026 13:43
Copy link
Copy Markdown

@Akais24 Akais24 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 Auto-reviewed by PR watcher. Disables preview boundary crossing, adds copy mode to conversation preview with proper guards, fixes wrapped-line rendering to indent continuation lines instead of repeating cursor markers, and simplifies fold refresh by removing incremental update optimization in favor of full re-render.

@gavin-jeong gavin-jeong merged commit 5a9adda into master Apr 19, 2026
3 checks passed
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