fix(marketing): restore indentation mangled by audit round 2 (Prettier) - #229
Conversation
PR #228's cleanup script applied a global `/ +/g -> ' '` space-collapse to six files to tidy the className gaps left by removing navy gradients, but it flattened ALL indentation in those files (2-space -> 1-space). Functionally fine (tsc/lint/routes were green) but the source was mangled. Ran Prettier to restore canonical formatting. No content or class changes — navy section gradients and masked cyan stay removed; this is formatting only (`git diff -w` is ~tiny line reflow). Files: faq, legal/privacy, legal/terms, documentation (APIPreview, DocsContent, DocsCTA). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (7)
📝 WalkthroughWalkthroughThis PR adds an E2E test infrastructure report documenting test findings and code/operational issues, and reformats multiple marketing page components across API docs, FAQ, privacy policy, and terms pages with equivalent JSX structures and data layouts. ChangesE2E Test Infrastructure Report
Marketing Pages Component Reformatting
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
♿ Accessibility Test Results✅ PASSED - No critical accessibility issues found Tests Performed:
Artifacts: Download the accessibility reports from the "Artifacts" section for detailed results. |
🔒 Compliance Testing ResultsTest Date: Thu Jun 4 08:56:52 UTC 2026 GDPR ComplianceSOC2 ComplianceCompliance Reports: Available in the artifacts section below |
Cleanup of my own mistake. PR #228 ran a global
/ +/g → ' 'space-collapse on six files to tidy the className gaps left after removing navy gradients — but that flattened all indentation (2-space → 1-space) in those files. It was functionally fine (tsc/eslint/routes all green, which is why it slipped through), but the source was mangled.Fix: ran Prettier to restore canonical formatting. No content/class changes — navy section gradients and masked cyan stay removed.
git diff -w(ignore-whitespace) is only ~50 lines of normal Prettier line-reflow; the large raw diff is purely the re-indentation (main currently holds the flattened version).Files: faq, legal/privacy, legal/terms, documentation (APIPreview, DocsContent, DocsCTA).
tsc+ eslint clean.🤖 Generated with Claude Code
Summary by CodeRabbit
Documentation
Style