Skip to content

Studio: hide the Model hub list under an open model page - #17021

Merged
danielhanchen merged 1 commit into
mainfrom
studio-hub-detail-hides-covered-catalog
Nov 7, 2026
Merged

danielhanchen merged 1 commit into
mainfrom
studio-hub-detail-hides-covered-catalog

Conversation

@danielhanchen

@danielhanchen danielhanchen commented Nov 7, 2026 •

Copy link
Copy Markdown
Member

Fixes #17004

Problem

With a background image on, opening a model from the Model hub drew its page on top of the hub feed: carousel cards, "Latest Unsloth Models" rows and README text and images all overlapped.

The model page is an overlay over the hub list (the full-width card layout, and split view below 1024 px). It hid the list only by painting --background, and the background image rule (#15973) clears .hub-canvas fills, so the overlay became transparent and the list showed through. macOS glass clears the same fill.

Fix

  • While a model page covers the list, the list pane is visibility: hidden (invisible, or max-lg:invisible in split view, where the list only sits under the page on narrow windows). The background image still shows behind the model page as intended.
  • The Discover / On Device scroll panes set an explicit visible on the active pane, which would repaint it through a hidden ancestor. They now only add invisible to the inactive pane, which is the same result whenever nothing above them is hidden.

Without a background image nothing visible changes: the opaque overlay already covered the list. Wide split view keeps the list visible beside the page.

Verification

Studio built from main and from this branch, background image set to all pages, unsloth/Qwen3-0.6B-GGUF opened from the hub:

View main this branch
Two-column feed, 1600 px 42 list items painted under the model page 0
Split view, 900 px 22 0
Split view, 1600 px list beside the page unchanged

Back to Hub shows the list again on both sides (scroll position behaves as on main). tests/hub-detail-hides-covered-catalog.test.ts fails on main and passes here; the frontend suite and tsc --noEmit pass.

Before / after

Model hub, two-column feed, background image on all pages, unsloth/Qwen3-0.6B-GGUF opened. Left (main): list rows and carousel cards painted through the model page. Right (this branch): the model page alone. The quantization row reads "Loading" on the right only because the Hugging Face file listing had not returned yet when the shot was taken.

Model hub model page before and after

Cross-platform

  • hub-detail-hides-covered-catalog.test.ts on staging: ubuntu-latest, macos-15 and windows-latest all green.
  • Live Studio check (background image on, model opened) in Chromium, Firefox and WebKit, two-column at 1600 px and split at 900 px: 6 of 6 cells fail on the merge base (42 and 22 list items painted under the page) and 6 of 6 pass on the merged commit (0 painted).

@danielhanchen danielhanchen self-assigned this Nov 7, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 7, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-07T12:46:26.256281Z d213fa9 Manual request
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@danielhanchen

Copy link
Copy Markdown
Member Author

@codex review

1 similar comment
@danielhanchen

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🚀

Reviewed commit: d213fa9424

ℹ️ 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".

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.

[Bug] Model Hub UI rendering issues — overlapping content and misplaced images

1 participant