Skip to content

Comments

refactor: remove unnecessary class assignments in model picker items#296458

Merged
sandy081 merged 2 commits intomainfrom
sandy081/special-armadillo
Feb 20, 2026
Merged

refactor: remove unnecessary class assignments in model picker items#296458
sandy081 merged 2 commits intomainfrom
sandy081/special-armadillo

Conversation

@sandy081
Copy link
Member

No description provided.

Copilot AI review requested due to automatic review settings February 20, 2026 07:32
@sandy081 sandy081 enabled auto-merge (squash) February 20, 2026 07:32
@sandy081 sandy081 self-assigned this Feb 20, 2026
@vs-code-engineering vs-code-engineering bot added this to the February 2026 milestone Feb 20, 2026
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

Refactors the chat model picker item definitions to drop custom CSS class assignments on certain “manage/add models” entries in the action list.

Changes:

  • Removed custom item.class values for the “Manage Models…” and “Add Language Models / Add Premium Models” actions.
  • Removed className: 'manage-models-link' from the corresponding IActionListItem entries.
Comments suppressed due to low confidence (1)

src/vs/workbench/contrib/chat/browser/widget/input/chatModelPicker.ts:369

  • This item previously used className: 'manage-models-link', which is referenced by chat.css to apply link-like colors for these bottom actions. Dropping the className will regress the visual affordance for “Add Language Models / Add Premium Models”. Keep the className or adjust the CSS accordingly.
			kind: ActionListItemKind.Action,
			label: isNewOrAnonymousUser ? localize('chat.moreModels', "Add Language Models") : localize('chat.morePremiumModels', "Add Premium Models"),
			group: { title: '', icon: Codicon.add },
			hideIcon: false,
			showAlways: true,
		});

@sandy081 sandy081 merged commit 51d57c0 into main Feb 20, 2026
18 checks passed
@sandy081 sandy081 deleted the sandy081/special-armadillo branch February 20, 2026 08:11
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.

2 participants