Repository navigation
Removed the settings portal mount - #29789
Conversation
- settings was the only admin route escaping the React tree through createPortal(document.body), forcing it to re-declare the shade scope classes and keep private z-index bookkeeping - the route element now renders a fixed inset-0 overlay inside the shell tree, the same full-screen pattern the automations editor uses; the admin sidebar is already unmounted via the route handle, and Radix dialogs portal themselves to the body - the shade/shade-admin wrapper re-declaration goes away since the element now renders inside ShadeApp's scope
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
Walkthrough
Possibly related PRs
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
| Command | Status | Duration | Result |
|---|---|---|---|
nx run @tryghost/admin:test:acceptance |
✅ Succeeded | 6m 37s | View ↗ |
nx run-many -t test:unit -p @tryghost/admin |
✅ Succeeded | 2m 42s | View ↗ |
nx run ghost-monorepo:lint:boundaries |
✅ Succeeded | 21s | View ↗ |
nx run-many -t lint -p @tryghost/admin,ghost-mo... |
✅ Succeeded | 1m 15s | View ↗ |
nx run @tryghost/admin:build |
✅ Succeeded | 22s | View ↗ |
nx run-many --target=build --projects=tag:publi... |
✅ Succeeded | <1s | View ↗ |
💡 Verify your cache is correct by running tasks in a sandbox. Read docs ↗
☁️ Nx Cloud last updated this comment at 2026-08-05 19:14:38 UTC
ref #29789 - settings now renders inside the shell, so it must sit above the contributor profile menu's z-20 stacking context - match the automations full-screen takeover layer
no ref First slice of the settings NiceModal burn-down (follows the router swap #29780 and un-portal #29789). `ConfirmationModal` and `LimitModal` were NiceModal-shown from **54 call sites across 27 files** — the bulk of settings' remaining NiceModal usage. They now go through a settings-local `ConfirmationProvider`:

Final structural piece of the native-settings work (follows #29762, #29763, #29780).
Settings was the only admin route escaping the React tree via
createPortal(document.body)— which is why it re-declared theshade shade-adminscope classes and kept private z-index bookkeeping. The route element now renders afixed inset-0overlay inside the shell tree, the same full-screen pattern the automations editor uses (automations/editor.tsx). The admin sidebar is already unmounted via the route'shideAdminSidebarhandle, and Radix dialogs/toasts portal themselves to the body, so nothing else needed to move.Deliberately a tiny standalone PR: if any visual regression shows up, it bisects to stacking — not to the router swap that landed in #29780.
Verification
tsc -b+ lint clean