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.57k stars 93 forks source link

clients/dashboard: fix payout step #3724

Closed emilwidlund closed 1 month ago

vercel[bot] commented 1 month ago

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

Name Status Preview Comments Updated (UTC)
polar ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 6, 2024 9:00am
1 Skipped Deployment | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **polar-next-js-example** | ⬜️ Ignored ([Inspect](https://vercel.com/polar-sh/polar-next-js-example/3Qk4SU2TrYU1nTJLfj4A3pxrr5xe)) | [Visit Preview](https://polar-next-js-example-git-aurora-polar-sh.vercel.app) | | Aug 6, 2024 9:00am |
github-actions[bot] commented 1 month ago

📦 Next.js Bundle Analysis for web

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

⚠️ Global Bundle Size Increased

Page Size (compressed)
global 226.56 KB (🟡 +1 B)
Details

The global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

If you want further insight into what is behind the changes, give @next/bundle-analyzer a try!

Thirty-three 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 56.89 KB 283.45 KB 80.98% (+/- <0.01%)
/backoffice/layout 455.88 KB 682.44 KB 194.98% (+/- <0.01%)
/docs/api/[...endpoint]/page 408.41 KB 634.97 KB 181.42% (+/- <0.01%)
/dashboard/[organization]/(topbar)/(home)/page 454.05 KB 680.61 KB 194.46% (+/- <0.01%)
/dashboard/[organization]/(topbar)/layout 455.88 KB 682.44 KB 194.98% (+/- <0.01%)
/dashboard/[organization]/(topbar)/analytics/page 573.09 KB 799.65 KB 228.47% (+/- <0.01%)
/dashboard/[organization]/(topbar)/donations/overview/page 573.28 KB 799.84 KB 228.53% (+/- <0.01%)
/dashboard/[organization]/(topbar)/issues/badge/page 468.37 KB 694.93 KB 198.55% (+/- <0.01%)
/dashboard/[organization]/(topbar)/issues/organizations/page 447.92 KB 674.48 KB 192.71% (+/- <0.01%)
/dashboard/[organization]/(topbar)/members/page 445.26 KB 671.82 KB 191.95% (+/- <0.01%)
/dashboard/[organization]/(topbar)/issues/overview/page 489.98 KB 716.54 KB 204.72% (🟡 +0.01%)
/dashboard/[organization]/(topbar)/posts/analytics/page 569.63 KB 796.19 KB 227.48% (+/- <0.01%)
/dashboard/[organization]/(topbar)/posts/page 556.9 KB 783.46 KB 223.84% (🟡 +0.01%)
/dashboard/[organization]/(topbar)/products/benefits/page 539.2 KB 765.76 KB 218.79% (+/- <0.01%)
/dashboard/[organization]/(topbar)/sales/page 478.65 KB 705.21 KB 201.49% (+/- <0.01%)
/dashboard/[organization]/(topbar)/products/overview/page 447.24 KB 673.8 KB 192.52% (+/- <0.01%)
/dashboard/[organization]/(topbar)/sales/subscriptions/page 491.52 KB 718.08 KB 205.17% (+/- <0.01%)
/dashboard/[organization]/(topbar)/settings/page 460.24 KB 686.79 KB 196.23% (+/- <0.01%)
/dashboard/[organization]/(topbar)/settings/webhooks/endpoints/[id]/page 491.18 KB 717.74 KB 205.07% (+/- <0.01%)
/dashboard/[organization]/(white)/posts/[post]/page 558.91 KB 785.47 KB 224.42% (+/- <0.01%)
/dashboard/[organization]/(white)/layout 426.65 KB 653.21 KB 186.63% (+/- <0.01%)
/dashboard/[organization]/products/[id]/page 527.64 KB 754.2 KB 215.49% (+/- <0.01%)
/dashboard/[organization]/products/layout 426.65 KB 653.21 KB 186.63% (+/- <0.01%)
/dashboard/[organization]/(white)/posts/new/page 556.57 KB 783.13 KB 223.75% (+/- <0.01%)
/dashboard/[organization]/promote/page 462.49 KB 689.05 KB 196.87% (+/- <0.01%)
/dashboard/[organization]/promote/layout 426.65 KB 653.21 KB 186.63% (+/- <0.01%)
/dashboard/[organization]/products/new/page 527.32 KB 753.88 KB 215.39% (🟡 +0.01%)
/docs/(mdx)/layout 353.47 KB 580.03 KB 165.72% (+/- <0.01%)
/docs/api/(mdx)/layout 353.47 KB 580.03 KB 165.72% (+/- <0.01%)
/docs/contribute/layout 353.47 KB 580.03 KB 165.72% (+/- <0.01%)
/docs/support/layout 353.47 KB 580.03 KB 165.72% (+/- <0.01%)
/dashboard/[organization]/(topbar)/finance/layout 426.65 KB 653.21 KB 186.63% (+/- <0.01%)
/dashboard/[organization]/(topbar)/finance/issue-funding/layout 426.65 KB 653.21 KB 186.63% (+/- <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.