feat(tui): add focused transcript actions - #5652
Conversation
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Claude finished @Hmbown's task in 3m 55s —— View job Claude finished reviewing this PR
|
Add content, metadata, fullscreen, and raw-detail actions for the focused transcript cell while preserving Tasks rail y/Y behavior. Document the shortcuts and cover focused pager/copy paths for #5551.
Route y/Y/r only after the paste-burst ambiguity window resolves and require an active transcript selection. Preserve typed command characters and add a regression for fast /plugin commands.
Strengthen the contributed paste-burst regression with an active transcript selection, so it proves a standing selection cannot steal characters from /plugin trust demo while preserving the intended settled-key action. Signed-off-by: CodeWhale Bot <bot@codewhale.net>
14fb762 to
b7b2c55
Compare
|
Claude finished @Hmbown's task in 1m 26s —— View job SummaryI re-reviewed the diff ( The two correctness issues from the earlier review are still present in the current code (unchanged since that pass): 1. Stale transcript selection can eat the first character of a new prompt (
|

Summary
Rescue of @wuisabel-gif's #5608 onto current
main. Authorship of the feature and paste-burst fix commits is preserved (Isabel Wu <231155141+wuisabel-gif@users.noreply.github.com>). The original PR was closed as already integrated on a 0.9.12 integration branch, but the work never reachedorigin/main.When the transcript is focused and the composer is empty, the current focused block now supports:
y— copy canonical block content;Y— copy the rendered metadata/receipt view;Enter— open the block in a fullscreen readable pager;r— open the existing raw detail view.y/Y/rare handled after the paste-burst ambiguity window resolves and require an active transcript selection, so a standing selection cannot steal characters from a typed command such as/plugin trust demo. Tasks raily/Yshortcuts remain unchanged.docs/KEYBINDINGS.mdand the changelog are updated.Original: #5608
Testing
python3 scripts/check-coauthor-trailers.py --range origin/main..HEAD(passed for 3 commits)cargo test -p codewhale-tui --lib 'tui::ui::activity_detail' --locked(11 passed, includingfocused_pager_and_metadata_copy_use_the_same_cell_target)cargo test -p codewhale-tui --lib typed_command_burst_keeps_r_and_y_out_of_transcript_actions --locked(1 passed)git diff --checkNo-Issue: Re-lands the already-reviewed #5608 / #5551 transcript-action slice; does not close the broader #5551 issue.