polarsource / polar

An Open Source Lemon Squeezy alternative with better pricing! Get paid coding on your passion.
https://polar.sh
Apache License 2.0
2.85k stars 117 forks source link

clients/onboard: polish onboarding flow #3704

Closed emilwidlund closed 3 months ago

vercel[bot] commented 3 months ago

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

Name Status Preview Comments Updated (UTC)
polar 🔄 Building (Inspect) Visit Preview 💬 Add feedback Jul 29, 2024 0:02am
polar-next-js-example 🔄 Building (Inspect) Visit Preview 💬 Add feedback Jul 29, 2024 0:02am
github-actions[bot] commented 3 months ago

📦 Next.js Bundle Analysis for web

This analysis was generated by the Next.js Bundle Analysis action. 🤖

Fifty-nine 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)
/layout 57.03 KB 283.59 KB 81.03% (🟢 -0.01%)
/login/page 67.97 KB 294.53 KB 84.15% (+/- <0.01%)
/new/page 11.11 KB 237.67 KB 67.91% (🟢 -0.01%)
/(topbar)/layout 184.25 KB 410.81 KB 117.37% (🟡 +0.01%)
/[organization]/(sidebar)/layout 197.43 KB 424 KB 121.14% (🟢 -0.01%)
/[organization]/(sidebar)/donate/page 197.81 KB 424.37 KB 121.25% (+/- <0.01%)
/[organization]/(sidebar)/issues/page 128.44 KB 355 KB 101.43% (+/- <0.01%)
/[organization]/(sidebar)/page 229.29 KB 455.86 KB 130.25% (🟢 -0.01%)
/[organization]/(sidebar)/posts/[postSlug]/page 197.42 KB 423.99 KB 121.14% (+/- <0.01%)
/[organization]/(sidebar)/subscriptions/page 157.6 KB 384.17 KB 109.76% (+/- <0.01%)
/[organization]/[repo]/issues/[number]/status/page 181.2 KB 407.76 KB 116.50% (+/- <0.01%)
/[organization]/[repo]/issues/[number]/(create)/page 154.55 KB 381.11 KB 108.89% (🟡 +0.02%)
/[organization]/[repo]/page 221.19 KB 447.75 KB 127.93% (🟢 -0.01%)
/backoffice/layout 455.61 KB 682.17 KB 194.91% (+/- <0.01%)
/backoffice/rebadge/page 39.5 KB 266.06 KB 76.02% (🟢 -0.01%)
/maintainer/(onboarding)/create/page 101.62 KB 328.18 KB 93.77% (🟡 +0.08%)
/docs/api/[...endpoint]/page 408.55 KB 635.12 KB 181.46% (🟡 +0.07%)
/(topbar)/(backer)/purchases/products/[id]/page 209.34 KB 435.9 KB 124.54% (+/- <0.01%)
/(topbar)/(backer)/purchases/subscriptions/[id]/page 211.25 KB 437.81 KB 125.09% (🟢 -0.01%)
/(topbar)/(backer)/purchases/subscriptions/page 97.59 KB 324.16 KB 92.62% (🟢 -0.01%)
/(topbar)/(backer)/settings/page 213.48 KB 440.04 KB 125.73% (🟢 -0.01%)
/maintainer/[organization]/(topbar)/layout 455.6 KB 682.17 KB 194.91% (+/- <0.01%)
/maintainer/[organization]/(topbar)/donations/overview/page 572.73 KB 799.29 KB 228.37% (+/- <0.01%)
/maintainer/[organization]/(topbar)/funding/page 481.53 KB 708.09 KB 202.31% (🟡 +0.01%)
/maintainer/[organization]/(topbar)/initialize/page 145.46 KB 372.03 KB 106.29% (🟡 +0.01%)
/maintainer/[organization]/(topbar)/issues/badge/page 467.97 KB 694.54 KB 198.44% (+/- <0.01%)
/maintainer/[organization]/(topbar)/issues/organizations/page 447.42 KB 673.99 KB 192.57% (+/- <0.01%)
/maintainer/[organization]/(topbar)/issues/overview/page 488.68 KB 715.24 KB 204.35% (🟡 +0.01%)
/maintainer/[organization]/(topbar)/overview/page 472.17 KB 698.74 KB 199.64% (+/- <0.01%)
/maintainer/[organization]/(topbar)/posts/analytics/page 565.98 KB 792.54 KB 226.44% (+/- <0.01%)
/maintainer/[organization]/(topbar)/members/page 441.44 KB 668 KB 190.86% (+/- <0.01%)
/maintainer/[organization]/(topbar)/posts/page 556.2 KB 782.77 KB 223.65% (+/- <0.01%)
/maintainer/[organization]/(topbar)/products/benefits/page 539.07 KB 765.63 KB 218.75% (🟡 +0.01%)
/maintainer/[organization]/(topbar)/sales/orders/page 478.04 KB 704.61 KB 201.32% (+/- <0.01%)
/maintainer/[organization]/(topbar)/products/overview/page 475.07 KB 701.63 KB 200.47% (+/- <0.01%)
/maintainer/[organization]/(topbar)/sales/overview/page 569.41 KB 795.98 KB 227.42% (+/- <0.01%)
/maintainer/[organization]/(topbar)/sales/subscriptions/page 490.66 KB 717.22 KB 204.92% (🟢 -0.01%)
/maintainer/[organization]/(topbar)/settings/page 459.35 KB 685.92 KB 195.98% (🟢 -0.01%)
/maintainer/[organization]/(topbar)/settings/webhooks/endpoints/[id]/page 487.38 KB 713.94 KB 203.98% (+/- <0.01%)
/maintainer/[organization]/(white)/posts/[post]/page 556.57 KB 783.14 KB 223.75% (🟡 +0.01%)
/maintainer/[organization]/(white)/layout 422.83 KB 649.39 KB 185.54% (+/- <0.01%)
/maintainer/[organization]/(white)/posts/new/page 554.23 KB 780.8 KB 223.09% (+/- <0.01%)
/maintainer/[organization]/products/[id]/page 527.08 KB 753.65 KB 215.33% (+/- <0.01%)
/maintainer/[organization]/products/layout 422.83 KB 649.39 KB 185.54% (+/- <0.01%)
/maintainer/[organization]/products/new/page 526.76 KB 753.33 KB 215.24% (+/- <0.01%)
/maintainer/[organization]/promote/page 462.11 KB 688.68 KB 196.77% (+/- <0.01%)
/maintainer/[organization]/promote/layout 422.83 KB 649.39 KB 185.54% (+/- <0.01%)
/docs/(mdx)/layout 353.61 KB 580.17 KB 165.76% (+/- <0.01%)
/docs/api/(mdx)/authentication/page 180.78 KB 407.34 KB 116.38% (+/- <0.01%)
/docs/api/(mdx)/layout 353.6 KB 580.17 KB 165.76% (+/- <0.01%)
/docs/contribute/layout 353.61 KB 580.17 KB 165.76% (+/- <0.01%)
/docs/support/layout 353.6 KB 580.17 KB 165.76% (+/- <0.01%)
/(topbar)/(backer)/(sidebar)/layout 91.63 KB 318.19 KB 90.91% (+/- <0.01%)
/(topbar)/(backer)/(sidebar)/funding/page 202.01 KB 428.57 KB 122.45% (+/- <0.01%)
/(topbar)/(backer)/finance/account/page 171.82 KB 398.38 KB 113.82% (🟢 -0.01%)
/(topbar)/(backer)/finance/layout 154.21 KB 380.78 KB 108.79% (🟡 +0.01%)
/maintainer/[organization]/(topbar)/finance/account/page 173.28 KB 399.85 KB 114.24% (🟢 -0.01%)
/maintainer/[organization]/(topbar)/finance/layout 422.82 KB 649.39 KB 185.54% (+/- <0.01%)
/maintainer/[organization]/(topbar)/finance/issue-funding/layout 422.82 KB 649.39 KB 185.54% (+/- <0.01%)
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 "+/- <0.01%" it means that there was a change in bundle size, but it is a trivial enough amount that it can be ignored.