feat: add category filter bar to the Hub for improved model discoverability#8347
feat: add category filter bar to the Hub for improved model discoverability#8347JoelJose23 wants to merge 5 commits into
Conversation
|
While browsing the Hub, I noticed that as the library of open models grows, finding a specific type of model (like a dedicated coding assistant or a vision model) requires a lot of manual scrolling and reading through individual descriptions. I realized that grouping them dynamically by use-case would save users time and make the Hub feel much more intuitive. This PR is my approach to fixing that discoverability gap. |
ca51ff7 to
8475271
Compare
There was a problem hiding this comment.
Hey team! I noticed the CI pipeline hit a total of 24 linting and strict TypeScript compilation errors across the desktop matrix builds.
I went through the initial logs and managed to patch the first 7 upstream compilation bottlenecks found inside the core package (core.ts, extension.ts, LocalOAIEngine.ts, etc.) by stripping the unused imports/variables causing the TS6133/TS6192 fatal failures.
Tested the final build to make sure everything worked just fine/
Describe Your Changes
CATEGORIESdefinitions with regex-based matching for model names and descriptions to dynamically organize the catalog.activeCategorystate and filtering logic intoHubContentto enable real-time model list updates.useEffecthook to ensure the virtualized list scrolls to the top (rowVirtualizer.scrollToOffset(0)) when switching categories, improving UX.Screencast.From.2026-06-24.19-32-08.mp4
Fixes Issues
Self Checklist