Skip to content

Improve Chat quota rendering#310997

Merged
lramos15 merged 4 commits intomainfrom
lramos15/sacred-seahorse
Apr 17, 2026
Merged

Improve Chat quota rendering#310997
lramos15 merged 4 commits intomainfrom
lramos15/sacred-seahorse

Conversation

@lramos15
Copy link
Copy Markdown
Member

No description provided.

lramos15 and others added 2 commits April 17, 2026 08:27
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
Copilot AI review requested due to automatic review settings April 17, 2026 13:12
@lramos15 lramos15 enabled auto-merge (squash) April 17, 2026 13:12
@lramos15 lramos15 self-assigned this Apr 17, 2026
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 improves the Chat status tooltip’s quota presentation by adding clearer visual states and an inline callout message for quota/overage conditions, while keeping the tooltip layout constrained for readability.

Changes:

  • Add a max-width to the chat status tooltip to prevent overly wide quota content.
  • Introduce new quota indicator styling states (info, dimmed) and a new “quota callout” UI block.
  • Update quota rendering logic to show contextual callouts (warning/error/info) based on usage percentage and overage enablement.
Show a summary per file
File Description
src/vs/workbench/contrib/chat/browser/chatStatus/media/chatStatus.css Adds tooltip max width and new styles for quota indicator states and the new quota callout component.
src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusDashboard.ts Replaces the old overage description label with a new callout element and updates quota state logic to drive the new UI.

Copilot's findings

  • Files reviewed: 2/2 changed files
  • Comments generated: 1

Comment thread src/vs/workbench/contrib/chat/browser/chatStatus/media/chatStatus.css Outdated
@github-actions
Copy link
Copy Markdown
Contributor

Screenshot Changes

Base: 57d9b714 Current: 8aa2c79e

Changed (1)

editor/inlineCompletions/other/JumpToHint/Dark
Before After
before after

@lramos15 lramos15 merged commit ace385c into main Apr 17, 2026
26 checks passed
@lramos15 lramos15 deleted the lramos15/sacred-seahorse branch April 17, 2026 14:00
@vs-code-engineering vs-code-engineering Bot added this to the 1.117.0 milestone Apr 17, 2026
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