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

Refactor /maintainer to /dashboard #3714

Closed emilwidlund closed 1 month ago

vercel[bot] commented 1 month ago

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

2 Skipped Deployments | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **polar** | ⬜️ Ignored ([Inspect](https://vercel.com/polar-sh/polar/Fh9G5iFgfDzJDWDUhjWBzuyFWdt7)) | | | Aug 2, 2024 2:39pm | | **polar-next-js-example** | ⬜️ Ignored ([Inspect](https://vercel.com/polar-sh/polar-next-js-example/2GpChoz2Ksqq2eB29t9UcbA8JjBa)) | | | Aug 2, 2024 2:39pm |
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 Decreased

Page Size (compressed)
global 226.56 KB (-4 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!

New Pages Added

The following pages were added to the bundle from the code in this PR:

Page Size (compressed) First Load % of Budget (350 KB)
/dashboard/page 10.46 KB 237.02 KB 67.72%
/dashboard/(onboarding)/[organization]/onboarding/page 123.62 KB 350.18 KB 100.05%
/dashboard/(onboarding)/layout 176 B 226.73 KB 64.78%
/dashboard/(onboarding)/create/page 101.61 KB 328.17 KB 93.76%
/dashboard/[organization]/(topbar)/(home)/page 475.97 KB 702.53 KB 200.72%
/dashboard/[organization]/(topbar)/layout 455.84 KB 682.4 KB 194.97%
/dashboard/[organization]/layout 10.5 KB 237.06 KB 67.73%
/dashboard/[organization]/(topbar)/donations/donors/page 176 B 226.73 KB 64.78%
/dashboard/[organization]/(topbar)/analytics/page 573.47 KB 800.03 KB 228.58%
/dashboard/[organization]/(topbar)/donations/overview/page 574.03 KB 800.59 KB 228.74%
/dashboard/[organization]/(topbar)/donations/page 176 B 226.73 KB 64.78%
/dashboard/[organization]/(topbar)/initialize/page 145.28 KB 371.84 KB 106.24%
/dashboard/[organization]/(topbar)/issues/badge/page 468.38 KB 694.94 KB 198.56%
/dashboard/[organization]/(topbar)/issues/organizations/page 447.82 KB 674.38 KB 192.68%
/dashboard/[organization]/(topbar)/issues/overview/page 489.38 KB 715.94 KB 204.56%
/dashboard/[organization]/(topbar)/posts/analytics/page 569.95 KB 796.51 KB 227.57%
/dashboard/[organization]/(topbar)/posts/page 557.35 KB 783.91 KB 223.97%
/dashboard/[organization]/(topbar)/members/page 445.45 KB 672.01 KB 192.00%
/dashboard/[organization]/(topbar)/products/benefits/page 539.22 KB 765.78 KB 218.79%
/dashboard/[organization]/(topbar)/products/overview/page 447.34 KB 673.91 KB 192.54%
/dashboard/[organization]/(topbar)/sales/page 478.72 KB 705.28 KB 201.51%
/dashboard/[organization]/(topbar)/sales/subscriptions/page 491.56 KB 718.12 KB 205.18%
/dashboard/[organization]/(topbar)/settings/webhooks/endpoints/[id]/page 491.27 KB 717.83 KB 205.09%
/dashboard/[organization]/(topbar)/settings/page 460.69 KB 687.25 KB 196.36%
/dashboard/[organization]/(white)/posts/[post]/page 558.47 KB 785.03 KB 224.29%
/dashboard/[organization]/(white)/layout 426.84 KB 653.4 KB 186.69%
/dashboard/[organization]/products/[id]/page 527.66 KB 754.22 KB 215.49%
/dashboard/[organization]/products/layout 426.84 KB 653.4 KB 186.69%
/dashboard/[organization]/(white)/posts/new/page 556.13 KB 782.69 KB 223.63%
/dashboard/[organization]/products/new/page 527.34 KB 753.9 KB 215.40%
/dashboard/[organization]/promote/page 462.3 KB 688.86 KB 196.82%
/dashboard/[organization]/promote/layout 426.84 KB 653.4 KB 186.69%
/dashboard/[organization]/(topbar)/finance/account/page 173.31 KB 399.87 KB 114.25%
/dashboard/[organization]/(topbar)/finance/layout 426.84 KB 653.4 KB 186.69%
/dashboard/[organization]/(topbar)/finance/incoming/page 188.09 KB 414.65 KB 118.47%
/dashboard/[organization]/(topbar)/finance/outgoing/page 140.04 KB 366.6 KB 104.74%
/dashboard/[organization]/(topbar)/finance/issue-funding/contributors/page 72.33 KB 298.89 KB 85.40%
/dashboard/[organization]/(topbar)/finance/issue-funding/layout 426.84 KB 653.4 KB 186.69%
/dashboard/[organization]/(topbar)/finance/issue-funding/rewarded/page 72.32 KB 298.88 KB 85.39%
/dashboard/[organization]/(topbar)/finance/issue-funding/page 73.05 KB 299.61 KB 85.60%

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)
/_not-found/page 176 B 226.73 KB 64.78% (+/- <0.01%)
/maintainer/page 10.46 KB 237.02 KB 67.72% (+/- <0.01%)
/login/magic-link/request/page 176 B 226.73 KB 64.78% (+/- <0.01%)
/signup/maintainer/page 37.05 KB 263.61 KB 75.32% (+/- <0.01%)
/(installation)/github/installation/page 72.31 KB 298.87 KB 85.39% (+/- <0.01%)
/(installation)/github/layout 176 B 226.73 KB 64.78% (+/- <0.01%)
/(topbar)/layout 183.33 KB 409.89 KB 117.11% (+/- <0.01%)
/[organization]/(sidebar)/donate/page 198.72 KB 425.28 KB 121.51% (+/- <0.01%)
/[organization]/(sidebar)/layout 196.58 KB 423.14 KB 120.90% (+/- <0.01%)
/[organization]/(sidebar)/page 230.76 KB 457.32 KB 130.66% (+/- <0.01%)
/[organization]/[repo]/issues/[number]/(create)/page 155.25 KB 381.81 KB 109.09% (+/- <0.01%)
/[organization]/[repo]/layout 106.61 KB 333.17 KB 95.19% (+/- <0.01%)
/[organization]/subscribe/layout 10.46 KB 237.02 KB 67.72% (+/- <0.01%)
/backoffice/layout 455.84 KB 682.4 KB 194.97% (+/- <0.01%)
/docs/api/[...endpoint]/page 408.55 KB 635.11 KB 181.46% (+/- <0.01%)
/docs/layout 104.13 KB 330.69 KB 94.48% (+/- <0.01%)
/(landing)/(features)/benefits/page 139.12 KB 365.68 KB 104.48% (+/- <0.01%)
/(landing)/(features)/donations/page 139.12 KB 365.68 KB 104.48% (+/- <0.01%)
/(landing)/(features)/newsletters/page 154.7 KB 381.26 KB 108.93% (+/- <0.01%)
/(landing)/(features)/issue-funding/page 139.12 KB 365.68 KB 104.48% (+/- <0.01%)
/(landing)/(features)/products/page 139.12 KB 365.68 KB 104.48% (+/- <0.01%)
/(landing)/page 138.99 KB 365.55 KB 104.44% (+/- <0.01%)
/(topbar)/(backer)/purchases/page 176 B 226.73 KB 64.78% (+/- <0.01%)
/docs/(mdx)/layout 353.6 KB 580.16 KB 165.76% (+/- <0.01%)
/docs/(mdx)/finance/payouts/page 30.72 KB 257.28 KB 73.51% (+/- <0.01%)
/docs/api/(mdx)/layout 353.59 KB 580.16 KB 165.76% (+/- <0.01%)
/docs/contribute/layout 353.6 KB 580.16 KB 165.76% (+/- <0.01%)
/docs/support/layout 353.6 KB 580.16 KB 165.76% (+/- <0.01%)
/(landing)/(mdx)/layout 176 B 226.73 KB 64.78% (+/- <0.01%)
/(topbar)/(backer)/finance/layout 153.36 KB 379.92 KB 108.55% (+/- <0.01%)
/(topbar)/(backer)/finance/rewards/page 70.84 KB 297.4 KB 84.97% (+/- <0.01%)
/(topbar)/(backer)/finance/outgoing/page 138.68 KB 365.25 KB 104.36% (+/- <0.01%)
/(topbar)/(backer)/finance/incoming/page 186.38 KB 412.95 KB 117.98% (+/- <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.