Conversation
📝 WalkthroughWalkthroughRefactors OG embed screen sizing: detects OG mode when target width or height is present; adds OG viewport constants; computes ogViewportWidth/Height; enables height-based scaling for Binary/Continuous posts and FanChart graphs; adjusts scaling, snapping, frame styles, and passes effectiveSize/containerWidth to EmbedQuestionCard. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Poem
🚥 Pre-merge checks | ✅ 2✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧹 Recent nitpick comments
📜 Recent review detailsConfiguration used: Organization UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🧰 Additional context used🧬 Code graph analysis (1)front_end/src/app/(embed)/questions/components/embed_screen.tsx (3)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
🔇 Additional comments (6)
✏️ Tip: You can disable this entire section by setting Comment |
91be084 to
bec12c9
Compare
This PR improves scaling logic for OG images of embeds.
Before:
After:
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.