Skip to content

Conversation

@ariane-emory
Copy link
Contributor

@ariane-emory ariane-emory commented Dec 14, 2025

This PR corrects a behaviour that is currently surprising some users, where recent/favourited models are displayed in only the recents/favourites subsection of the /models list and not under their original provider. After this PR, recent/favourited models will show up in the list both under the recents/favourites grouping and under their actual provider.

Screenshot 2025-12-15 at 1 38 42 AM

Resolves #3874.

…er lists

Fixes anomalyco#3874 by removing filter that excluded recent/favorite models
from their provider sections. Now models appear in:
- Recent section (if recently used, not a favorite)
- Favorites section (if favorited)
- Their provider section (e.g., Zen, Anthropic, etc.)

Favorited models in provider lists still show (Favorite) indicator.
Added category field to value objects in dialog-model.tsx to make each
option unique when same model appears in multiple sections (Recent,
Favorites, Provider lists). Only one item highlights now when
navigating with keyboard.

Changes:
- Added category to favoriteOptions value object
- Added category to recentOptions value object
- Added category to provider list options value object
- Updated toggleFavorite keybind to handle new structure
@ariane-emory ariane-emory marked this pull request as ready for review December 14, 2025 22:55
@ariane-emory ariane-emory changed the title fix: diplay recent/favouriited models in both recents/favourites and under their provider (resolves #3874) fix: diplay recent/favourited models in both recents/favourites and under their provider (resolves #3874) Dec 15, 2025
@ariane-emory ariane-emory changed the title fix: diplay recent/favourited models in both recents/favourites and under their provider (resolves #3874) fix: diplay recent/favourited models both in recents/favourites subgrouping and under their provider (resolves #3874) Dec 15, 2025
@ariane-emory ariane-emory changed the title fix: diplay recent/favourited models both in recents/favourites subgrouping and under their provider (resolves #3874) fix: display recent/favourited models both in recents/favourites subgrouping and under their provider (resolves #3874) Dec 15, 2025
@ariane-emory ariane-emory force-pushed the fix/display-recents-consistency branch from 8fbe399 to aa0cfa4 Compare December 23, 2025 02:42
@ariane-emory ariane-emory force-pushed the fix/display-recents-consistency branch from 6637c5d to c6236a8 Compare December 24, 2025 00:18
…mory/opencode into fix/display-recents-consistency
@ariane-emory
Copy link
Contributor Author

Clobbered by recent updates, would require nontrivial reworking to be made to work properly now. Closing for now.

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.

[FEATURE]: Have Recents Seperate From The Model Lists

1 participant