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

chore: migrate orgDomain instant meeting route to App Router #19067

Merged
merged 5 commits into from
Feb 7, 2025

Conversation

hbjORbj
Copy link
Contributor

@hbjORbj hbjORbj commented Feb 3, 2025

What does this PR do?

  • Migrates orgDomain instant-meeting route to App Router at app/org/[orgSlug]/instant-meeting/team/[slug]/[type]/page.tsx

Tested

Screenshot 2025-02-04 at 1 30 57 AM

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.
  • I confirm automated tests are in place that prove my fix is effective or that my feature works.

How should this be tested?

  • Visit and test /org/[orgSlug]/instant-meeting/team/[slug]/[type]

Copy link

vercel bot commented Feb 3, 2025

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

Name Status Preview Comments Updated (UTC)
cal-com-ui-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 4, 2025 6:35am
2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
cal ⬜️ Ignored (Inspect) Visit Preview Feb 4, 2025 6:35am
calcom-web-canary ⬜️ Ignored (Inspect) Visit Preview Feb 4, 2025 6:35am

@keithwillcode keithwillcode added consumer core area: core, team members only labels Feb 3, 2025
@hbjORbj hbjORbj changed the title chore: migrate org domain instant meeting route chore: migrate orgDomain instant meeting route Feb 3, 2025
@dosubot dosubot bot added the organizations area: organizations, orgs label Feb 3, 2025
return (
<main className={getBookerWrapperClasses({ isEmbed: !!isEmbed })}>
<BookerSeo
Copy link
Contributor Author

Choose a reason for hiding this comment

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

replaced by generateMetadata in App router route

@@ -55,6 +55,7 @@ export const getServerSideProps = async (context: GetServerSidePropsContext) =>

return {
props: {
eventData,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

By making this passed from getServerSideProps, we can use this to generate metadata without another extra query fetching in generateMetadata

Copy link
Contributor

github-actions bot commented Feb 3, 2025

E2E results are ready!

@hbjORbj hbjORbj changed the title chore: migrate orgDomain instant meeting route chore: migrate orgDomain instant meeting route to App Router Feb 3, 2025
@hbjORbj hbjORbj added the high-risk Requires approval by Foundation team label Feb 4, 2025
Copy link
Contributor

@eunjae-lee eunjae-lee left a comment

Choose a reason for hiding this comment

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

working well!

@emrysal emrysal merged commit 77a00b3 into main Feb 7, 2025
42 checks passed
@emrysal emrysal deleted the chore/migrate-org-domain-instant-meeting-route branch February 7, 2025 21:51
MuhammadAimanSulaiman pushed a commit to hit-pay/cal.com that referenced this pull request Feb 25, 2025
…19067)

* Remove BookerSeo from instant-meeting-view

* remove route from pages router

* make eventData passed from getServerSideProps

* refactor route in app router and move it outside of /future
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
consumer core area: core, team members only high-risk Requires approval by Foundation team organizations area: organizations, orgs ready-for-e2e
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants