Repository navigation
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 ignored due to path filters (1)
📒 Files selected for processing (21)
💤 Files with no reviewable changes (11)
Included review availability: Your plan provides up to 10 included reviews per hour; 6 remain after this review. 📜 Recent review details⏰ Context from checks skipped due to timeout. (20)
🧰 Additional context used📓 Path-based instructions (3)**/*.{js,jsx,cjs,mjs}📄 CodeRabbit inference engine (Custom checks)
Files:
⚙️ CodeRabbit configuration file
Files:
**/*📄 CodeRabbit inference engine (AGENTS.md)
Files:
⚙️ CodeRabbit configuration file
Files:
**/*{.,-}{test,spec}.{js,jsx,ts,tsx}⚙️ CodeRabbit configuration file
Files:
🔇 Additional comments (10)
WalkthroughThe change removes the beta theme-translation flag and legacy Suggested reviewers: Merge Risk: ⚪ Minimal · up to The PR removes the retired theme translation flag and consolidates behavior on the existing translation service; no actionable merge-blocking risk remains after normal checks and review. 🚥 Pre-merge checks | ✅ 5 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (5 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 |
no ref The settings shell and the shared `components/`, `hooks/`, `utils/`, `data/`, `assets/` and `providers/` now live directly under `settings/`, leaving only `advanced/` in `settings/app/` until the PRs touching it land (#30018, #30019, #29916, #30054, #30099, #30110, #28368). Big diff, but ~300 of the 325 files are import-line rewrites; the substantive changes are the lint-debt fixes the move surfaces: - shell files grouped in `settings/layout/`: `app.tsx` (provider tree), `main-content.tsx`, `sidebar.tsx`, `settings-sections.tsx` (was `components/settings.tsx`); root `settings.tsx` route entry unchanged - contexts split the way admin's other contexts are — hooks + context in `*-context.ts`, provider component in its own file — for global data, settings app, confirmations, scroll sections; `withErrorBoundary` → `with-error-boundary.tsx` - `loadKoenig` → `components/koenig-loader.ts`; the untyped `@tryghost/koenig-lexical` bundle gets a minimal `KoenigLexicalModule` type instead of `any` - `@tryghost/limit-service` and `@tryghost/nql` get typed ambient declarations in `vite-env.d.ts` (clears ~25 `no-unsafe-*` in `use-limiter`) - `iframe-buffering` reuses `utils/debounce`; `TopLevelGroup.saveState` uses the framework's `SaveState`; the usual `void`-wrapping of async handlers
no ref Theme translations via i18next have been the default behind the `themeTranslation` private flag for long enough that the flag is no longer useful. This makes the i18next-based theme i18n service the only implementation, drops the legacy intl-messageformat service and its `intl-messageformat` dependency, removes the labs listener in the bridge that only existed to swap services on flag change, and collapses the dual- implementation test matrices to a single run.
7244437 to
35af686
Compare
|
| Command | Status | Duration | Result |
|---|---|---|---|
nx run ghost:test:ci:integration |
✅ Succeeded | 2m 53s | View ↗ |
nx run @tryghost/admin:test:acceptance |
✅ Succeeded | 8m 13s | View ↗ |
nx run-many -t test:unit -p @tryghost/admin,gho... |
✅ Succeeded | 28s | View ↗ |
nx run ghost:test:integration |
✅ Succeeded | 3m 20s | View ↗ |
nx run ghost:test:e2e |
✅ Succeeded | 2m 59s | View ↗ |
nx run ghost:test:legacy |
✅ Succeeded | 2m 31s | View ↗ |
nx run ghost-admin:test |
✅ Succeeded | 3m 1s | View ↗ |
nx run ghost-monorepo:lint:boundaries |
✅ Succeeded | 14s | View ↗ |
Additional runs (9) |
✅ Succeeded | ... | View ↗ |
💡 Verify your cache is correct by running tasks in a sandbox. Read docs ↗
☁️ Nx Cloud last updated this comment at 2026-08-21 16:07:07 UTC
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #30018 +/- ##
==========================================
- Coverage 75.20% 75.15% -0.05%
==========================================
Files 1638 1635 -3
Lines 154716 154313 -403
Branches 18596 18541 -55
==========================================
- Hits 116355 115976 -379
- Misses 37355 37358 +3
+ Partials 1006 979 -27
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:
|

no ref
The
themeTranslationprivate labs flag gated the i18next-based theme translation service. It has been on for long enough to be considered GA, so this removes the flag and makes i18next the only implementation.Changes
themeTranslationfromPRIVATE_FEATURESin labs and from the Admin private-features listcore/frontend/services/theme-engine/i18next/moved toi18n/, replacing the legacyintl-messageformat-based service (I18n+ThemeI18nclasses){{t}}helper andActiveTheme.initI18nno longer branch on the flagsettings.labs.editedlistener inbridge.jsthat only existed to re-init translations when the flag flippedintl-messageformatdependency fromghost/coreI18n/ThemeI18nunit tests, renamedt-new.test.js→t.test.jsandi18next.test.js→theme-i18n.test.js, collapsed the dual-implementation matrices incontent,pagination, and private-blogging controller tests, simplifiedi18n-test-utils, and reduced the e2e theme-i18n test to a single serviceVerification
ghost/coreunit: theme-engine, helpers/t, content, pagination, private-blogging controller, shared/labs — all passghost/coree2e:test/e2e-frontend/**(20 files, 269 tests),e2e-api/admin/settings,e2e-api/admin/config— all pass