Skip to content

feat(web): improve model selector with favorites, search, and performance - #490

Merged
leoisadev1 merged 1 commit into
mainfrom
feat/model-selector-improvements
Jan 7, 2026
Merged

feat(web): improve model selector with favorites, search, and performance#490
leoisadev1 merged 1 commit into
mainfrom
feat/model-selector-improvements

Conversation

@leoisadev1

Copy link
Copy Markdown
Member

Summary

  • Add favorites system synced to Convex (favoriteModels field in profiles)
  • Redesign model selector with T3 Chat-style two-column layout
  • Improve search performance and accuracy

Changes

Model Selector Improvements

  • Two-column layout: provider sidebar (left) + model list (right)
  • Provider sidebar hides when searching for full-width results
  • Search uses simple substring match with dash/space normalization
  • useDeferredValue for smooth typing during search
  • Fix open/close flash by cancelling pending close timeouts
  • "Add X suggested" button shows count of missing default models

Favorites System

  • New favoriteModels field in profiles table (Convex schema)
  • useFavoriteModels hook with optimistic updates
  • Default favorites: Claude 4.5, GPT-5.2, Gemini 3, Grok 4.1

Performance

  • Disable cmd+k command palette temporarily
  • Remove loading states for instant render
  • Add localStorage caching for models and chats

Testing

  • Verified type checking passes
  • Tested model selector open/close/search interactions

…ance

- Add favorites system with Convex sync (favoriteModels in profiles table)
- Redesign model selector with T3 Chat-style two-column layout
- Add provider sidebar that hides when searching
- Improve search: simple substring match, normalized for dashes/spaces
- Add useDeferredValue for smooth typing during search
- Fix open/close flash by cancelling pending close timeouts
- Add 'Add X suggested' button showing missing default count
- Disable cmd+k command palette temporarily
- Remove loading states for instant render
- Add localStorage caching for models and chats
@github-actions

github-actions Bot commented Jan 7, 2026

Copy link
Copy Markdown
Contributor

🚀 Preview Deployment Ready

Environment URL
Frontend https://web-openchat-pr-490.up.railway.app
Convex Dashboard Dashboard

Convex Preview Backend

  • Cloud URL: https://helpful-husky-251.convex.cloud
  • Site URL: https://helpful-husky-251.convex.site

🤖 Deployed automatically by GitHub Actions

@leoisadev1

Copy link
Copy Markdown
Member Author

@greptile review

@leoisadev1
leoisadev1 merged commit 370aba7 into main Jan 7, 2026
4 checks passed
@leoisadev1
leoisadev1 deleted the feat/model-selector-improvements branch January 7, 2026 22:51
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