Skip to content

feat(web): group default model dropdown by provider in settings - #861

Merged
wbxl2000 merged 2 commits into
mainfrom
feat/web-settings-model-provider-groups
Jun 17, 2026
Merged

feat(web): group default model dropdown by provider in settings#861
wbxl2000 merged 2 commits into
mainfrom
feat/web-settings-model-provider-groups

Conversation

@wbxl2000

@wbxl2000 wbxl2000 commented Jun 17, 2026

Copy link
Copy Markdown
Collaborator

Related Issue

No related issue — this is a small UX improvement.

Problem

In the web settings dialog, the default model selector was a flat alphabetical list. When many models from different providers are available, it is hard to scan and pick a model by provider.

What changed

  • Grouped the default model <select> options by provider using <optgroup>.
  • Providers are sorted alphabetically; models within each provider are sorted by display name.
  • Added a test to verify the dropdown renders provider groups and model options correctly.

Checklist

  • I have read the CONTRIBUTING document.
  • I have linked a related issue, or explained the problem above.
  • I have added tests that prove my feature works.
  • Ran gen-changesets skill, or this PR needs no changeset.
  • Ran gen-docs skill, or this PR needs no doc update.

@changeset-bot

changeset-bot Bot commented Jun 17, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: a9fdf9b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@moonshot-ai/kimi-code Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@pkg-pr-new

pkg-pr-new Bot commented Jun 17, 2026

Copy link
Copy Markdown
pnpm dlx https://pkg.pr.new/@moonshot-ai/kimi-code@a9fdf9b
npx https://pkg.pr.new/@moonshot-ai/kimi-code@a9fdf9b

commit: a9fdf9b

@wbxl2000
wbxl2000 merged commit bd09795 into main Jun 17, 2026
8 checks passed
@wbxl2000
wbxl2000 deleted the feat/web-settings-model-provider-groups branch June 17, 2026 15:48
@github-actions github-actions Bot mentioned this pull request Jun 17, 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.

1 participant