Skip to content

feat(desktop): enhanced model menu with search, grouping by provider, and adaptive width#4139

Open
ttmouse wants to merge 2 commits into
esengine:main-v2from
ttmouse:pr/model-list
Open

feat(desktop): enhanced model menu with search, grouping by provider, and adaptive width#4139
ttmouse wants to merge 2 commits into
esengine:main-v2from
ttmouse:pr/model-list

Conversation

@ttmouse

@ttmouse ttmouse commented Jun 12, 2026

Copy link
Copy Markdown
Contributor
  • Simplified ModelSwitcher to match upstream (removed closing animation)
  • Added search input with auto-focus for filtering models by name/provider
  • Grouped models by provider with accent-colored group labels and Brain icon
  • Adjusted width to adapt to content (min triggerWidth, max min(90vw, 480px))
  • Added max-height: 50vh with scroll for large model lists
  • Fixed empty-state duplication, i18n placeholder, and stale group keys

… and adaptive width

- Simplified ModelSwitcher to match upstream (removed closing animation)
- Added search input with auto-focus for filtering models by name/provider
- Grouped models by provider with accent-colored group labels and Brain icon
- Adjusted width to adapt to content (min triggerWidth, max min(90vw, 480px))
- Added max-height: 50vh with scroll for large model lists
@ttmouse

ttmouse commented Jun 12, 2026

Copy link
Copy Markdown
Contributor Author
image

@github-actions github-actions Bot added v2 Go rewrite (1.x) — main-v2 branch, active development desktop Wails desktop app (desktop/**) labels Jun 12, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: edc45dee38

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread desktop/frontend/src/styles.css Outdated
* -------------------------------------------------------------------------- */

opacity: 1;
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Remove stray CSS brace blocking build

This unmatched } makes the frontend CSS syntax check fail (node scripts/check-css-syntax.mjs src/styles.css reports Found a closing brace without a matching opening brace), and desktop/frontend/package.json runs that check at the start of npm run build, so any desktop frontend build with this commit will stop before typechecking or bundling.

Useful? React with 👍 / 👎.

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

Labels

desktop Wails desktop app (desktop/**) v2 Go rewrite (1.x) — main-v2 branch, active development

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant