Skip to content

Show iconless models in Hub feed above likes threshold - #7284

Merged
shimmyshimmer merged 1 commit into
mainfrom
hub-show-iconless-models
Jul 21, 2026
Merged

shimmyshimmer merged 1 commit into
mainfrom
hub-show-iconless-models

Conversation

@shimmyshimmer

Copy link
Copy Markdown
Member

What

The Hub Discover feed only surfaces models whose repo name maps to a known provider logo. Some models we upload are iconless (their repo name matches no provider logo, e.g. Ornith and Inkling), so they never appear in the feed even when they are popular.

This lets an iconless model through the feed filter once it clears a Hugging Face likes threshold, so well-liked models are no longer hidden purely for lacking an icon.

How

  • Added a MIN_ICONLESS_MODEL_LIKES constant (30).
  • Relaxed the feed filter in hub-page.tsx so a row passes when it has a provider logo OR its likes are at or above the threshold.

Notes

  • Only affects the feed view. Search and sort-browse are unchanged.
  • The format dropdown still applies as before, so the feed default keeps hiding non-GGUF results.
  • Threshold lives in one constant and is easy to tune later.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a threshold for displaying iconless models in the Hub feed. Specifically, it defines a new constant MIN_ICONLESS_MODEL_LIKES set to 30 and updates the filtering logic in ModelsPage to include iconless models in feed mode if their Hugging Face likes meet or exceed this threshold. There are no review comments, so I have no feedback to provide.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@shimmyshimmer

Copy link
Copy Markdown
Member Author

@codex

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. You're on a roll.

Reviewed commit: a28e7af098

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@shimmyshimmer
shimmyshimmer merged commit f635980 into main Jul 21, 2026
40 checks passed
@shimmyshimmer
shimmyshimmer deleted the hub-show-iconless-models branch July 21, 2026 10:32
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