feat: move task details to top activity bar (#5652) #5653
+95
−203
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.
Description
Fixes #5652
This PR addresses the UX issue where task details in the expandable pane take up UI space and sometimes don't show the actual task content. The solution moves task details to a top activity bar while keeping only context length and todo list in the current pane.
Changes Made
Created new TaskActivityBar component that displays:
Simplified TaskHeader component to only show:
Updated ChatView component to integrate both components:
Testing
Verification of Acceptance Criteria
Checklist
Screenshots/Demo
The changes improve the UI layout by:
Important
Introduces
TaskActivityBar
for task details and simplifiesTaskHeader
inChatView
for improved UI clarity.TaskActivityBar
component to display task details (text, tokens, cache, cost) at the top.TaskHeader
to show only context progress and todo list.ChatView.tsx
to integrateTaskActivityBar
andTaskHeader
.TaskHeader.spec.tsx
to test newTaskHeader
behavior, including button functionality and disabled state.This description was created by
for c783804. You can customize this summary. It will automatically update as commits are pushed.