Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: routing forms integration for booker atom #18726

Open
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

Ryukemeister
Copy link
Contributor

@Ryukemeister Ryukemeister commented Jan 17, 2025

What does this PR do?

  • Adds URL query parameters and inputs needed for routing forms in the booker atom

loom video - https://app.campsite.com/cal/posts/8wh9mtl0s9ug#comment-tgoolr4bxzz3

Mandatory Tasks (DO NOT REMOVE)

  • I have self-reviewed the code (A decent size PR without self-review might be rejected).
  • (N/A) I have updated the developer docs in /docs if this PR makes changes that would require a documentation change. If N/A, write N/A here and check the checkbox.
  • (N/A) I confirm automated tests are in place that prove my fix is effective or that my feature works.

How should this be tested?

This can be tested in the examples app

@keithwillcode keithwillcode added core area: core, team members only platform Anything related to our platform plan labels Jan 17, 2025
Copy link

vercel bot commented Jan 17, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
cal ⬜️ Ignored (Inspect) Visit Preview Jan 23, 2025 6:14am
calcom-web-canary ⬜️ Ignored (Inspect) Visit Preview Jan 23, 2025 6:14am

@Ryukemeister Ryukemeister changed the title feat: routing forms integration in booker atom feat: routing forms integration for booker atom Jan 17, 2025
@graphite-app graphite-app bot requested a review from a team January 17, 2025 12:55
Copy link

graphite-app bot commented Jan 17, 2025

Graphite Automations

"Add platform team as reviewer" took an action on this PR • (01/17/25)

1 reviewer was added to this PR based on Keith Williams's automation.

@@ -22,6 +22,8 @@ export const useAvailableSlots = ({
rest.isTeamEvent ?? false,
rest.teamId ?? false,
rest.usernameList,
rest.routedTeamMemberIds,
rest.skipContactOwner,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we are missing shouldServeCache here, no?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah yes, will fix this one

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

salesforce related query param is also missing.

Copy link
Contributor

@ThyMinimalDev ThyMinimalDev Jan 17, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see the salesforce parameter in the schema of the trpc endpoint for slots here packages/trpc/server/routers/viewer/slots/types.ts is it used at all ?

Copy link
Contributor Author

@Ryukemeister Ryukemeister Jan 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added some comments to explain why some parameters are left out here

…success-for-platform' into remove-redirect-on-success-for-platform
@dosubot dosubot bot added routing-forms area: routing forms, routing, forms ✨ feature New feature or request labels Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core area: core, team members only ✨ feature New feature or request platform Anything related to our platform plan routing-forms area: routing forms, routing, forms
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants