Skip to content

Clarify tool details shortcut hints#3551

Merged
Hmbown merged 3 commits into
Hmbown:mainfrom
nightt5879:nightt5879/fix-3194-shortcut-hints
Jun 24, 2026
Merged

Clarify tool details shortcut hints#3551
Hmbown merged 3 commits into
Hmbown:mainfrom
nightt5879:nightt5879/fix-3194-shortcut-hints

Conversation

@nightt5879

Copy link
Copy Markdown
Contributor

Summary

  • Replace ambiguous Alt+V/v tool-details hints with explicit action copy such as Alt+V opens details, full output, or full list.
  • Keep macOS legacy Option-V glyph input support while presenting user-facing labels as Option+V.
  • Remove the stale bare-v details-pager help entry and add a keybinding catalog regression test.
  • Isolate the NVIDIA NIM flash alias config test after the full workspace gate exposed process-env bleed.

Closes #3194.

Validation

  • cargo fmt
  • cargo test -p codewhale-tui --bin codewhale-tui --locked keybindings
  • cargo test -p codewhale-tui --bin codewhale-tui --locked nvidia_nim_provider_normalizes_deepseek_v4_flash_alias
  • cargo test --workspace --locked

Self-review

  • Searched for stale Alt+V/v, (or v), and removed KbSelectedDetails references after implementation.
  • Split the hermetic test fix from the UI/help-copy fix so each commit has one concern.

Replace ambiguous Alt+V/v helper copy with action-oriented details pager hints across live tool cards, task rows, footers, and context inspector text.

Document Alt-V/Option-V in KEYBINDINGS and remove the stale bare-v help catalog entry now that plain v is only used for other contexts such as approval params and vim/visual input.

Refs Hmbown#3194.

Validation: cargo fmt; cargo test -p codewhale-tui --bin codewhale-tui --locked keybindings; cargo test --workspace --locked.
The full workspace gate can run this test after config-loading tests that modify process env. Give the flash alias test its own locked temp environment before constructing Config so it stays hermetic.

Validation: cargo fmt; cargo test -p codewhale-tui --bin codewhale-tui --locked nvidia_nim_provider_normalizes_deepseek_v4_flash_alias; cargo test --workspace --locked.
@nightt5879 nightt5879 marked this pull request as ready for review June 24, 2026 13:24
@nightt5879 nightt5879 requested a review from Hmbown as a code owner June 24, 2026 13:24

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

Copy link
Copy Markdown

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: f392d098c4

ℹ️ 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".

Comment thread crates/tui/src/tui/history/tests.rs Outdated
macOS renders the production details shortcut label as Option+V, so the checklist hint test should assert the shared helper output instead of hardcoding Alt+V.

CI: fixes the macOS failure in Test (macos-latest) for tui::history::tests::render_checklist_change_card_shows_only_changed_item. Windows was canceled after the macOS job failed.

Validation: cargo fmt; cargo test -p codewhale-tui --bin codewhale-tui --locked render_checklist_change_card_shows_only_changed_item; cargo test --workspace --locked.
@Hmbown Hmbown merged commit 4855389 into Hmbown:main Jun 24, 2026
10 checks passed
@nightt5879 nightt5879 deleted the nightt5879/fix-3194-shortcut-hints branch June 25, 2026 02:17
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.

v0.8.61: Audit helper command hints and add friendly tips for hidden shortcuts

2 participants