Skip to content

ui: suggest and search Hugging Face models on the Models page, add a grid view - #38

Draft
allozaur wants to merge 6 commits into
allozaur/feat/model-configurationfrom
allozaur/feat/models-manager-redesign
Draft

allozaur wants to merge 6 commits into
allozaur/feat/model-configurationfrom
allozaur/feat/models-manager-redesign

Conversation

@allozaur

@allozaur allozaur commented Nov 2, 2026 •

Copy link
Copy Markdown
Owner

Overview

The Models page suggests catalog models in a carousel above your models, finds models on Hugging Face from the same search, and opens them in a details drawer, with a choice between a table and a grid of cards. The search dialog finds Hugging Face models too.

Additional information

Builds on #36 (model configuration, allozaur/feat/model-configuration), which now sits on the prompt library (#29) beside the main work-in-progress stack. Its diff is only this layer.

The Discover dialog and its button are gone: suggestions, Hub search and Hub details now live on the Models page itself.

What changed
  • Suggested models: a collapsible carousel of catalog models above the toolbar, hidden while a search is typed.
  • One search: the search field filters your models at once and, with Discover on, searches Hugging Face after a short pause; the matches land in an "On Hugging Face" section below your models.
  • Hub details drawer: a Hub model opens in a wide drawer on the right (a bottom sheet on phones) with the details and download options the dialog had. The carousel, search results, "View on Hugging Face" row action and the model pane's button open it, and it never stacks with the model details drawer.
  • Table or grid: a toggle in the toolbar switches the installed models between the table and a grid of cards, and is remembered. The grid gives each quant a card, keeps the sections, and orders from a sort menu instead of column headers.
  • Cards: local and Hub cards share one card surface, the MCP server cards' one, laid out like the model cards of llama.app's catalog. A Hub card sets the name over one quiet mono line (size, draft kinds, and who quantized it for a repo outside the catalog), shows capabilities as icons with tooltips at the top right, then the catalog description, and a foot with the download size and context on the left and, on the right, a Loaded or Downloaded badge for a model the server already has, else the family's release month, else the download count. A local card keeps its badges, menu, context and load control, and moves its capability icons beside the menu.
  • Search dialog: with Discover on, the term typed in the search dialog also searches Hugging Face, with the Models page's search and debounce, and lists the first six matches in a "Models on Hugging Face" group below the others. Picking one opens the Models page with that model's details drawer; a phone, whose navigation has no Models page, opens the drawer over the page it is on.
  • Store: the discover store keeps the catalog suggestions and the search results apart, so a search no longer replaces the suggestions. It also offers the Hub search without keeping state, so the search dialog never disturbs the Models page's results, and reads a catalog family's release month.
  • Also on this branch: Hub search results sort repos of the base model's own org first, and the server throttles download progress per file so a draft sidecar no longer starves the main file's updates.
What changed in the rebase
  • The view toggle sits beside the stack's server filter, and the toolbar keeps the "Manage Servers" header button; the "Discover Models" button next to it is gone.
  • The row actions use the stack's (option, state, handlers) signature.
  • The local details header keeps the server name and "customized" badge and moves capabilities to the badge row.
  • The design system (ui: Llama UI design system: tokens, surfaces and fonts #22) now sits below this layer, and base components come from @ggml-org/llama-ui. The cards, carousel and drawer still use master's fixed sizes (size-3, size-3.5, size-4, text-xs) instead of its tokens, and the layout toggle takes master's sm size instead of icon-sm. The "See in Discover" button that became "View on Hub" keeps master's tertiary variant.
Commits (8)
  • ui: show suggested and Hub models on the models page, add a grid view
  • ui : sort Hub search results with base-org repos first
  • server : throttle download progress per file
  • ui: style model cards like the MCP server cards
  • ui : adapt the models page redesign to the stack
  • ui: keep the models page redesign on master's styles until the design system lands
  • ui: lay model cards out like the llama.app catalog cards
  • ui: find Hugging Face models from the search dialog
Testing
  • After the rebase onto the current allozaur/feat/model-configuration: type-check passes with 0 errors and the unit tests pass (820). The client suite was not rerun.
  • prettier --check reports two files this PR does not touch, ModelsManagerModelConfiguration.svelte and SidebarNavigationConversationItem.svelte; both come from the layers below.
  • Tried in the browser against a router-mode server, at desktop and phone widths: the carousel and grid cards, the Hub results grid, the Loaded badge, and the search dialog's Hub group opening the details drawer.
  • The search dialog's Hub group has no test of its own yet.
  • Pushed with --no-verify, so the pre-push checks did not run.

Requirements

@allozaur
allozaur force-pushed the allozaur/feat/models-manager-redesign branch from 682a05b to b2ba65b Compare November 2, 2026 16:16
@allozaur
allozaur force-pushed the allozaur/feat/model-configuration branch from 1f901ba to 14cf1da Compare November 3, 2026 10:02
@allozaur

allozaur commented Nov 6, 2026

Copy link
Copy Markdown
Owner Author

To do before this is ready, from the product direction: keep model management a power-user feature in Llama Chat, and let the native apps handle it for everyone else.

  • Models page behind a setting: don't show the Models route/dialog by default. Gate it behind a setting, the same way Discover is gated by enableDiscoverModels, and hide its sidebar entry until it's on.
  • Models in the global search: add models as a result type in DialogSearch, alongside conversations and projects, so anyone can find a model by name and select it without opening the Models page.

The current Discover flow is too much for most people; with these two changes, it stays available for power users without being in everyone's way.

@allozaur
allozaur force-pushed the allozaur/feat/model-configuration branch 12 times, most recently from 73c3fba to eb7c0b4 Compare November 10, 2026 09:50
@allozaur
allozaur force-pushed the allozaur/feat/models-manager-redesign branch from b2ba65b to eada30d Compare November 10, 2026 09:50
@allozaur
allozaur force-pushed the allozaur/feat/model-configuration branch 6 times, most recently from f43fa70 to d9e5ba2 Compare November 10, 2026 18:04
@allozaur
allozaur force-pushed the allozaur/feat/models-manager-redesign branch from eada30d to c91c4a8 Compare November 10, 2026 18:48
@allozaur
allozaur force-pushed the allozaur/feat/model-configuration branch from d9e5ba2 to 44e3ef4 Compare November 12, 2026 01:29
@allozaur
allozaur force-pushed the allozaur/feat/models-manager-redesign branch from c91c4a8 to 6ebbbe8 Compare November 12, 2026 01:29
allozaur added a commit that referenced this pull request Nov 12, 2026
Replayed onto develop: the PR branch sits on a stale copy of the stack.
@allozaur
allozaur force-pushed the allozaur/feat/model-configuration branch from 44e3ef4 to 9c8d0f1 Compare November 12, 2026 11:16
@allozaur
allozaur force-pushed the allozaur/feat/models-manager-redesign branch from 6ebbbe8 to 261baa3 Compare November 12, 2026 11:16
@allozaur
allozaur force-pushed the allozaur/feat/model-configuration branch from 0bf250a to b73f54a Compare November 16, 2026 12:07
@allozaur
allozaur force-pushed the allozaur/feat/models-manager-redesign branch 2 times, most recently from 30027eb to 31b5f67 Compare November 16, 2026 12:13
@allozaur
allozaur force-pushed the allozaur/feat/model-configuration branch from b73f54a to 45df633 Compare November 16, 2026 12:13
@allozaur
allozaur force-pushed the allozaur/feat/models-manager-redesign branch from 31b5f67 to 19d2a62 Compare November 16, 2026 12:17
@allozaur
allozaur force-pushed the allozaur/feat/model-configuration branch from 45df633 to 1a17d89 Compare November 16, 2026 12:17
@allozaur
allozaur force-pushed the allozaur/feat/models-manager-redesign branch 2 times, most recently from d80585d to 87466dc Compare November 16, 2026 13:44
@allozaur
allozaur force-pushed the allozaur/feat/model-configuration branch 2 times, most recently from 7c32001 to 6025c8f Compare November 16, 2026 13:52
@allozaur
allozaur force-pushed the allozaur/feat/models-manager-redesign branch from 87466dc to 01233bd Compare November 16, 2026 13:52
@allozaur
allozaur force-pushed the allozaur/feat/models-manager-redesign branch from 01233bd to d5b082c Compare November 16, 2026 16:12
@allozaur
allozaur force-pushed the allozaur/feat/model-configuration branch from 6025c8f to dcbe7d9 Compare November 16, 2026 16:12
@allozaur
allozaur force-pushed the allozaur/feat/models-manager-redesign branch from d5b082c to d3bb454 Compare November 16, 2026 16:50
@allozaur
allozaur force-pushed the allozaur/feat/model-configuration branch from 140894c to a245d3d Compare November 16, 2026 17:36
@allozaur
allozaur force-pushed the allozaur/feat/models-manager-redesign branch from d3bb454 to 0504374 Compare November 16, 2026 17:36
@allozaur
allozaur force-pushed the allozaur/feat/model-configuration branch from a245d3d to 1bfb5b2 Compare November 16, 2026 17:42
@allozaur
allozaur force-pushed the allozaur/feat/models-manager-redesign branch 2 times, most recently from 5afd675 to 010f1d7 Compare November 16, 2026 18:58
@allozaur
allozaur force-pushed the allozaur/feat/model-configuration branch 2 times, most recently from 0fcb72e to f13c596 Compare November 17, 2026 05:21
@allozaur
allozaur force-pushed the allozaur/feat/models-manager-redesign branch from 010f1d7 to 2e834c6 Compare November 17, 2026 05:21
@allozaur
allozaur force-pushed the allozaur/feat/model-configuration branch from f13c596 to f8ede25 Compare November 17, 2026 05:55
Replace the Discover dialog with a suggested models carousel above the
installed models, search Hugging Face from the same search field in a
section of its own, and open Hub models in a details drawer. Add a
table/grid switch for the installed models.

Assisted-by: Claude (Opus 5.5 Medium)
Share one card surface between local and Hub model cards, name
capabilities in outline badges on the cards and in both details
headers, and give the carousel and grids the same card width.

Assisted-by: Claude (Opus 5.5 Medium)
Use the stack's icon size tokens in the new cards, carousel and Hub
drawer, and keep the ui store's fields in order.

Assisted-by: Claude (Opus 5.5 Medium)
… system lands

The redesign was written on top of the design system's icon size tokens
and its icon-sm toggle size, which now land in a later layer, so its icons
take master's fixed sizes here (size-3, size-3.5, size-4) and the layout
toggle master's sm size.

Assisted-by: Claude (Opus 5.5 Medium)
A Hub card sets the name over one quiet line (size, drafts, who quantized
it), shows what the model can do as icons at the top right, and ends its
foot with a Loaded or Downloaded badge, the family's release month, or
the download count. A local card moves its capability icons beside its
menu. The discover store reads a catalog family's release month and
offers the Hub search without keeping state, for other search surfaces.

Assisted-by: Claude (Opus 5.5 Medium)
With Discover on, the typed term also searches the Hub after the models
page's debounce and lists the first matches in a group of their own.
Picking one opens its details over the models page; a phone opens them
over the page it is on.

Assisted-by: Claude (Opus 5.5 Medium)

This branch has not been deployed

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant