chore: [app-router-migration 31] migrate the "/auth/setup" page
What does this PR do?
- This PR migrates the
/auth/setuppage group to the app directory (which runs under the App Router). - The migrated page exists under
/future/auth/setupand is accessible at all times.
Requirement/Documentation
- If there is a requirement document, please, share it here.
- If there is ab UI/UX design document, please, share it here.
Type of change
- [x] Chore (refactoring code, technical debt, workflow improvements)
- [x] New feature (non-breaking change which adds functionality)
How should this be tested?
There should be no changes between the old setup and new setup routes in terms of content and no downgrading in terms of performance.
Mandatory Tasks
- [x] Make sure you have self-reviewed the code. A decent size PR without self-review might be rejected.
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.
:white_check_mark: DmytroHryshyn
:x: r4zendev
You have signed the CLA already but the status is still pending? Let us recheck it.
@r4zendev is attempting to deploy a commit to the cal Team on Vercel.
A member of the Team first needs to authorize it.
Thank you for following the naming conventions! 🙏 Feel free to join our discord and post your PR link.
📦 Next.js Bundle Analysis for @calcom/web
This analysis was generated by the Next.js Bundle Analysis action. 🤖
New Page Added
The following page was added to the bundle from the code in this PR:
| Page | Size (compressed) | First Load | % of Budget (350 KB) |
|---|---|---|---|
/settings/organizations/[id]/onboard-admins |
153.98 KB |
319.63 KB | 91.32% |
Ninety-two Pages Changed Size
The following pages changed size from the code in this PR compared to its base branch:
| Page | Size (compressed) | First Load | % of Budget (350 KB) |
|---|---|---|---|
/[user]/[type] |
260.39 KB |
426.04 KB | 121.73% (🟢 -0.88%) |
/[user]/[type]/embed |
260.42 KB |
426.08 KB | 121.74% (🟢 -0.88%) |
/apps |
269.34 KB |
435 KB | 124.28% (🟢 -0.38%) |
/apps/[slug] |
287.06 KB |
452.71 KB | 129.35% (🟢 -0.38%) |
/apps/[slug]/[...pages] |
546.56 KB |
712.21 KB | 203.49% (🟢 -0.43%) |
/apps/categories |
247.3 KB |
412.95 KB | 117.99% (🟢 -0.38%) |
/apps/categories/[category] |
251.57 KB |
417.22 KB | 119.21% (🟢 -0.38%) |
/apps/installed/[category] |
270.66 KB |
436.31 KB | 124.66% (🟢 -0.38%) |
/availability |
423.8 KB |
589.45 KB | 168.42% (🟢 -0.39%) |
/availability/[schedule] |
351.03 KB |
516.68 KB | 147.62% (🟢 -0.38%) |
/availability/troubleshoot |
272.79 KB |
438.44 KB | 125.27% (🔴 +28.98%) |
/booking/[uid] |
189.56 KB |
355.21 KB | 101.49% (🟢 -0.36%) |
/booking/[uid]/embed |
189.63 KB |
355.28 KB | 101.51% (🟢 -0.36%) |
/bookings/[status] |
315.02 KB |
480.67 KB | 137.34% (🟢 -0.40%) |
/d/[link]/[slug] |
260.24 KB |
425.89 KB | 121.68% (🟢 -0.87%) |
/enterprise |
247.77 KB |
413.42 KB | 118.12% (🟢 -0.38%) |
/event-types |
545.15 KB |
710.8 KB | 203.09% (🟢 -0.39%) |
/event-types/[type] |
420.81 KB |
586.46 KB | 167.56% (🟢 -0.39%) |
/getting-started/[[...step]] |
402.37 KB |
568.02 KB | 162.29% (🟢 -0.35%) |
/insights |
473.55 KB |
639.2 KB | 182.63% (🟢 -0.39%) |
/more |
246.93 KB |
412.58 KB | 117.88% (🟢 -0.38%) |
/org/[orgSlug] |
228.41 KB |
394.06 KB | 112.59% (🟢 -0.36%) |
/org/[orgSlug]/[user] |
234.9 KB |
400.55 KB | 114.44% (🟢 -0.36%) |
/org/[orgSlug]/[user]/[type] |
260.63 KB |
426.28 KB | 121.80% (🟢 -0.88%) |
/org/[orgSlug]/[user]/[type]/embed |
260.66 KB |
426.31 KB | 121.80% (🟢 -0.87%) |
/org/[orgSlug]/[user]/embed |
234.93 KB |
400.58 KB | 114.45% (🟢 -0.36%) |
/org/[orgSlug]/embed |
228.42 KB |
394.08 KB | 112.59% (🟢 -0.36%) |
/org/[orgSlug]/instant-meeting/team/[slug]/[type] |
260.25 KB |
425.9 KB | 121.69% (🟢 -0.88%) |
/org/[orgSlug]/team/[slug] |
228.42 KB |
394.07 KB | 112.59% (🟢 -0.36%) |
/org/[orgSlug]/team/[slug]/[type] |
260.28 KB |
425.93 KB | 121.70% (🟢 -0.88%) |
/payment/[uid] |
116.59 KB |
282.24 KB | 80.64% (🟢 -0.36%) |
/settings/admin |
253.61 KB |
419.26 KB | 119.79% (🟢 -0.38%) |
/settings/admin/apps |
266.85 KB |
432.5 KB | 123.57% (🟢 -0.39%) |
/settings/admin/apps/[category] |
266.83 KB |
432.48 KB | 123.57% (🟢 -0.39%) |
/settings/admin/flags |
257.37 KB |
423.02 KB | 120.86% (🟢 -0.38%) |
/settings/admin/impersonation |
253.91 KB |
419.56 KB | 119.87% (🟢 -0.38%) |
/settings/admin/oAuth |
265.62 KB |
431.27 KB | 123.22% (🟢 -0.38%) |
/settings/admin/orgMigrations/_OrgMigrationLayout |
246.39 KB |
412.04 KB | 117.73% (🟢 -0.38%) |
/settings/admin/orgMigrations/moveTeamToOrg |
263.12 KB |
428.77 KB | 122.51% (🟢 -0.39%) |
/settings/admin/orgMigrations/moveUserToOrg |
281.58 KB |
447.23 KB | 127.78% (🟢 -0.39%) |
/settings/admin/orgMigrations/removeTeamFromOrg |
262.88 KB |
428.53 KB | 122.44% (🟢 -0.39%) |
/settings/admin/orgMigrations/removeUserFromOrg |
262.89 KB |
428.54 KB | 122.44% (🟢 -0.39%) |
/settings/admin/organizations |
255.63 KB |
421.28 KB | 120.37% (🟢 -0.38%) |
/settings/admin/organizations/[id]/edit |
254.13 KB |
419.78 KB | 119.94% (🟢 -0.38%) |
/settings/admin/users |
256.26 KB |
421.91 KB | 120.55% (🟢 -0.40%) |
/settings/admin/users/[id]/edit |
355.76 KB |
521.41 KB | 148.97% (🟢 -0.38%) |
/settings/admin/users/add |
355.5 KB |
521.15 KB | 148.90% (🟢 -0.39%) |
/settings/billing |
253.82 KB |
419.47 KB | 119.85% (🟢 -0.38%) |
/settings/developer/api-keys |
258.23 KB |
423.88 KB | 121.11% (🟢 -0.38%) |
/settings/developer/webhooks |
258.15 KB |
423.8 KB | 121.08% (🟢 -0.38%) |
/settings/developer/webhooks/[id] |
259.18 KB |
424.83 KB | 121.38% (🟢 -0.39%) |
/settings/developer/webhooks/new |
259.21 KB |
424.86 KB | 121.39% (🟢 -0.39%) |
/settings/my-account/appearance |
277.3 KB |
442.95 KB | 126.56% (🟢 -0.39%) |
/settings/my-account/calendars |
264.59 KB |
430.24 KB | 122.93% (🟢 -0.38%) |
/settings/my-account/conferencing |
265.44 KB |
431.09 KB | 123.17% (🟢 -0.38%) |
/settings/my-account/general |
341.93 KB |
507.58 KB | 145.02% (🟢 -0.38%) |
/settings/my-account/out-of-office |
258.03 KB |
423.68 KB | 121.05% (🟢 -0.38%) |
/settings/my-account/profile |
390.91 KB |
556.56 KB | 159.02% (🟢 -0.38%) |
/settings/organizations/[id]/about |
153.91 KB |
319.56 KB | 91.30% (🟡 +0.47%) |
/settings/organizations/[id]/add-teams |
153.95 KB |
319.6 KB | 91.31% (🟡 +0.47%) |
/settings/organizations/[id]/set-password |
153.89 KB |
319.54 KB | 91.30% (🟡 +0.47%) |
/settings/organizations/appearance |
277.2 KB |
442.85 KB | 126.53% (🟢 -0.38%) |
/settings/organizations/billing |
253.85 KB |
419.5 KB | 119.86% (🟢 -0.38%) |
/settings/organizations/general |
334.47 KB |
500.12 KB | 142.89% (🟢 -0.38%) |
/settings/organizations/members |
421.05 KB |
586.7 KB | 167.63% (🟢 -0.38%) |
/settings/organizations/new |
153.91 KB |
319.56 KB | 91.30% (🟡 +0.47%) |
/settings/organizations/profile |
387.91 KB |
553.56 KB | 158.16% (🟢 -0.38%) |
/settings/organizations/teams/other |
254.68 KB |
420.33 KB | 120.09% (🟢 -0.37%) |
/settings/organizations/teams/other/[id]/appearance |
266.28 KB |
431.93 KB | 123.41% (🟢 -0.38%) |
/settings/organizations/teams/other/[id]/members |
260.93 KB |
426.58 KB | 121.88% (🟢 -0.38%) |
/settings/organizations/teams/other/[id]/profile |
459.52 KB |
625.17 KB | 178.62% (🟢 -0.38%) |
/settings/security/impersonation |
258.91 KB |
424.56 KB | 121.30% (🟢 -0.38%) |
/settings/security/password |
267.84 KB |
433.49 KB | 123.86% (🟢 -0.39%) |
/settings/security/sso |
263.9 KB |
429.55 KB | 122.73% (🟢 -0.38%) |
/settings/security/two-factor-auth |
262.73 KB |
428.38 KB | 122.40% (🟢 -0.38%) |
/settings/teams |
253.35 KB |
419 KB | 119.71% (🟢 -0.38%) |
/settings/teams/[id]/appearance |
266.27 KB |
431.92 KB | 123.40% (🟢 -0.37%) |
/settings/teams/[id]/billing |
253.85 KB |
419.5 KB | 119.86% (🟢 -0.38%) |
/settings/teams/[id]/members |
379.8 KB |
545.45 KB | 155.84% (🟢 -0.38%) |
/settings/teams/[id]/profile |
460.34 KB |
625.99 KB | 178.85% (🟢 -0.38%) |
/settings/teams/[id]/sso |
264.42 KB |
430.07 KB | 122.88% (🟢 -0.38%) |
/signup |
146.54 KB |
312.19 KB | 89.20% (🟢 -0.38%) |
/team/[slug] |
228.37 KB |
394.02 KB | 112.58% (🟢 -0.36%) |
/team/[slug]/[type] |
260.25 KB |
425.9 KB | 121.69% (🟢 -0.88%) |
/team/[slug]/[type]/embed |
260.28 KB |
425.93 KB | 121.69% (🟢 -0.87%) |
/team/[slug]/embed |
228.41 KB |
394.06 KB | 112.59% (🟢 -0.36%) |
/teams |
247.2 KB |
412.85 KB | 117.96% (🟢 -0.38%) |
/video/[uid] |
233.31 KB |
398.96 KB | 113.99% (🟢 -0.37%) |
/video/meeting-ended/[uid] |
93.87 KB |
259.52 KB | 74.15% (🟢 -0.36%) |
/video/meeting-not-started/[uid] |
93.51 KB |
259.17 KB | 74.05% (🟢 -0.36%) |
/workflows |
285.62 KB |
451.27 KB | 128.94% (🟢 -0.39%) |
/workflows/[workflow] |
399.47 KB |
565.12 KB | 161.46% (🟢 -0.38%) |
Details
Only the gzipped size is provided here based on an expert tip.
First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If next/link is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.
Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis
The "Budget %" column shows what percentage of your performance budget the First Load total takes up. For example, if your budget was 100kb, and a given page's first load size was 10kb, it would be 10% of your budget. You can also see how much this has increased or decreased compared to the base branch of your PR. If this percentage has increased by 20% or more, there will be a red status indicator applied, indicating that special attention should be given to this. If you see "+/-