Skip to content

Conversation

@joshka-oai
Copy link
Collaborator

Clicking the transcript copy pill or pressing the copy shortcut now copies the selected transcript text and clears the highlight.

Show transient footer feedback ("Copied"/"Copy failed") after a copy attempt, with logic in transcript_copy_action to keep app.rs smaller and closer to tui for long-term diffs.

Update footer snapshots and add tiny unit tests for feedback expiry.

Screen.Recording.2026-01-04.at.2.29.41.PM.mov

Copy link
Contributor

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 28e30904c1

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Clicking the transcript copy pill or pressing the copy shortcut
now copies the selected transcript text and clears the highlight.

Show transient footer feedback ("Copied"/"Copy failed") after a
copy attempt, with logic in transcript_copy_action to keep app.rs
smaller and closer to tui for long-term diffs.

Update footer snapshots and add tiny unit tests for feedback expiry.
@joshka-oai joshka-oai force-pushed the joshka/tui2-copy-dismiss-selection branch from 28e3090 to 5b9d2ac Compare January 4, 2026 22:38
The copy shortcut can be invoked before the first resize event or
while the window is collapsed, when last_known_screen_size reports a
width/height of 0.

Restore the early-return guard before calling desired_height(width) so
we never ask textwrap to wrap at width 0.
@joshka-oai joshka-oai merged commit 181ff89 into main Jan 5, 2026
26 checks passed
@joshka-oai joshka-oai deleted the joshka/tui2-copy-dismiss-selection branch January 5, 2026 06:05
@github-actions github-actions bot locked and limited conversation to collaborators Jan 5, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants