fix: routing-forms protected with LicenseRequired#9521
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
@Meetcpatel is attempting to deploy a commit to the cal Team on Vercel. A member of the Team first needs to authorize it. |
📦 Next.js Bundle Analysis for @calcom/webThis analysis was generated by the Next.js Bundle Analysis action. 🤖 This PR introduced no changes to the JavaScript bundle! 🙌 |
|
hey @Meetcpatel can you look into the merge conflict? 🙏 @hariombalhara will then review and merge! |
Done! Fixed conflict. |
| if (!form) { | ||
| return null; | ||
| } | ||
| <LicenseRequired> |
There was a problem hiding this comment.
SingleForm is used by form-edit, reporting, route-builder. So, we can add LicenseRequired there itself and we won't need to duplicate this everywhere.
There was a problem hiding this comment.
reverted LicenseRequired from routing-forms/pages/forms
There was a problem hiding this comment.
There was a problem hiding this comment.
I see SingleForm used only with form-edit, reporting, and route-builder so wrapping SingleForm in LicenseRequired works for all three routes.
and /forms should be wrapped in LicenseRequired right?
hariombalhara
left a comment
There was a problem hiding this comment.
Thankyou @Meetcpatel. I left some comments.
|
Thank you for following the naming conventions! 🙏 |
|
This PR is being marked as stale due to inactivity. |
hariombalhara
left a comment
There was a problem hiding this comment.
LGTM now !! Thanks @Meetcpatel 🙏


What does this PR do?
This PR protect
/apps/routing-forms/forms/apps/routing-forms/form-edit/apps/routing-forms/route-builder/apps/routing-forms/reportingwith LicenseRequired
Fixes #9480
Loom Video: https://www.loom.com/share/62643aa0db6049c892db0d92c0e6ef52?sid=2b8ac4c9-8bf3-4dd9-bfa0-70a370ed631b
Type of change
How should this be tested?
/apps/routing-forms/forms,/apps/routing-forms/form-edit,/apps/routing-forms/route-builder,/apps/routing-forms/reportingMandatory Tasks
Checklist
(all completed)