Skip to content

feat(site/src/pages/AISettingsPage/ModelsPage): add search and provider filter to models list#26683

Open
tracyjohnsonux wants to merge 1 commit into
mainfrom
feat/ai-models-search-filter
Open

feat(site/src/pages/AISettingsPage/ModelsPage): add search and provider filter to models list#26683
tracyjohnsonux wants to merge 1 commit into
mainfrom
feat/ai-models-search-filter

Conversation

@tracyjohnsonux

Copy link
Copy Markdown
Contributor

Adds a search input and provider filter dropdown above the Models table on /ai/settings/models, and moves the Default badge to sit beside the model name.

Changes

  • Search: text input matches against model display name, model identifier, and provider label (case-insensitive).
  • Provider filter: select dropdown listing every configured provider, plus an All providers default.
  • Filters apply before pagination and reset to page one when changed.
  • New empty state when filters return no matches.
  • Pagination footer now shows the filtered total, with (filtered from N) when filters are active.
  • Default badge moved from the Status column to inline next to the model name.
  • Stories cover the new search, provider filter, and no-match empty state.

Screenshots

Please see the Storybook stories under pages/AISettingsPage/ModelsPage/ModelsPageView for Default, SearchByName, FilterByProvider, and NoMatchingModels.

Verification

  • pnpm --dir site exec biome check src/pages/AISettingsPage/ModelsPage/
  • pnpm --dir site exec tsc -p . --noEmit
  • pnpm --dir site test:storybook -- --project=chromium src/pages/AISettingsPage/ModelsPage/ (8/8 ModelsPageView stories pass; the unrelated MCP Tool Completed failure under AgentsPage/components/ChatElements reproduces on main)

Note

Opened by Coder Agents on behalf of @tracyjohnsonux.

…er filter to models list

Adds a search input and provider filter dropdown above the models table
so admins can narrow long model lists. Filters apply before pagination
and reset the page to 1 on change.

Also moves the Default badge from the Status column to inline next to
the model name.
@tracyjohnsonux

Copy link
Copy Markdown
Contributor Author

This is for adding search/filter to the model page.

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