Merge pull request #312681 from microsoft/mrleemurray/working-copper-shark

Agents: Remove product quality handling from OpenInAgentsTitleBarWidget
This commit is contained in:
Lee Murray
2026-04-27 14:46:23 +01:00
committed by GitHub
2 changed files with 0 additions and 18 deletions

View File

@@ -66,22 +66,6 @@
outline: none;
}
/* Quality-tinted hover/focus background — blue (stable), green (insider), orange (exploration). */
.monaco-workbench .open-in-agents-titlebar-widget[data-product-quality="stable"]:hover,
.monaco-workbench .open-in-agents-titlebar-widget[data-product-quality="stable"]:focus-visible {
background-color: rgba(0, 122, 204, 0.18);
}
.monaco-workbench .open-in-agents-titlebar-widget[data-product-quality="insider"]:hover,
.monaco-workbench .open-in-agents-titlebar-widget[data-product-quality="insider"]:focus-visible {
background-color: rgba(36, 187, 26, 0.20);
}
.monaco-workbench .open-in-agents-titlebar-widget[data-product-quality="exploration"]:hover,
.monaco-workbench .open-in-agents-titlebar-widget[data-product-quality="exploration"]:focus-visible {
background-color: rgba(255, 140, 0, 0.22);
}
.monaco-workbench .open-in-agents-titlebar-widget:hover > .open-in-agents-titlebar-widget-label,
.monaco-workbench .open-in-agents-titlebar-widget:focus-visible > .open-in-agents-titlebar-widget-label {
max-width: 200px;

View File

@@ -144,7 +144,6 @@ class OpenInAgentsTitleBarWidget extends BaseActionViewItem {
constructor(
action: IAction,
options: IBaseActionViewItemOptions | undefined,
@IProductService private readonly productService: IProductService,
@IHoverService private readonly hoverService: IHoverService,
) {
super(undefined, action, options);
@@ -155,7 +154,6 @@ class OpenInAgentsTitleBarWidget extends BaseActionViewItem {
container.classList.add('open-in-agents-titlebar-widget');
container.setAttribute('role', 'button');
container.setAttribute('data-product-quality', this.productService.quality ?? 'stable');
const label = this.action.label || localize('openInAgentsLabel', "Open in Agents");
container.setAttribute('aria-label', label);