Skip to content

feat: much improved copy command with options#1

Open
leoncheng57 wants to merge 95 commits intodevfrom
feature/copy-command-with-options
Open

feat: much improved copy command with options#1
leoncheng57 wants to merge 95 commits intodevfrom
feature/copy-command-with-options

Conversation

@leoncheng57
Copy link
Owner

@leoncheng57 leoncheng57 commented Feb 24, 2026

What does this PR do?

Adds a new copyWithOptions command that allows users to copy messages with customizable formatting options. Users can now select exactly which messages in the session to copy with formatting retained. This does not replace the existing copy command.

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

  • Adds a new copyWithOptions command that enables selective copying of session messages
  • Solves the problem where users could only copy entire session transcripts or the last message—now they can choose exactly which messages to export
  • Adds a DialogCopyMessages component that provides a keyboard-navigable interface where users can view message previews, toggle selections with spacebar, select all with Ctrl+A, and confirm with Enter
  • TUI user interface with keyboard-first navigation (up/down arrows, space, Enter, Ctrl+A)
  • Includes unit test coverage validating both the command handler logic and the dialog component behavior

Closes

How did you verify your code works?

  • Added unit tests for the new DialogCopyMessages component
  • Extensive manual testing to see that all the copy commands and different options are working

Screenshots / recordings

image
PR.recording.mov

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

github-actions bot and others added 26 commits February 22, 2026 00:23
…co#13659)

Co-authored-by: LukeParkerDev <10430890+Hona@users.noreply.github.com>
Co-authored-by: LukeParkerDev <10430890+Hona@users.noreply.github.com>
…14628)

Co-authored-by: shenghui kevin <shenghuikevin@shenghuideMac-mini.local>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
@leoncheng57 leoncheng57 force-pushed the feature/copy-command-with-options branch from 08c60be to 4d83084 Compare February 24, 2026 05:42
@leoncheng57
Copy link
Owner Author

image

@leoncheng57 leoncheng57 changed the title (draft) feat: copy command with options feat: copy command with options Feb 26, 2026
@leoncheng57 leoncheng57 changed the title feat: copy command with options feat: much improved copy command with options Feb 26, 2026
@leoncheng57 leoncheng57 force-pushed the feature/copy-command-with-options branch 6 times, most recently from 45d5acc to 064f72e Compare February 26, 2026 05:46
kilhyeonjun and others added 2 commits February 26, 2026 14:02
…vent hang on macOS (anomalyco#15136)

Co-authored-by: kil-penguin <hyeonjun@gameduo.net>
This commit includes:
- Add selective copy dialog for User msgs and AI responses
- Expand copy dialog to support both user and assistant messages
- Fix scrolling issues and improve type safety
@leoncheng57 leoncheng57 force-pushed the feature/copy-command-with-options branch from 064f72e to 3a4d5e5 Compare February 26, 2026 06:06
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.