Skip to content

Compare button behaves weirdly in the context of the model picker #339901

Closed

Description

@lramos15

Testing #339373

The model picker tabs are meant to be for providers and also meant to switch and always render a lable. Here the compare tab has no label and keeps copilot selected.

I wonder if this flow should just live in the chat response sort of as a guided setup

Image

Activity

  1. added
    polish
    agent-bakeoff
    bug
    on Oct 14, 2026
  2. meganrogge commented on Oct 14, 2026

    @meganrogge
    Collaborator

    This should have a label immediately on hover explaining the action

  3. meganrogge commented on Oct 14, 2026

    @meganrogge
    Collaborator

    We should also move it to be at the far right, next to the search icon

  4. added
    unreleased
    on Oct 14, 2026
  5. vs-code-engineering commented on Oct 14, 2026

    @vs-code-engineering
    Contributor

    Sharing media and context from merged PR #341610 for verification:

    demo.mov

    Summary

    • nests active comparison groups beneath their workspace in workspace grouping
    • keeps comparison workspaces visible when workspace capping is enabled
    • restores the comparison disclosure chevron to the leading edge
    • constrains long comparison titles so they do not render beneath header actions
    • moves Compare Models to the trailing action group beside Search
    • reveals the Compare Models label immediately on hover and keyboard focus
    • adds regression coverage for list hierarchy, constrained headers, action placement, labeling, and toggle semantics

    Validation

    • npm run build-fast -- --client-only — passed
    • npm run typecheck-client — passed
    • ./scripts/test.sh --run src/vs/sessions/contrib/sessions/test/browser/sessionsList.test.ts — passed (232 tests)
    • ./scripts/test.sh --run src/vs/workbench/contrib/chat/test/browser/widget/input/modelPicker/modelPickerTabbedWidget.test.ts — passed (102 tests)
    • ./scripts/test.sh --run src/vs/platform/actionWidget/test/browser/tabbedActionListWidget.test.ts — passed (52 tests)
    • npm run eslint -- src/vs/sessions/contrib/sessions/browser/views/sessionsList.ts src/vs/sessions/contrib/sessions/test/browser/sessionsList.test.ts — passed
    • npm run eslint -- src/vs/platform/actionWidget/browser/tabbedActionListWidget.ts src/vs/workbench/contrib/chat/browser/widget/input/modelPicker/modelPickerTabbedWidget.ts src/vs/workbench/contrib/chat/test/browser/widget/input/modelPicker/modelPickerTabbedWidget.test.ts — passed
    • npm run stylelint -- src/vs/sessions/contrib/sessions/browser/media/sessionsList.css — passed (3 pre-existing design-token suggestions)
    • npm run stylelint -- src/vs/platform/actionWidget/browser/tabbedActionListWidget.css — passed (1 pre-existing design-token suggestion)

    Source PR: #341610

  6. added
    insiders-released
    and removed
    unreleased
    on Oct 15, 2026
  7. federicobrancasi commented on Oct 18, 2026

    @federicobrancasi
    Member

    🤖 How to verify: the video for this fix is in this comment, with related fixes. It walks through the steps in real VS Code Insiders, checking each result in the app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

agent-bakeoffbuginsiders-releasedpolishverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions