Skip to content

Studio: restyle Library and System storage sections as a usage overview - #15083

Merged
shimmyshimmer merged 16 commits into
mainfrom
studio-storage-overview
Oct 25, 2026
Merged

shimmyshimmer merged 16 commits into
mainfrom
studio-storage-overview

Conversation

@shimmyshimmer

@shimmyshimmer shimmyshimmer commented Oct 24, 2026 •

Copy link
Copy Markdown
Member

Studio: restyle Library and System storage sections as a usage overview

The Storage sections in Settings > Library and Settings > System now share one layout: a bold usage line with a Refresh button, a stacked usage bar, a legend with a colored dot and size per segment, a footnote, and a bordered card of action rows.

  • Library: one bar segment per category (plus Hidden when Content settings hide files), the "free of ... on this disk" line as the footnote, and each category as a card row with an Open button.
  • System: the system disk split into Models (Hugging Face model cache), Caches, Other and Free. The Models folder and Cache files rows move into a card; the path input becomes a path line with Copy path (Open on Desktop) and Change. Refresh re-measures the caches. When the models folder is on another drive it is left out of the system disk bar and that drive shows in the footnote.
  • Dark mode uses softer tones of the same segment colors. Clear caches gets a bin icon.
  • On the radius scale from Studio: one fixed radius scale, applied to the shared primitives #14919: the usage bar and every button are pills, and the card of rows is a 21px panel like the other bordered groups in Settings.
  • CacheStorageRows state moved into a useCacheStorage hook so the bar and the rows read the same inventory.
  • The System page heading reads "System and Engine" in every locale. The sidebar, app menu and command palette keep "System" (they use settings.tabs.resources, the heading uses settings.resources.title).
  • The startup bundle budget is raised by this PR's measured growth (its strings in the eager en locale); the numbers are in scripts/check-bundle-budget.ts.

Screenshots

Settings > System, light

Settings > System, dark

Settings > Library, light (empty Library on this install, so the bar is an empty track)

Verification

  • npm run typecheck, npm test (13853 pass), npm run build
  • Isolated Studio on macOS (CPU): both sections in light and dark, settings search still lands on System disk, Models folder and Cache files

Not tested here

  • Windows and Linux rendering (staging CI)
  • A models folder on a second drive

shimmyshimmer added a commit to shimmyshimmer/unsloth-staging-4 that referenced this pull request Oct 24, 2026
shimmyshimmer added a commit to shimmyshimmer/unsloth-staging-4 that referenced this pull request Oct 24, 2026
shimmyshimmer added a commit to shimmyshimmer/unsloth-staging-4 that referenced this pull request Oct 24, 2026
shimmyshimmer added a commit to shimmyshimmer/unsloth-staging-4 that referenced this pull request Oct 24, 2026
shimmyshimmer added a commit to shimmyshimmer/unsloth-staging-4 that referenced this pull request Oct 24, 2026
shimmyshimmer added a commit to shimmyshimmer/unsloth-staging-4 that referenced this pull request Oct 24, 2026
shimmyshimmer added a commit to shimmyshimmer/unsloth-staging-4 that referenced this pull request Oct 24, 2026
shimmyshimmer added a commit to shimmyshimmer/unsloth-staging-4 that referenced this pull request Oct 24, 2026
shimmyshimmer pushed a commit to shimmyshimmer/unsloth-staging-4 that referenced this pull request Oct 24, 2026
@danielhanchen

Copy link
Copy Markdown
Member

The Frontend build + bundle sanity failure here comes from this PR. The strict i18n check finds ten new English keys that the locale overlays don't have (zh-CN shown, the other overlays report the same list):

Missing keys (will fall back to en): 10
  - settings.library.storageHiddenLabel
  - settings.library.storageRefresh
  - settings.library.storageOpen
  - settings.resources.storage.systemUsed
  - settings.resources.storage.modelsDiskSummary
  - settings.resources.storage.segmentModels
  - settings.resources.storage.segmentCaches
  - settings.resources.storage.segmentOther
  - settings.resources.storage.segmentFree
  - settings.resources.storage.refreshAction

None of these are on main yet. Each overlay needs them, even if the value starts out as the English text.

shimmyshimmer pushed a commit to shimmyshimmer/unsloth-staging-4 that referenced this pull request Oct 24, 2026
@shimmyshimmer

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 24, 2026 •

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-24T09:44:23.444722Z 66973c3 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.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c581b4c2a7

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

…hes on a separate models drive out of the system-disk bar
@shimmyshimmer

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep them coming!

Reviewed commit: 66973c3816

ℹ️ 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 46d43ef into main Oct 25, 2026
0 of 38 checks passed
@shimmyshimmer
shimmyshimmer deleted the studio-storage-overview branch October 25, 2026 00:25
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.

2 participants