Repository navigation
🐛 Fixed settings preview interaction regressions - #29618
Conversation
no ref Improved preview behavior after the Shade migration so color controls remain stable and Portal follows the active Admin theme.
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (19)
WalkthroughPortal previews now propagate dark or light theme settings through preview URLs and render matching backgrounds. Embed signup previews update mounted iframes incrementally, including styles and script data attributes. Gradient color selection uses pointer capture with active-pointer tracking. Additional changes adjust color-picker initialization and debounce behavior, portal icon styling, and signup form padding. Possibly related PRs
✨ 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 | 8m 9s | View ↗ |
nx run-many -t test:unit -p @tryghost/admin-x-s... |
✅ Succeeded | 6m 8s | View ↗ |
nx run ghost-admin:test |
✅ Succeeded | 2m 36s | View ↗ |
nx run ghost-monorepo:lint:boundaries |
✅ Succeeded | 20s | View ↗ |
nx run @tryghost/admin:build |
✅ Succeeded | 2m 8s | View ↗ |
nx run-many -t lint -p @tryghost/admin-x-settin... |
✅ Succeeded | 2m 1s | View ↗ |
nx run @tryghost/activitypub:test:acceptance |
✅ Succeeded | 48s | View ↗ |
nx run-many --target=build --projects=tag:publi... |
✅ Succeeded | 3s | View ↗ |
nx run @tryghost/signup-form:test:acceptance |
✅ Succeeded | 9s | View ↗ |
💡 Verify your cache is correct by running tasks in a sandbox. Read docs ↗
☁️ Nx Cloud last updated this comment at 2026-07-27 14:56:36 UTC
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #29618 +/- ##
=======================================
Coverage 75.03% 75.03%
=======================================
Files 1610 1610
Lines 141689 141689
Branches 17393 17393
=======================================
Hits 106316 106316
Misses 34331 34331
Partials 1042 1042
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|

What changed
Why
The Shade cleanup exposed several preview-specific interaction regressions. Color dragging could feed controlled values back into the picker while the pointer was still moving, iframe previews were unnecessarily regenerated for lightweight option changes, and Portal preview chrome had no knowledge of the active Admin theme.
The attempted Safari-only signup-form first-paint workaround was reverted because it did not eliminate WebKit's white flash and added complexity without improving behavior.
Validation