Skip to content

Added csvContentImporter private labs flag#28770

Open
PaulAdamDavis wants to merge 1 commit into
mainfrom
add-csv-import-flag
Open

Added csvContentImporter private labs flag#28770
PaulAdamDavis wants to merge 1 commit into
mainfrom
add-csv-import-flag

Conversation

@PaulAdamDavis

Copy link
Copy Markdown
Member

ref https://linear.app/ghost/issue/MIG-1434

Adds the csvContentImporter labs flag that the rest of the import will be built behind while in development

ref https://linear.app/ghost/issue/MIG-1434

Adds the csvContentImporter labs flag that the rest of the import will be built behind while in development
@coderabbitai

coderabbitai Bot commented Jun 21, 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

Run ID: d560eaa4-50ea-45d5-9f50-7613b268dd45

📥 Commits

Reviewing files that changed from the base of the PR and between f32a14f and 9b26449.

⛔ Files ignored due to path filters (1)
  • ghost/core/test/e2e-api/admin/__snapshots__/config.test.js.snap is excluded by !**/*.snap
📒 Files selected for processing (2)
  • apps/admin-x-settings/src/components/settings/advanced/labs/private-features.tsx
  • ghost/core/core/shared/labs.js

Walkthrough

A new private beta feature flag csvContentImporter is introduced in two locations. In ghost/core/core/shared/labs.js, the flag is appended to the PRIVATE_FEATURES array, which causes it to be included in WRITABLE_KEYS_ALLOWLIST and returned by getAllFlags(). In apps/admin-x-settings/src/components/settings/advanced/labs/private-features.tsx, a corresponding entry is added to the features array with the title "CSV Content Importer" and a description referencing importing posts from CSV files.

Possibly related PRs

  • TryGhost/Ghost#27914: Adds a different private labs flag (commentsPinning) using the same PRIVATE_FEATURES array in labs.js and the same private-features.tsx toggle pattern.
  • TryGhost/Ghost#28042: Adds another private labs flag (llmsTxt) through the identical PRIVATE_FEATURES/allowlist mechanism in labs.js and private-features.tsx.

Suggested labels

preview

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and specifically summarizes the main change: adding a csvContentImporter private labs flag, which is exactly what the changeset accomplishes.
Description check ✅ Passed The description is directly related to the changeset, explaining the purpose of adding the csvContentImporter labs flag for development and gating the feature.
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.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ 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 add-csv-import-flag

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 and usage tips.

@nx-cloud

nx-cloud Bot commented Jun 21, 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 9b26449

Command Status Duration Result
nx run ghost:test:ci:integration:no-coverage ✅ Succeeded 2m 19s View ↗
nx run @tryghost/admin-x-settings:test:acceptance ✅ Succeeded 9m 50s View ↗
nx run ghost:test:ci:integration ✅ Succeeded 1m 58s View ↗
nx run ghost:test:ci:e2e:no-coverage ✅ Succeeded 7m 7s View ↗
nx run ghost:test:ci:e2e ✅ Succeeded 7m 14s View ↗
nx build @tryghost/sodo-search ✅ Succeeded <1s View ↗
nx build @tryghost/comments-ui ✅ Succeeded <1s View ↗
nx build @tryghost/admin-toolbar ✅ Succeeded <1s View ↗
Additional runs (11) ✅ Succeeded ... View ↗

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


☁️ Nx Cloud last updated this comment at 2026-06-21 19:16:03 UTC

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