Skip to content

Add JSON flag to theme preview#7043

Draft
dengjeffrey wants to merge 3 commits intomainfrom
jd/theme-preview-json-output
Draft

Add JSON flag to theme preview#7043
dengjeffrey wants to merge 3 commits intomainfrom
jd/theme-preview-json-output

Conversation

@dengjeffrey
Copy link
Contributor

@dengjeffrey dengjeffrey commented Mar 18, 2026

WHY are these changes introduced?

Adds a --json flag to theme preview to make it easier for agents to consume

How to test your changes?

Follow the steps in #6890 but add --json to the command to return json

Post-release steps

Measuring impact

How do we know this change was effective? Please choose one:

  • n/a - this doesn't need measurement, e.g. a linting rule or a bug-fix
  • Existing analytics will cater for this addition
  • PR includes analytics changes to measure impact

Checklist

  • I've considered possible cross-platform impacts (Mac, Linux, Windows)
  • I've considered possible documentation changes
    • Docs will come after

@github-actions
Copy link
Contributor

github-actions bot commented Mar 18, 2026

Coverage report

St.
Category Percentage Covered / Total
🟢 Statements 82.22% 14930/18159
🟡 Branches 74.65% 7395/9906
🟢 Functions 81.36% 3767/4630
🟢 Lines 82.61% 14117/17088

Test suite run success

3913 tests passing in 1502 suites.

Report generated by 🧪jest coverage report action from 262f218

@dengjeffrey dengjeffrey force-pushed the jd/theme-preview-json-output branch from c3808fc to 262f218 Compare March 18, 2026 22:35
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