Skip to content

Fix fast model toggle not being persisted - #335510

Merged
Logan Ramos (lramos15) merged 4 commits into
mainfrom
lramos15/coastal-unicorn
Sep 10, 2026
Merged

Fix fast model toggle not being persisted#335510
Logan Ramos (lramos15) merged 4 commits into
mainfrom
lramos15/coastal-unicorn

Conversation

@lramos15

Copy link
Copy Markdown
Member

No description provided.

Copilot AI balanced review requested due to automatic review settings September 10, 2026 16:47
@lramos15
Logan Ramos (lramos15) enabled auto-merge (squash) September 10, 2026 16:47

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

Refreshing with an empty sizing tab can collapse the active list to zero height.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Review tier: Balanced
Findings: 1 High severity

New issues introduced by this change (1)
Severity Finding
High severity src/​vs/​platform/​actionWidget/​browser/​tabbedActionListWidget.ts — Normalize an empty sizing result the same way as the initial measurement below.…
What changed in this PR

Fixes fast model preference persistence in the tabbed model picker while preserving pin state and popup sizing.

Changes:

  • Remembers and restores preferred speed variants.
  • Collapses model pairs consistently across sections and search.
  • Recomputes popup sizing after list changes.
File Description
modelPickerTelemetry.test.ts Tests speed-selection and pin telemetry.
modelPickerTabs.test.ts Tests variant collapsing, pins, and availability.
modelPickerVariants.ts Resolves remembered speed variants.
modelPickerTabs.ts Builds sections from collapsed variants.
modelPickerTabbedWidget.ts Persists speed choices and unified pin state.
tabbedActionListWidget.test.ts Tests refreshed popup sizing.
tabbedActionListWidget.ts Remeasures sizing content on refresh.

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread src/vs/platform/actionWidget/browser/tabbedActionListWidget.ts
@lramos15
Logan Ramos (lramos15) merged commit af459b6 into main Sep 10, 2026
53 of 54 checks passed
@lramos15
Logan Ramos (lramos15) deleted the lramos15/coastal-unicorn branch September 10, 2026 18:54
@vs-code-engineering vs-code-engineering Bot added this to the 1.138.0 milestone Sep 10, 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.

4 participants