Skip to content

Cleaned up references to the removed admin-x-settings package - #29761

Merged
9larsons merged 1 commit into
mainfrom
slars/settings-ref-cleanup
Aug 4, 2026
Merged

9larsons merged 1 commit into
mainfrom
slars/settings-ref-cleanup

Conversation

@9larsons

@9larsons 9larsons commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Follow-up to #29760, which moved the settings source into apps/admin and deleted the admin-x-settings package. This sweeps the stale references left behind:

  • Docs: AGENTS.md (workspace listing + CSS architecture sections), docker dev-gateway README, koenig README
  • Skill globs: 7 .agents/skills/*/SKILL.md files pointed at the old package paths
  • .gitignore: 5 dead entries
  • Shade adoption tooling: dropped admin-x-settings (and the equally-dead posts/stats entries) from extract-adoption.ts — settings now counts under admin; regenerated adoption-data.json
  • Test-data fixture: removed the adminX UMD config block — the server stopped emitting it when the settings UMD bundle was removed, and nothing consumes it
  • Comments/classes: selector source-of-truth pointers, eslint config note, ember billing-iframe comment, dead admin-x-settings CSS class in migrate.hbs (nothing styles it)

No runtime behavior changes. Verified: test-data tests 22/22, admin unit 1320/1320, shade + ember-admin lint clean.

Remaining admin-x-settings strings in the repo are intentional: live DOM ids/classes inside the settings app itself (#admin-x-settings-scroller etc. — they go away with the upcoming native-settings work) and the historical note on the eslint quarantine override.

- the package was deleted when its source moved into apps/admin, leaving stale references in docs, skill globs, .gitignore, the shade adoption tooling, and comments
- dropped the adminX UMD block from the test-data config fixture (the server stopped emitting it when the settings UMD bundle was removed) and the dead posts/stats entries from the adoption script alongside admin-x-settings
- regenerated adoption-data.json; settings now counts under the admin app
@nx-cloud

nx-cloud Bot commented Aug 4, 2026 •

Copy link
Copy Markdown

🤖 Nx Cloud AI Fix

Ensure the fix-ci command is configured to always run in your CI pipeline to get automatic fixes in future runs. For more information, please see https://nx.dev/ci/features/self-healing-ci


View your CI Pipeline Execution ↗ for commit bd45371

Command Status Duration Result
nx run ghost:test:ci:integration ✅ Succeeded 3m 19s View ↗
nx run @tryghost/admin:test:acceptance ✅ Succeeded 8m 17s View ↗
nx run-many -t test:unit -p @tryghost/admin,@tr... ✅ Succeeded 7m 15s View ↗
nx run ghost:test:integration ✅ Succeeded 3m 17s View ↗
nx run ghost-monorepo:lint:boundaries ✅ Succeeded 15s View ↗
nx run ghost:test:legacy ✅ Succeeded 3m 3s View ↗
nx run ghost-admin:test ✅ Succeeded 3m 25s View ↗
nx run ghost:test:e2e ✅ Succeeded 2m 51s View ↗
Additional runs (6) ✅ Succeeded ... View ↗

💡 Verify your cache is correct by running tasks in a sandbox. Read docs ↗


☁️ Nx Cloud last updated this comment at 2026-08-04 19:41:54 UTC

@coderabbitai

coderabbitai Bot commented Aug 4, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 7da8f71e-c19d-46b9-8a89-0d23afb49fae

📥 Commits

Reviewing files that changed from the base of the PR and between 78319af and bd45371.

📒 Files selected for processing (21)
  • .agents/skills/add-private-feature-flag/SKILL.md
  • .agents/skills/shade-component-decision/SKILL.md
  • .agents/skills/shade-imports/SKILL.md
  • .agents/skills/shade-no-dark-variants/SKILL.md
  • .agents/skills/shade-page-templates/SKILL.md
  • .agents/skills/shade-tokens-not-hex/SKILL.md
  • .agents/skills/shade-use-primitives/SKILL.md
  • .gitignore
  • AGENTS.md
  • apps/admin/test-utils/acceptance/resources.ts
  • apps/ember-admin/app/components/gh-billing-iframe.js
  • apps/ember-admin/app/templates/migrate.hbs
  • apps/shade/scripts/extract-adoption.ts
  • apps/shade/src/docs/adoption-dashboard.stories.tsx
  • apps/shade/src/docs/adoption-data.json
  • configs/eslint/index.mjs
  • docker/dev-gateway/README.md
  • koenig/README.md
  • packages/testing/test-data/src/fixtures/data/config.ts
  • packages/testing/test-data/src/selectors/offers.ts
  • packages/testing/test-data/src/selectors/settings.ts
💤 Files with no reviewable changes (2)
  • .gitignore
  • packages/testing/test-data/src/fixtures/data/config.ts

Walkthrough

The pull request updates repository guidance and tooling for the consolidation of admin-x-settings into apps/admin. It changes feature flag and testing references, adjusts Shade skill triggers and adoption scanning, removes legacy configuration and CSS references, and refreshes Shade adoption metrics and component inventories.

Possibly related PRs

  • TryGhost/Ghost#29686: Updates paths, triggers, fixtures, and references during the same admin-x-settings migration.
  • TryGhost/Ghost#29530: Updates Admin settings relocation references and configuration.
  • TryGhost/Ghost#29535: Updates tooling and references after consolidating admin-x-settings into apps/admin.

Suggested reviewers: peterzimon

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the cleanup of stale references to the removed admin-x-settings package.
Description check ✅ Passed The description directly explains the stale-reference cleanup, affected areas, removed fixture data, and verification results.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch slars/settings-ref-cleanup

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@9larsons
9larsons enabled auto-merge (squash) August 4, 2026 19:34
@codecov

codecov Bot commented Aug 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.59%. Comparing base (78319af) to head (bd45371).

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #29761      +/-   ##
==========================================
+ Coverage   75.56%   75.59%   +0.03%     
==========================================
  Files        1613     1613              
  Lines      142654   142654              
  Branches    17622    17627       +5     
==========================================
+ Hits       107792   107844      +52     
+ Misses      33785    33734      -51     
+ Partials     1077     1076       -1     
Flag Coverage Δ
admin-tests 55.95% <100.00%> (+0.01%) ⬆️
e2e-tests 77.72% <ø> (+0.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@9larsons
9larsons merged commit fa9366a into main Aug 4, 2026
53 checks passed
@9larsons
9larsons deleted the slars/settings-ref-cleanup branch August 4, 2026 19:46
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