Repository navigation
Cleaned up the admin-x naming left in the settings shell - #30117
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: QUIET Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 10 included reviews per hour; 4 remain after this review. 📜 Recent review details⏰ Context from checks skipped due to timeout. (9)
🧰 Additional context used📓 Path-based instructions (2)**/*📄 CodeRabbit inference engine (AGENTS.md)
Files:
⚙️ CodeRabbit configuration file
Files:
**/*.{css,scss}📄 CodeRabbit inference engine (AGENTS.md)
Files:
🔇 Additional comments (1)
WalkthroughThe settings app now uses Possibly related PRs
Suggested reviewers: Merge Risk: ⚪ Minimal · up to This PR only cleans up settings-shell naming and simplifies provider props, with no actionable merge-blocking risk remaining after the reported checks pass. 🚥 Pre-merge checks | ✅ 6✅ Passed checks (6 passed)
✨ Finishing Touches🧪 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 41s | View ↗ |
nx run ghost-monorepo:lint:boundaries |
✅ Succeeded | 23s | View ↗ |
nx run-many -t lint -p @tryghost/admin,ghost-mo... |
✅ Succeeded | 1m 29s | View ↗ |
nx run-many -t test:unit -p @tryghost/admin |
✅ Succeeded | 1m 41s | View ↗ |
nx run @tryghost/admin:build |
✅ Succeeded | 21s | 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-19 12:55:26 UTC
no ref The settings shell still carried admin-x-settings-* element ids and an admin-x-base/admin-x-settings wrapper class from the admin-x-settings package. Settings is native to Admin now, so these become settings-* ids and a single settings-app class, with the heading line-height rule in index.css following. Nothing outside settings referenced them. SettingsAppProvider also stops accepting context overrides it silently discarded: it typed every context field as an optional prop but then overwrote sorting and offers state after spreading them. It now takes only upgradeStatus, which is the one prop its caller passes.
6fdbb81 to
83dfa1a
Compare

no ref
Tail of the settings integration:
admin-x-settings-{content,sidebar,sidebar-scroller,scroller}element ids →settings-*; theadmin-x-base admin-x-settingswrapper class →settings-app(and the heading line-height rule inindex.cssfollows). Nothing outsideapps/admin/src/settingsreferenced any of them (checked Ember, e2e, shade, test-utils); no id collisions with Ember's DOM.SettingsAppProvidertyped every context field as an optional prop but overwrotesortingState/setSortingState/offersShowArchived/setOffersShowArchivedafter spreading them (the CodeRabbit note on Moved shared settings code out of the settings quarantine #30113 — pre-existing). It now takes onlyupgradeStatus, the one prop its caller passes.Verification
pnpm test:acceptancelayout, navigation-history, routing, search, permissions, design, offers — 29/29tsc -b+ eslint clean