Uh oh!
There was an error while loading. Please reload this page.
Fix Charts catalog frame embedding - #1073
Conversation
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughChart catalog frame embedding now permits both base paths and trailing-slash variants. The related test uses the non-trailing-slash path as the exact allowed document and updates denied paths accordingly. ChangesChart catalog embedding
Estimated code review effort: 1 (Trivial) | ~5 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1📝 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 |
Deploying with |
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs | tanstack-com | 21101af | Commit Preview URL Branch Preview URL | Jul 29 2026, 07:35 PM |
Fixes Charts documentation embeds blocked by
X-Frame-Options: DENY.TanStack Start canonicalizes catalog embed routes by removing the trailing slash. The frame allowlist only matched the pre-redirect trailing-slash path, so the final document inherited the global denial header.
This accepts both canonical route forms at the hosting-header boundary and adds regression coverage.
Validation:
pnpm exec tsx --test tests/charts-catalog-frame-embedding.test.ts(3 passing)mainby unrelated unresolved Charts landing imports (@tanstack/charts,d3-scale,d3-shape, and../../packages/charts-core/src/index.ts)Summary by CodeRabbit