pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/janhq/jan/pull/8347

edia="all" rel="stylesheet" href="https://github.githubassets.com/assets/pull-requests-be6017ec12798e73.css" /> feat: add category filter bar to the Hub for improved model discoverability by JoelJose23 · Pull Request #8347 · janhq/jan · GitHub
Skip to content

feat: add category filter bar to the Hub for improved model discoverability#8347

Open
JoelJose23 wants to merge 5 commits into
janhq:mainfrom
JoelJose23:feature/hub-categories
Open

feat: add category filter bar to the Hub for improved model discoverability#8347
JoelJose23 wants to merge 5 commits into
janhq:mainfrom
JoelJose23:feature/hub-categories

Conversation

@JoelJose23

@JoelJose23 JoelJose23 commented Jun 24, 2026

Copy link
Copy Markdown

Describe Your Changes

  • Implemented a sticky category filter bar in the Hub to enhance model discoverability.
  • Added CATEGORIES definitions with regex-based matching for model names and descriptions to dynamically organize the catalog.
  • Integrated activeCategory state and filtering logic into HubContent to enable real-time model list updates.
  • Added a useEffect hook to ensure the virtualized list scrolls to the top (rowVirtualizer.scrollToOffset(0)) when switching categories, improving UX.
  • Ensured that initiating a text search automatically resets the category filter to "All" to prevent accidental empty search results.
  • A short Video and a screenshot showcasing the changes have been attached below for your convenience.
image
Screencast.From.2026-06-24.19-32-08.mp4

Fixes Issues

  • None

Self Checklist

  • Added relevant comments, esp in complex areas
  • Updated docs (for bug fixes / features)
  • Created issues for follow-up changes or refactoring needed

@JoelJose23

Copy link
Copy Markdown
Author

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.

Comment thread resources/bin/uv-x86_64-unknown-linux-gnu Outdated
@JoelJose23
JoelJose23 force-pushed the feature/hub-categories branch from ca51ff7 to 8475271 Compare June 27, 2026 05:15

@JoelJose23 JoelJose23 left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

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/

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

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy