Skip to content

perf: Use one PageWrapper instance for every non-settings / non-bookings page in App Router#18747

Merged
hbjORbj merged 30 commits intomainfrom
chore/removing-WithLayout-from-more-multiple-pages
Jan 23, 2025
Merged

perf: Use one PageWrapper instance for every non-settings / non-bookings page in App Router#18747
hbjORbj merged 30 commits intomainfrom
chore/removing-WithLayout-from-more-multiple-pages

Conversation

@hbjORbj
Copy link
Copy Markdown
Contributor

@hbjORbj hbjORbj commented Jan 18, 2025

What does this PR do?

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?

  • Please use the latest Vercel preview and test please 🙏.

@graphite-app graphite-app Bot requested review from a team January 18, 2025 23:28
@vercel
Copy link
Copy Markdown

vercel Bot commented Jan 18, 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 2:25pm
calcom-web-canary ⬜️ Ignored (Inspect) Visit Preview Jan 23, 2025 2:25pm

@hbjORbj hbjORbj marked this pull request as draft January 18, 2025 23:28
@dosubot dosubot Bot added the foundation label Jan 18, 2025
@keithwillcode keithwillcode added consumer core area: core, team members only labels Jan 18, 2025
@hbjORbj hbjORbj changed the base branch from main to chore/removing-WithLayout-from-bookings-status-page January 18, 2025 23:28
@hbjORbj hbjORbj changed the base branch from chore/removing-WithLayout-from-bookings-status-page to main January 18, 2025 23:28
@hbjORbj hbjORbj changed the title chore: removing withlayout from more multiple pages chore: Remove WithLayout from availability, event-types, and insights pages Jan 18, 2025
@graphite-app
Copy link
Copy Markdown

graphite-app Bot commented Jan 18, 2025

Graphite Automations

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

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

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

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

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jan 19, 2025

E2E results are ready!

@hbjORbj hbjORbj changed the title chore: Remove WithLayout from availability, event-types, and insights pages chore: Use one PageWrapper instance for every non-settings / non-bookings page in App Router Jan 19, 2025
@hbjORbj hbjORbj changed the base branch from main to chore/removing-WithLayout-from-bookings-status-page January 19, 2025 19:34
@hbjORbj hbjORbj changed the title chore: Use one PageWrapper instance for every non-settings / non-bookings page in App Router perf: Use one PageWrapper instance for every non-settings / non-bookings page in App Router Jan 19, 2025
@hbjORbj hbjORbj added the performance area: performance, page load, slow, slow endpoints, loading screen, unresponsive label Jan 19, 2025
Base automatically changed from chore/removing-WithLayout-from-bookings-status-page to main January 22, 2025 17:53
Copy link
Copy Markdown
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.

The change looks beautiful! I've tested a few pages, and they worked well.

@hbjORbj hbjORbj merged commit 8e191fe into main Jan 23, 2025
@hbjORbj hbjORbj deleted the chore/removing-WithLayout-from-more-multiple-pages branch January 23, 2025 15:01
keithwillcode pushed a commit that referenced this pull request Jan 27, 2025
…ngs page in App Router (#18747)

* add a layoutfile to use-page-wrapper route group

* refactor and move bookings status page to route group

* improve logic in pagesAndRewritePaths

* fix

* add use client directive

* move /403 and /500

* move /auth/error

* move /connect-and-join

* move /enterprise

* move /maintenance

* move /more

* move /upgrade

* chore: remove WithLayout from 8 low-risk single pages (#18745)

* move /403 and /500

* move /auth/error

* move /connect-and-join

* move /enterprise

* move /maintenance

* move /more

* move /upgrade

* move /availability pages

* move /event-types pages

* move /insights pages

* move /apps to use-page-wrapper group

* move /getting-started to use-page-wrapper group

* move /signup to use-page-wrapper group

* move /workflows to use-page-wrapper group

* move /video pages to use-page-wrapper group

* pass dehydratedState in layout

* pass dehydratedState in layout

* fix test

* fix @test

* fix
MuhammadAimanSulaiman pushed a commit to hit-pay/cal.com that referenced this pull request Feb 25, 2025
…ngs page in App Router (calcom#18747)

* add a layoutfile to use-page-wrapper route group

* refactor and move bookings status page to route group

* improve logic in pagesAndRewritePaths

* fix

* add use client directive

* move /403 and /500

* move /auth/error

* move /connect-and-join

* move /enterprise

* move /maintenance

* move /more

* move /upgrade

* chore: remove WithLayout from 8 low-risk single pages (calcom#18745)

* move /403 and /500

* move /auth/error

* move /connect-and-join

* move /enterprise

* move /maintenance

* move /more

* move /upgrade

* move /availability pages

* move /event-types pages

* move /insights pages

* move /apps to use-page-wrapper group

* move /getting-started to use-page-wrapper group

* move /signup to use-page-wrapper group

* move /workflows to use-page-wrapper group

* move /video pages to use-page-wrapper group

* pass dehydratedState in layout

* pass dehydratedState in layout

* fix test

* fix @test

* fix
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 foundation performance area: performance, page load, slow, slow endpoints, loading screen, unresponsive ready-for-e2e

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants