Repository navigation
Studio: popups dim without blur, with a faint shadow; Settings a step darker - #13577
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. 🎉 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
…op without :has()
|
@codex review |
1 similar comment
|
@codex review |
There was a problem hiding this comment.
💡 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; |
There was a problem hiding this comment.
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 👍 / 👎.
There was a problem hiding this comment.
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.
|
Codex Review: Didn't find any major issues. You're on a roll. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
|
Codex Review: Didn't find any major issues. Delightful! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
|
Codex Review: Didn't find any major issues. 🚀 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
|
@codex review |
1 similar comment
|
@codex review |
|
Codex Review: Didn't find any major issues. Bravo. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
…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.
…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.
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:
--popup-shadowis applied to every dialog, alert dialog and sheet surface:0 12px 32px -12pxat 16% plus0 2px 6px -2pxat 6%.0 16px 40px -12pxat 70%, since a faint shadow needs more alpha to read on a dark page.shadow-noneor "no shadow in dark" cannot drop it, and the 1px edge ring stays.bg-black/40instead of 30%). The custom Windows/Linux titlebar repeats the modal backdrop, so it has to match without a:has()on the document root, whichtitlebar-modal-layering.test.tsforbids. Instead,DialogContenttakesoverlayTone="strong"and marks its overlay. The viewport backdrop store reports the open overlay's tone, and the titlebar setsdata-viewport-backdrop-tone, which CSS darkens to 40%.Removed
components/ui/dialog.tsx,alert-dialog.tsxandsheet.tsx(supports-backdrop-filter:backdrop-blur-[2px]). This covers every dialog, confirmation and sheet that uses them.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
popup-backdrop-no-blur.test.ts:overlayClassNameanywhere insrcblurspopup-backdrop-no-blur.test.tsalso covers the shadow rule and the Settings tone wiring;viewport-backdrop-store.test.tscovers the store reporting a tone.npm run typecheckpasses;npm test: 11831/11831 pass, including the drag ghost tests that keep their blur.backdrop-filter: none, with the content behind them sharp. Settings' overlay computed 40% black withdata-viewport-backdrop-tone="strong". Its box-shadow was the ring plus the faint shadow in light mode, and the dark shadow at0 0 16px 085%.