Skip to content

feat: show command with cwd in summary#186

Merged
branchseer merged 5 commits intomainfrom
09-23-feat_show_command_in_summary
Sep 23, 2025
Merged

feat: show command with cwd in summary#186
branchseer merged 5 commits intomainfrom
09-23-feat_show_command_in_summary

Conversation

@branchseer
Copy link
Copy Markdown
Member

@branchseer branchseer commented Sep 22, 2025

Improve task execution display in UI

This PR enhances the task execution display by showing both the command and working directory in the task summary:

  • Shows the command in the task summary for better visibility
  • Displays the working directory prefix when not empty (e.g., ~/subfolder$ command)
  • Uses consistent styling for cache miss messages
  • Extracts command display logic to a reusable function
  • Updates all snapshot tests to reflect the new display format

These changes make it easier to understand what commands are being executed and in which directory, improving the overall user experience.

Copy link
Copy Markdown
Member Author

branchseer commented Sep 22, 2025

This stack of pull requests is managed by Graphite. Learn more about stacking.

@branchseer branchseer marked this pull request as ready for review September 22, 2025 18:28
Copilot AI review requested due to automatic review settings September 22, 2025 18:28
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR enhances the task execution display by showing both the command and working directory in task summaries and pre-execution status messages. This improves user experience by providing clearer visibility of what commands are being executed and where.

Key changes:

  • Adds command display to task summaries with working directory context
  • Extracts command display logic into a reusable function
  • Standardizes cache miss styling with consistent color theme

Reviewed Changes

Copilot reviewed 18 out of 18 changed files in this pull request and generated 1 comment.

File Description
crates/vite_task/src/ui.rs Adds get_display_command function and integrates command display in task summaries
crates/vite_task/src/schedule.rs Updates PreExecutionStatus to include display command
packages/cli/snap-tests/*.txt Updates all snapshot tests to reflect new command display format

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread crates/vite_task/src/ui.rs
@branchseer branchseer merged commit 3a69079 into main Sep 23, 2025
9 checks passed
Copy link
Copy Markdown
Member Author

Merge activity

@branchseer branchseer deleted the 09-23-feat_show_command_in_summary branch September 23, 2025 01:49
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.

3 participants