Skip to content

Conversation

@cwebster-99
Copy link
Member

Adding hover description for when Add Models is unavailable for business/enterprise

Copilot AI review requested due to automatic review settings January 23, 2026 17:59
Copy link
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 enhances the ChatModelsWidget by adding hover support to explain why the "Add Models" button is disabled for business and enterprise entitlements. When users have a managed (business or enterprise) entitlement and are not internal users, a hover message "Managed by your organization" is displayed over the disabled button.

Changes:

  • Added hover functionality to the "Add Models" button when disabled due to managed entitlements
  • Refactored entitlement checking logic to use a more maintainable isManagedEntitlement variable
  • Imported required utilities (MutableDisposable, getDefaultHoverDelegate) for hover management

@cwebster-99 cwebster-99 requested a review from sandy081 January 26, 2026 14:46
@cwebster-99 cwebster-99 marked this pull request as ready for review January 26, 2026 14:46
@vs-code-engineering vs-code-engineering bot added this to the January 2026 milestone Jan 26, 2026
@sandy081 sandy081 enabled auto-merge (squash) January 30, 2026 08:04
@sandy081 sandy081 merged commit afb4b52 into main Jan 30, 2026
22 checks passed
@sandy081 sandy081 deleted the amazing-mollusk branch January 30, 2026 09:05
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