Conversation
WalkthroughThe changes span several files and focus on refining type definitions, hook signatures, and request parameter logic. The Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Note ⚡️ Unit Test Generation is now available in beta!Learn more here, or try it out under "Finishing Touches" below. 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (5)
🧰 Additional context used📓 Path-based instructions (3)**/*.ts📄 CodeRabbit Inference Engine (.cursor/rules/review.mdc)
Files:
**/*.{ts,tsx}📄 CodeRabbit Inference Engine (.cursor/rules/review.mdc)
Files:
**/*.tsx📄 CodeRabbit Inference Engine (.cursor/rules/review.mdc)
Files:
🧠 Learnings (3)📚 Learning: in cal.com's getusereventgroups handler refactor (pr #22618), the membershipcount field for team eve...Applied to files:
📚 Learning: in the failedbookingsbyfield component (packages/features/insights/components/failedbookingsbyfield....Applied to files:
📚 Learning: in signup-view.tsx, when checking if redirecturl contains certain strings, using explicit && checks ...Applied to files:
🧬 Code Graph Analysis (2)packages/platform/atoms/hooks/event-types/public/useAtomGetPublicEvent.tsx (1)
packages/platform/atoms/cal-provider/BaseCalProvider.tsx (1)
🔇 Additional comments (6)
✨ Finishing Touches
🧪 Generate unit tests
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Graphite Automations"Add consumer team as reviewer" took an action on this PR • (08/05/25)1 reviewer was added to this PR based on Keith Williams's automation. "Add ready-for-e2e label" took an action on this PR • (08/06/25)1 label was added to this PR based on Keith Williams's automation. |
There was a problem hiding this comment.
don't call useMe for embeds
There was a problem hiding this comment.
this fixes the orgId being sent for non-org members when tryint to access their personal events, @Ryukemeister showed me the other day
There was a problem hiding this comment.
re-run useEffect in case the url is not set the first time
There was a problem hiding this comment.
Allow organizationId for user events as well.
This is required because, with the migration to the new /atoms endpoints for the booker atom, organizationId will be necessary in certain cases for user's individual events as well
Ryukemeister
left a comment
There was a problem hiding this comment.
@SomayChauhan can you add a demo video here?
|
there's nothing to demo, it works the same |
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎ |
E2E results are ready! |
* fix: make organizationId optional number type in BookerEmbed * feat: dont call useMe for embeds * useOAuthClient hook should re-run when url is set * feat: Remove `?orgId=0` from /public event query params --------- Co-authored-by: Rajiv Sahal <sahalrajiv-extc@atharvacoe.ac.in>
What does this PR do?
fixing some weird edge-casses for booker embed
Visual Demo (For contributors especially)
A visual demonstration is strongly recommended, for both the original and new change (video / image - any one).
Video Demo (if applicable):
Image Demo (if applicable):
Mandatory Tasks (DO NOT REMOVE)
How should this be tested?