Repository navigation
Model picker stays open after a model click, and closes on a level - #1855
Merged
Merged
Conversation
…; a level closes it Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Clicking a model in the composer's model picker now selects it at its starting level (its default, else Medium) and leaves the picker open on that model's reasoning levels. Clicking a level or a speed then applies it and closes the picker. A model with no levels and no speeds still closes the picker on click, since nothing is left to choose there.
The same applies to the side-chat composer and to the Settings model picker. The agent and skill model pickers have no level column and still close on a model click.
Verification (tier 2):
composerModelPickerHovermounts the chat and checks three cases: a model click keeps the picker open with that model's levels shown; a level click saves the level and closes the picker; a model click on a model without levels closes it. The open-picker case fails on the old code.node scripts/verify.mjsover 14 affected test files plus--typecheck webpasses (240 tests).Refs #498
🤖 Generated with Claude Code