fix(tui): transcript copy polish batch (#4142 #4143 #4144 #4145)#4192
Conversation
Low-risk transcript/setup copy and dedup polish for v0.8.68. #4143 — trim redundant mode picker body copy. The `ModePickerPrompt` ("Choose how CodeWhale should operate:") body line is no longer rendered by the mode picker view (the " Mode " title carries the intent), leaving the message as dead, duplicated copy across every locale plus a parity test. Remove the orphaned MessageId, its ALL_MESSAGE_IDS entry, its translation test row, and the string from all seven locale packs. #4144 — consolidate repeated setup hints. The six "Enter records this X snapshot" review hints now share one uniform pattern (stem first, then the step-specific action) so they read as one voice instead of six. Reword the Hotbar, Remote, and Runtime-posture hints in en.json and update the two detail-line tests that asserted the old order. #4145 — fix "read done / Searching" verb mismatch. A grep grouped under the Workspace exploration card rendered as `read done · Searching for …`. The card now picks the `find` verb when its entries are all searches, so the completed action agrees with the label; read/list or mixed cards keep the neutral `read` verb. Adds regression tests. #4142 skipped: making a normal screen show context percent "once" requires coordinated sidebar context-bar rendering logic (hide when the header already discloses percent), which overlaps the sidebar/transcript rendering workstream. Left untouched to avoid rendering conflicts. Assisted by an AI agent; authored and verified by the committer.
|
Claude finished @Hmbown's task in 1m 37s —— View job Review complete
SummaryThis is a clean, low-risk copy/dedup batch as described. Verified each fix: #4143 — #4144 — setup hint consolidation: The three #4145 — verb mismatch fix ( The change correctly reuses the existing Minor test-coverage gap: the two new tests ( No correctness bugs, no provider/model routing concerns (no such code touched), no security issues, no dead code left over from the removals. Verification note: I was not able to run |
Summary
Copy and dedup polish for the v0.8.68 "transcript copy polish" lane. Low-risk wording/dedup only — no user-facing rendering-logic changes.
Fixed
ModePickerPrompt("Choose how CodeWhale should operate:") is no longer rendered by the picker view — theModetitle carries the intent — so it was dead, duplicated copy across all seven locales plus a parity test. Removed the orphanedMessageId, itsALL_MESSAGE_IDSentry, the translation-test row, and the string from every locale pack.en.jsonand updated the two detail-line tests that asserted the old order.read done · Searching for …. The card now picks thefindverb when its entries are all searches, so the completed action agrees with the label (find done · Searching for …); read/list or mixed cards keep the neutralreadverb. Added regression tests.Skipped
Fixes #4143
Fixes #4144
Fixes #4145
Verification
cargo fmt --all --check— cleancargo clippy --workspace --all-features --locked -- -D warnings -A clippy::uninlined_format_args -A clippy::too_many_arguments -A clippy::unnecessary_map_or -A clippy::collapsible_if -A clippy::assertions_on_constants— cleancargo test --workspace --locked— 5982 passed, 2 pre-existing environment-specific failures unrelated to this change and reproducible in isolation on an unmodified tree:git_repo_root_reports_attempted_paths_when_no_repo_found(the checkout is nested inside a real git repo, so the "no repo" assumption fails) andskill_hotbar_action_activates_skill_through_dollar_alias(depends on the machine's startup skill cache). Neither touches any file in this PR.cargo build --release -p codewhale-tui— clean🤖 Generated with Claude Code
https://claude.ai/code/session_0172k8wqL9he1teotxTS5gbu