Repository navigation
style(config): bold shell name on "Skipped" row in wt config show - #2579
Merged
Merged
Conversation
Every other per-shell row in the SHELL INTEGRATION section bolds the
shell name (`<bold>{shell}</>: Already configured ...`). The Skipped
row was the outlier — `<dim>{shell}: Skipped; {path} not found</>`
dimmed the entire body including the shell name. Now the shell name
is bold and only the trailing "Skipped; … not found" stays dim, so
shell-name styling is consistent across rows while the deemphasis on
the inactive entry is preserved.
The bold and dim spans are sequential (`<bold>foo</>: <dim>bar</>`),
not nested — they don't share an SGR-22 reset, which is the trap the
writing-user-outputs skill warns about.
Co-Authored-By: Claude <[email protected]>
# Conflicts: # tests/snapshots/integration__integration_tests__config_show__config_show_claude_available_plugin_not_installed.snap # tests/snapshots/integration__integration_tests__config_show__config_show_displays_deprecation_details.snap # tests/snapshots/integration__integration_tests__config_show__config_show_displays_no_cd_deprecation.snap # tests/snapshots/integration__integration_tests__config_show__config_show_displays_no_ff_deprecation.snap # tests/snapshots/integration__integration_tests__config_show__config_show_displays_pre_hook_table_form_deprecation.snap # tests/snapshots/integration__integration_tests__config_show__config_show_displays_project_commit_generation_deprecations.snap # tests/snapshots/integration__integration_tests__config_show__config_show_displays_select_section_deprecation.snap # tests/snapshots/integration__integration_tests__config_show__config_show_empty_project_config.snap # tests/snapshots/integration__integration_tests__config_show__config_show_empty_system_config.snap # tests/snapshots/integration__integration_tests__config_show__config_show_fish_outdated_wrapper.snap # tests/snapshots/integration__integration_tests__config_show__config_show_fish_with_completions.snap # tests/snapshots/integration__integration_tests__config_show__config_show_fish_without_completions.snap # tests/snapshots/integration__integration_tests__config_show__config_show_from_linked_worktree_shows_main_worktree_hint.snap # tests/snapshots/integration__integration_tests__config_show__config_show_full_command_not_found.snap # tests/snapshots/integration__integration_tests__config_show__config_show_full_not_configured.snap # tests/snapshots/integration__integration_tests__config_show__config_show_full_update_available.snap # tests/snapshots/integration__integration_tests__config_show__config_show_full_version_check_unavailable.snap # tests/snapshots/integration__integration_tests__config_show__config_show_github_remote.snap # tests/snapshots/integration__integration_tests__config_show__config_show_gitlab_remote.snap # tests/snapshots/integration__integration_tests__config_show__config_show_invalid_project_toml.snap # tests/snapshots/integration__integration_tests__config_show__config_show_invalid_system_config.snap # tests/snapshots/integration__integration_tests__config_show__config_show_invalid_user_toml.snap # tests/snapshots/integration__integration_tests__config_show__config_show_no_project_config.snap # tests/snapshots/integration__integration_tests__config_show__config_show_no_user_config.snap # tests/snapshots/integration__integration_tests__config_show__config_show_nushell_outdated_wrapper.snap # tests/snapshots/integration__integration_tests__config_show__config_show_opencode_available_plugin_not_installed.snap # tests/snapshots/integration__integration_tests__config_show__config_show_opencode_plugin_installed.snap # tests/snapshots/integration__integration_tests__config_show__config_show_opencode_plugin_outdated.snap # tests/snapshots/integration__integration_tests__config_show__config_show_outside_git_repo.snap # tests/snapshots/integration__integration_tests__config_show__config_show_partial_shell_config_shows_hint.snap # tests/snapshots/integration__integration_tests__config_show__config_show_plugin_installed.snap # tests/snapshots/integration__integration_tests__config_show__config_show_powershell_detected_via_psmodulepath.snap # tests/snapshots/integration__integration_tests__config_show__config_show_shell_active_but_not_in_config_file.snap # tests/snapshots/integration__integration_tests__config_show__config_show_shell_integration_active.snap # tests/snapshots/integration__integration_tests__config_show__config_show_statusline_configured.snap # tests/snapshots/integration__integration_tests__config_show__config_show_suggests_project_config_for_ci.snap # tests/snapshots/integration__integration_tests__config_show__config_show_suggests_user_config_for_commit_generation.snap # tests/snapshots/integration__integration_tests__config_show__config_show_unmatched_candidate_not_suppressed_by_wrapper.snap # tests/snapshots/integration__integration_tests__config_show__config_show_unmatched_candidate_warning.snap # tests/snapshots/integration__integration_tests__config_show__config_show_warns_unknown_project_keys.snap # tests/snapshots/integration__integration_tests__config_show__config_show_warns_unknown_user_keys.snap # tests/snapshots/integration__integration_tests__config_show__config_show_whitespace_only_project_config.snap # tests/snapshots/integration__integration_tests__config_show__config_show_with_project_config.snap # tests/snapshots/integration__integration_tests__config_show__config_show_with_system_config.snap # tests/snapshots/integration__integration_tests__config_show__config_show_zsh_compinit_correct_order.snap # tests/snapshots/integration__integration_tests__config_show__config_show_zsh_compinit_warning.snap # tests/snapshots/integration__integration_tests__configure_shell__config_show_detects_fish_legacy_conf_d.snap # tests/snapshots/integration__integration_tests__configure_shell__config_show_fish_legacy_with_functions_dir.snap
worktrunk-bot
approved these changes
May 4, 2026
Collaborator
|
codecov/patch is failing on this PR but the misses are merge-noise from #2572, not lines this PR added. The actual diff touches lines 1018-1023 (the |
Adds `test_config_show_skipped_with_installed_binary` — bash flagged installed via test override with no `.bashrc`, so the entry survives #2574's `is_installed()` filter and renders as a Skipped row. Locks in the bold-name + dim-body styling on the previously-uncovered code path in `render_shell_status` (line 1022). Co-Authored-By: Claude <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Aligns the
Skippedper-shell row with every other status row in the SHELL INTEGRATION section — bold shell name, then:, then the body. Previously the entire row was wrapped in<dim>so the shell name lost its bold treatment and the row didn't visually scan the same asAlready configured/Outdated/Not configured.The bold-name and dim-body spans are sequential (
<bold>foo</>: <dim>bar</>), not nested — that avoids the SGR-22 reset trap the writing-user-outputs skill warns about (closing</bold>would otherwise also clear an outer<dim>).The Skipped row only renders when a shell binary is installed but has no rc file — #2574's
is_installed()filter suppresses the more common "no binary, no rc file" case. Newtest_config_show_skipped_with_installed_binaryflagsWORKTRUNK_TEST_BASH_INSTALLED=1with no.bashrcto lock in the styling on that path.