Render the chat status entry as a tabbed widget#309491
Merged
Conversation
Contributor
Screenshot ChangesBase: Changed (4) |
ulugbekna
approved these changes
Apr 13, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the Copilot chat status entry tooltip to present “Usage” and “Inline Suggestions” as a tabbed widget, aiming to modernize the UI and make sections easier to scan.
Changes:
- Added tab bar + tab panel container styling for the chat status tooltip.
- Refactored
ChatStatusDashboardrendering into tabbed/untabbed flows and extractedrenderUsageContent/renderInlineSuggestionsContent. - Removed contributed status item rendering (and the related dashboard option/plumbing), and updated the sessions account menu integration accordingly.
Show a summary per file
| File | Description |
|---|---|
| src/vs/workbench/contrib/chat/browser/chatStatus/media/chatStatus.css | Adds styling for the new tab bar and tab content container; removes contribution styling. |
| src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusDashboard.ts | Implements the tabbed widget UI and refactors rendering; removes contributed-item rendering and the settings header/action. |
| src/vs/sessions/contrib/accountMenu/browser/account.contribution.ts | Updates dashboard options usage to match the new ChatStatusDashboard options surface. |
Copilot's findings
Comments suppressed due to low confidence (1)
src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusDashboard.ts:297
<hr>is appended unconditionally before the “New to Chat / Signed out” content. If this section is the first rendered content (e.g. signed-out state with other sections suppressed), the tooltip will start with a leading horizontal rule. Consider only inserting separators when there is preceding content (similar to the previousneedsSeparatorbehavior).
const signedOut = this.chatEntitlementService.entitlement === ChatEntitlement.Unknown;
if (newUser || signedOut || disabled) {
this.element.appendChild($('hr'));
- Files reviewed: 3/3 changed files
- Comments generated: 6
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.
In an attempt to give a modern refresh to the status entry as well as make it more easily parsed