feat(ui): dynamic processing timer + total completion time on plan finalize#1061
Open
Tejasri-Microsoft wants to merge 3 commits into
Open
feat(ui): dynamic processing timer + total completion time on plan finalize#1061Tejasri-Microsoft wants to merge 3 commits into
Tejasri-Microsoft wants to merge 3 commits into
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR improves plan-execution UX by adding a reusable processing status indicator that shows dynamic “what’s happening” messages and elapsed time during execution, and by appending total completion time to the final agent result.
Changes:
- Added a reusable
ProcessingStatusIndicatorcomponent to display a spinner, status message, and elapsed time. - Implemented elapsed-time tracking during plan execution and wired it through
PlanPage→PlanChat→StreamingPlanState. - Appended a formatted “Total completion time” line to the final result message in the WebSocket flow.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| src/App/src/pages/PlanPage.tsx | Adds elapsed-time state/timer and dynamic status message generation; passes props down to chat UI. |
| src/App/src/hooks/usePlanWebSocket.tsx | Tracks processing start time and appends total completion time; adjusts spinner/reset behaviors. |
| src/App/src/components/content/streaming/StreamingPlanState.tsx | Replaces static execution message UI with the new reusable status indicator component. |
| src/App/src/components/content/PlanChat.tsx | Threads elapsed seconds + status message props into the execution-message renderer. |
| src/App/src/components/common/ProcessingStatusIndicator.tsx | New component that renders spinner + message + optional formatted elapsed time. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
This pull request introduces a user-friendly processing status indicator for plan execution, providing real-time feedback and elapsed time to users while their plan is being processed. The main changes include a reusable
ProcessingStatusIndicatorcomponent, logic to track and display elapsed time, and dynamic status messages that adapt as processing progresses.User interface improvements:
ProcessingStatusIndicatorcomponent to display a spinner, status message, and elapsed time during plan processing (src/App/src/components/common/ProcessingStatusIndicator.tsx).src/App/src/components/content/streaming/StreamingPlanState.tsx).src/App/src/components/content/PlanChat.tsx,src/App/src/pages/PlanPage.tsx). [1] [2] [3] [4]Elapsed time tracking and messaging:
src/App/src/hooks/usePlanWebSocket.tsx,src/App/src/pages/PlanPage.tsx). [1] [2] [3] [4] [5]src/App/src/pages/PlanPage.tsx). [1] [2]Other improvements:
src/App/src/hooks/usePlanWebSocket.tsx).These changes collectively improve the user experience by making plan execution progress more visible and informative.## Purpose
Does this introduce a breaking change?
How to Test
What to Check
Verify that the following are valid
Other Information
[Copilot is generating a summary...]