Repository navigation
fix(composer): show full background task commands on expansion - #2497
Merged
vastsa merged 1 commit intoNov 21, 2026
Merged
Conversation
A task row only exposed its ellipsized command preview and process output. Show the complete command in the expanded row so it can be read or selected even before the process writes output. fixes vastsa#2496
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.
Summary
Show the full shell command above the output when a background task row is expanded. The command preserves line breaks and indentation, wraps to the panel width, and can be selected. It is visible even for a quiet task whose output is empty.
Collapsed:
# long-argument-…with status and Stop on the same line.Expanded: the same header, followed by both lines of the command and then the output.
Closes #2496.
Validation
48a65582678eand passes with the fix. It checks the exact multiline command above empty output.node scripts/e2e-task-dock-tabs.mjspassed both isolated Electron scenarios on macOS arm64. The 440px fixture clicks the row, verifies the complete selectable command fits without horizontal overflow, and checks that the command and output stay within the Tasks tab.9d1b09d1dc3d, based on48a65582678e. The base check andgit diff --checkpassed.