-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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
fix: change order of eventtypes and routingforms #17615
base: main
Are you sure you want to change the base?
fix: change order of eventtypes and routingforms #17615
Conversation
@vijayraghav-io is attempting to deploy a commit to the cal Team on Vercel. A member of the Team first needs to authorize it. |
Graphite Automations"Add consumer team as reviewer" took an action on this PR • (11/13/24)1 reviewer was added to this PR based on Keith Williams's automation. "Add community label" took an action on this PR • (11/13/24)1 label was added to this PR based on Keith Williams's automation. "Add ready-for-e2e label" took an action on this PR • (11/13/24)1 label was added to this PR based on Keith Williams's automation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!!
@PeerRich , updated for eventTypes, routingForms, workflows. cal.com/packages/lib/bookings/getAllUserBookings.ts Lines 110 to 114 in 1aac70f
As of now, I couldn't find anything more to be included. |
E2E results are ready! |
@Praashh , all tests are passing. you can approve again |
let me give it a final touch. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!! thank you so much @vijayraghav-io
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vijayraghav-io @Praashh Just double-checking we are sure there aren't pieces of code that depend on the sort order for some reason?
(Marking requested changes just to block merging first)
Hi @keithwillcode , double checked again that - the sole purpose of these updated (sort order) functions is to ultimately render the lists <li in UI through trpc handlers/endpoints. Verified that these functions have no references or are not called anywhere else. |
Great. Thanks, @vijayraghav-io |
Thank you! @keithwillcode 🙏 |
updated due to changes after #17689 was merged |
Added a new test - to ensure new eventType added will be first in the list |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We also need a test case for the routing form.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great Work @vijayraghav-io sir, LGTM!!!
What does this PR do?
/claim #17614
Mandatory Tasks (DO NOT REMOVE)