Skip to content

Extend upgrade widget to Copilot Pro users with experimental setting#296174

Open
Copilot wants to merge 5 commits intomainfrom
copilot/extend-upgrade-widget-to-paid-skus
Open

Extend upgrade widget to Copilot Pro users with experimental setting#296174
Copilot wants to merge 5 commits intomainfrom
copilot/extend-upgrade-widget-to-paid-skus

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 19, 2026

The upgrade status widget was previously shown only to Free tier users when quota was exhausted. This extends the behavior to Copilot Pro users while excluding Business, Enterprise, and Pro+ tiers. The Pro user widget is controlled by an experimental setting that can be enabled via the experiment framework.

Changes

Experimental Setting (chat.contribution.ts)

  • Added chat.statusWidget.pro experimental setting (default: false)
  • Setting is controllable via experiment framework with experiment.mode: 'auto'
  • Tagged as experimental and advanced for proper categorization

Widget registration and content (chatStatusWidget.ts)

  • Added ChatContextKeys.Entitlement.planPro to widget registration context
  • Extended SKU handling to create Pro-specific messaging
  • Widget only shows for Pro users when experimental setting is enabled
  • Free tier users continue to see widget without requiring the setting

Quota enforcement (chatStatusDashboard.ts, chatStatusEntry.ts, agentTitleBarStatusWidget.ts)

  • Updated quota exceeded checks: entitlement === ChatEntitlement.Free || (entitlement === ChatEntitlement.Pro && config.getValue('chat.statusWidget.pro'))
  • Differentiated title bar messaging between Free and Pro plans
  • All Pro user checks respect the experimental setting

All changes use the same pattern to ensure consistent behavior across status bar, dashboard, chat input widget, and title bar. The feature can be rolled out gradually via the experiment framework.

Original prompt

This section details on the original issue you should resolve

<issue_title>Extend upgrade status widget to paid skus</issue_title>
<issue_description>We shipped showing the prompt to upgrade above chat to Free users when they exhaust their quota. We should add this behavior across all paid plans as well.
</issue_description>

<agent_instructions>Add the upgrade widget for Copilot Pro users when they exhaust their quota. Business, Enterprise, and Pro+ should not have this widget show when they exhaust quota. </agent_instructions>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 2 commits February 19, 2026 02:17
Co-authored-by: cwebster-99 <60238438+cwebster-99@users.noreply.github.com>
Co-authored-by: cwebster-99 <60238438+cwebster-99@users.noreply.github.com>
Copilot AI changed the title [WIP] Add upgrade status widget for Copilot Pro users Extend upgrade widget to Copilot Pro users on quota exhaustion Feb 19, 2026
@cwebster-99 cwebster-99 requested a review from bhavyaus February 19, 2026 06:51
@cwebster-99 cwebster-99 marked this pull request as ready for review February 19, 2026 06:51
Copilot AI review requested due to automatic review settings February 19, 2026 06:52
@vs-code-engineering vs-code-engineering bot added this to the February 2026 milestone Feb 19, 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 extends the upgrade status widget to show for GitHub Copilot Pro users when they exhaust their quota, in addition to Free tier users. Previously, only Free tier users saw the upgrade prompt when quota was exceeded. The PR consistently updates all quota-related UI components (status widget, status bar, dashboard, and title bar) to support Pro users while excluding Business, Enterprise, and ProPlus tiers.

Changes:

  • Extended quota exhaustion upgrade widget to Copilot Pro users (previously Free-only)
  • Added Pro-specific messaging in title bar widget to differentiate between Free and Pro plan quota messages
  • Updated quota enforcement logic across all chat status UI components

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
src/vs/workbench/contrib/chat/browser/widget/input/chatStatusWidget.ts Added Pro SKU handling to widget registration context and created Pro-specific content with localized messaging
src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusEntry.ts Extended status bar quota exceeded check to include Pro users alongside Free users
src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusDashboard.ts Updated canUseChat() method to prevent chat usage for Pro users with zero quota
src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentTitleBarStatusWidget.ts Added Pro entitlement check and differentiated title bar messaging between Free and Pro plans

@cwebster-99
Copy link
Copy Markdown
Member

@copilot put this feature behind an experimental setting controllable by exp

- Added chat.statusWidget.pro experimental setting (default: false)
- Updated all quota exceeded checks to respect the experimental setting
- Widget only shows for Pro users when setting is enabled via experiment
- Free users continue to see widget without requiring setting

Co-authored-by: cwebster-99 <60238438+cwebster-99@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Feb 20, 2026

@copilot put this feature behind an experimental setting controllable by exp

Added experimental setting chat.statusWidget.pro (default: false, controllable via experiment framework). The upgrade widget for Pro users now only shows when this setting is enabled. Free tier users continue to see the widget without requiring the setting. (commit 43bfe4d)

Copilot AI changed the title Extend upgrade widget to Copilot Pro users on quota exhaustion Extend upgrade widget to Copilot Pro users with experimental setting Feb 20, 2026
@rzhao271 rzhao271 modified the milestones: February 2026, March 2026 Feb 27, 2026
@cwebster-99 cwebster-99 modified the milestones: 1.111.0, 1.112.0 Mar 5, 2026
@mjbvz mjbvz modified the milestones: 1.112.0, 1.113.0 Mar 17, 2026
@jrieken jrieken modified the milestones: 1.113.0, On Deck Mar 25, 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.

Extend upgrade status widget to paid skus

6 participants