Skip to content

Studio: popups dim without blur, with a faint shadow; Settings a step darker - #13577

Merged
shimmyshimmer merged 13 commits into
mainfrom
studio-no-popup-backdrop-blur
Oct 13, 2026
Merged

shimmyshimmer merged 13 commits into
mainfrom
studio-no-popup-backdrop-blur

Conversation

@shimmyshimmer

@shimmyshimmer shimmyshimmer commented Oct 13, 2026 •

Copy link
Copy Markdown
Member

Summary

Popups no longer blur what is behind them. Their backdrops keep the same dim, but the page underneath stays sharp, so the chat or settings you came from is still readable behind a dialog.

Two related touches:

  • Faint shadow on every popup. --popup-shadow is applied to every dialog, alert dialog and sheet surface:
    • Light: a faint lift, 0 12px 32px -12px at 16% plus 0 2px 6px -2px at 6%.
    • Dark: 0 16px 40px -12px at 70%, since a faint shadow needs more alpha to read on a dark page.
    • The rule is unlayered and composes with Tailwind's ring shadow, so a surface's own shadow-none or "no shadow in dark" cannot drop it, and the 1px edge ring stays.
  • Settings dims a step darker (bg-black/40 instead of 30%). The custom Windows/Linux titlebar repeats the modal backdrop, so it has to match without a :has() on the document root, which titlebar-modal-layering.test.ts forbids. Instead, DialogContent takes overlayTone="strong" and marks its overlay. The viewport backdrop store reports the open overlay's tone, and the titlebar sets data-viewport-backdrop-tone, which CSS darkens to 40%.

Removed

  • The shared overlays in components/ui/dialog.tsx, alert-dialog.tsx and sheet.tsx (supports-backdrop-filter:backdrop-blur-[2px]). This covers every dialog, confirmation and sheet that uses them.
  • Per-dialog overlay overrides that added their own blur:
    • Settings
    • Providers
    • Upload redirect
    • The three training and recipe confirmations
  • The media lightbox overlay.
  • The backdrop behind the in-chat generated image preview.
  • The browser panel's full-screen backdrop.
  • The custom Windows/Linux titlebar layer (index.css), which repeats the modal backdrop over the titlebar.

Kept: blur that is not a popup background stays: frosted buttons and toolbars over content, the sidebar drag ghost, the hub carousel arrows, the Library's file drop overlay and the training panel's in-place starting overlay. Dropdowns, popovers and context menus had no backdrop blur.

Testing

  • New popup-backdrop-no-blur.test.ts:
    • the shared overlays carry no blur
    • no overlayClassName anywhere in src blurs
    • the lightbox, the browser panel and the titlebar backdrop do not blur
  • The new test fails with the old dialog overlay restored.
  • popup-backdrop-no-blur.test.ts also covers the shadow rule and the Settings tone wiring; viewport-backdrop-store.test.ts covers the store reporting a tone.
  • npm run typecheck passes; npm test: 11831/11831 pass, including the drag ghost tests that keep their blur.
  • In a running Studio, the overlays behind Settings, Rename chat, the Delete chat confirmation and the search palette each computed backdrop-filter: none, with the content behind them sharp. Settings' overlay computed 40% black with data-viewport-backdrop-tone="strong". Its box-shadow was the ring plus the faint shadow in light mode, and the dark shadow at 0 0 16px 0 85%.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 13, 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-13T11:23:09.210774Z d4e2e68 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[bot]

This comment was marked as resolved.

@chatgpt-codex-connector

Copy link
Copy Markdown

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

Reviewed commit: c7bdc71217

ℹ️ 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 changed the title Studio: popups dim what is behind them without blurring it Studio: popups dim without blur, with a faint shadow; Settings a step darker Oct 13, 2026
shimmyshimmer pushed a commit to shimmyshimmer/unsloth-staging-4 that referenced this pull request Oct 13, 2026
chatgpt-codex-connector[bot]

This comment was marked as resolved.

@shimmyshimmer

Copy link
Copy Markdown
Member Author

@codex review

1 similar comment
@shimmyshimmer

Copy link
Copy Markdown
Member Author

@codex review

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

@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: 5718f2e33a

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

if (next === backdropOpen) return;
if (next === backdropOpen && tone === backdropTone) return;
backdropOpen = next;
backdropTone = tone;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Preserve the strong tone during the closing animation

When Settings closes on Windows/Linux, Radix keeps its bg-black/40 overlay mounted while the data-closed:fade-out-0 animation runs, but this assignment immediately resets the reported tone to null as soon as data-state stops being open. The titlebar pseudo-element therefore jumps from a 40% to a 30% background before fading out, while the rest of the Settings backdrop continues fading from 40%; retain the closing overlay's tone until it unmounts (or transition the tone) so the titlebar remains matched throughout the exit animation.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Not changing this: it is a one-frame tone step inside the ~100ms exit fade of the titlebar dim, cosmetic only, and holding the tone through unmount would add state for no functional gain.

shimmyshimmer pushed a commit to shimmyshimmer/unsloth-staging-4 that referenced this pull request Oct 13, 2026
@chatgpt-codex-connector

Copy link
Copy Markdown

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

Reviewed commit: c06291e832

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

@unslothai unslothai deleted a comment from chatgpt-codex-connector Bot Oct 13, 2026
@unslothai unslothai deleted a comment from chatgpt-codex-connector Bot Oct 13, 2026
shimmyshimmer pushed a commit to shimmyshimmer/unsloth-staging-4 that referenced this pull request Oct 13, 2026
shimmyshimmer pushed a commit to shimmyshimmer/unsloth-staging-4 that referenced this pull request Oct 13, 2026
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Delightful!

Reviewed commit: 570d26c2d9

ℹ️ 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 pushed a commit to shimmyshimmer/unsloth-staging-4 that referenced this pull request Oct 13, 2026
shimmyshimmer pushed a commit to shimmyshimmer/unsloth-staging-4 that referenced this pull request Oct 13, 2026
@chatgpt-codex-connector

Copy link
Copy Markdown

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

Reviewed commit: 4b8fb2462e

ℹ️ 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 pushed a commit to shimmyshimmer/unsloth-staging-4 that referenced this pull request Oct 13, 2026
@shimmyshimmer

Copy link
Copy Markdown
Member Author

@codex review

1 similar comment
@shimmyshimmer

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

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

Reviewed commit: d4e2e6814d

ℹ️ 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 b73110c into main Oct 13, 2026
@shimmyshimmer
shimmyshimmer deleted the studio-no-popup-backdrop-blur branch October 13, 2026 11:24
danielhanchen added a commit that referenced this pull request Oct 13, 2026
…ct no titlebar blur

The flux2 fp16 RoPE and Wan fused gates ask whether Triton imports. CPU
torch from pip has no Triton, so the seam guard job lost both patches
that the fixture records; pin them like the other host probes.

#13577 made popup backdrops dim without blurring, the titlebar's included,
so the titlebar smoke now expects no backdrop filter.
danielhanchen added a commit that referenced this pull request Oct 13, 2026
…rity fixture with diffusers (#13608)

* Studio images: read the scheduler like the status poll does, and fix the tests #13569 left red

generate passed pipe.scheduler straight to build_scheduler, so a pipeline
without a scheduler attribute failed every request, even with the default
sampler. Read it with getattr like the status endpoint; build_scheduler
already treats None as offering no samplers.

The negative-prompt restore test evaluates restoreSettings in a stub scope,
which now also needs the sampler names #13569 added.

The auto-optimizer parity fixture records real diffusers classes, so it can
only pass where diffusers is installed. Skip it without diffusers and run
it in the Studio VAE seam guard job, which installs the pinned diffusers.

* Tests: pin the Triton probes in the autoopt parity snapshot, and expect no titlebar blur

The flux2 fp16 RoPE and Wan fused gates ask whether Triton imports. CPU
torch from pip has no Triton, so the seam guard job lost both patches
that the fixture records; pin them like the other host probes.

#13577 made popup backdrops dim without blurring, the titlebar's included,
so the titlebar smoke now expects no backdrop filter.
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