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

Checkout Links #4203

Closed frankie567 closed 1 week ago

frankie567 commented 1 week ago

Fix #4095

vercel[bot] commented 1 week ago

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

Name Status Preview Comments Updated (UTC)
polar 🛑 Canceled (Inspect) Oct 16, 2024 3:00pm
polar-sandbox ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 16, 2024 3:00pm
github-actions[bot] commented 1 week 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 190.85 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!

Ninety-six 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 107.27 KB 298.12 KB 85.18% (🟡 +0.02%)
/signup/page 130.99 KB 321.84 KB 91.95% (🟡 +0.03%)
/login/page 123.41 KB 314.26 KB 89.79% (🟡 +0.02%)
/(installation)/github/installation/page 126.59 KB 317.44 KB 90.70% (🟡 +0.02%)
/(topbar)/layout 252.22 KB 443.07 KB 126.59% (🟡 +0.06%)
/(topbar)/unsubscribe/page 32.35 KB 223.2 KB 63.77% (🟡 +0.02%)
/[organization]/(header)/donate/page 194.78 KB 385.63 KB 110.18% (🟡 +0.06%)
/[organization]/(header)/layout 271.51 KB 462.36 KB 132.10% (🟡 +0.07%)
/[organization]/(header)/donate/status/page 90.51 KB 281.36 KB 80.39% (🟡 +0.02%)
/[organization]/(header)/issues/page 134.01 KB 324.86 KB 92.82% (🟡 +0.06%)
/[organization]/(header)/page 119.67 KB 310.52 KB 88.72% (🟢 -0.19%)
/[organization]/(header)/portal/page 136.17 KB 327.02 KB 93.43% (🟡 +0.07%)
/[organization]/(header)/posts/[postSlug]/page 239.52 KB 430.37 KB 122.96% (🟡 +0.07%)
/[organization]/(header)/products/[productId]/page 183.21 KB 374.06 KB 106.87% (🟡 +0.33%)
/[organization]/(header)/posts/page 192.82 KB 383.67 KB 109.62% (🟡 +0.06%)
/[organization]/[repo]/issues/[number]/(create)/page 206.13 KB 396.98 KB 113.42% (🟡 +0.07%)
/[organization]/[repo]/layout 242.87 KB 433.72 KB 123.92% (🟡 +0.06%)
/[organization]/[repo]/issues/[number]/status/page 236.28 KB 427.13 KB 122.04% (🟡 +0.06%)
/[organization]/[repo]/page 210.83 KB 401.68 KB 114.76% (🟡 +0.07%)
/backoffice/issue/[id]/page 64.69 KB 255.54 KB 73.01% (🟡 +0.07%)
/backoffice/layout 541.77 KB 732.62 KB 209.32% (🟡 +0.06%)
/backoffice/badge/page 54.87 KB 245.72 KB 70.20% (🟡 +0.07%)
/backoffice/pledges/page 66.95 KB 257.8 KB 73.66% (🟡 +0.06%)
/backoffice/rebadge/page 40.84 KB 231.69 KB 66.20% (🟡 +0.02%)
/backoffice/rewards_pending/page 68.47 KB 259.32 KB 74.09% (🟡 +0.07%)
/checkout/[clientSecret]/confirmation/page 147.63 KB 338.48 KB 96.71% (🟡 +0.02%)
/checkout/[clientSecret]/page 183.2 KB 374.05 KB 106.87% (🟡 +0.32%)
/dashboard/(create)/create/page 157.49 KB 348.34 KB 99.53% (🟡 +0.06%)
/docs/api/[...endpoint]/page 473.65 KB 664.5 KB 189.86% (🟡 +0.02%)
/docs/layout 240.6 KB 431.45 KB 123.27% (🟡 +0.06%)
/(landing)/page 222.92 KB 413.77 KB 118.22% (🟢 -0.13%)
/(landing)/layout 214.36 KB 405.21 KB 115.78% (🟡 +0.02%)
/(topbar)/(backer)/purchases/products/[id]/page 264.6 KB 455.45 KB 130.13% (🟡 +0.06%)
/(topbar)/(backer)/layout 77.01 KB 267.86 KB 76.53% (🟡 +0.02%)
/(topbar)/(backer)/purchases/products/page 98.36 KB 289.21 KB 82.63% (🟡 +0.07%)
/(topbar)/(backer)/purchases/subscriptions/[id]/page 267.72 KB 458.57 KB 131.02% (🟡 +0.06%)
/(topbar)/(backer)/purchases/subscriptions/page 97.93 KB 288.78 KB 82.51% (🟡 +0.06%)
/(topbar)/(backer)/settings/page 276.49 KB 467.34 KB 133.53% (🟡 +0.06%)
/dashboard/[organization]/(header)/(home)/page 630.54 KB 821.39 KB 234.68% (🟡 +0.04%)
/dashboard/[organization]/(header)/layout 541.77 KB 732.62 KB 209.32% (🟡 +0.06%)
/dashboard/[organization]/layout 57.37 KB 248.22 KB 70.92% (🟡 +0.06%)
/dashboard/[organization]/(header)/analytics/page 671.37 KB 862.22 KB 246.35% (🟡 +0.06%)
/dashboard/[organization]/(header)/benefits/license-keys/page 570.72 KB 761.57 KB 217.59% (🟡 +0.06%)
/dashboard/[organization]/(header)/benefits/page 623.23 KB 814.08 KB 232.59% (🟡 +0.09%)
/dashboard/[organization]/(header)/donations/overview/page 665.06 KB 855.91 KB 244.55% (🟡 +0.06%)
/dashboard/[organization]/(header)/issues/badge/page 565.07 KB 755.92 KB 215.98% (🟡 +0.06%)
/dashboard/[organization]/(header)/initialize/page 150.54 KB 341.39 KB 97.54% (🟡 +0.06%)
/dashboard/[organization]/(header)/issues/organizations/page 544.34 KB 735.19 KB 210.06% (🟡 +0.06%)
/dashboard/[organization]/(header)/issues/overview/page 582.26 KB 773.11 KB 220.89% (🟡 +0.06%)
/dashboard/[organization]/(header)/posts/analytics/page 661.16 KB 852.01 KB 243.43% (🟡 +0.06%)
/dashboard/[organization]/(header)/members/page 542.76 KB 733.61 KB 209.60% (🟡 +0.07%)
/dashboard/[organization]/(header)/products/benefits/page 623.23 KB 814.08 KB 232.59% (🟡 +0.09%)
/dashboard/[organization]/(header)/products/page 572.7 KB 763.55 KB 218.16% (🟡 +3.60%)
/dashboard/[organization]/(header)/posts/page 653.35 KB 844.21 KB 241.20% (🟡 +0.07%)
/dashboard/[organization]/(header)/sales/subscriptions/page 571.91 KB 762.76 KB 217.93% (🟡 +0.06%)
/dashboard/[organization]/(header)/promote/page 548.84 KB 739.7 KB 211.34% (🟡 +0.07%)
/dashboard/[organization]/(header)/settings/page 566.44 KB 757.29 KB 216.37% (🟡 +0.06%)
/dashboard/[organization]/(header)/settings/webhooks/endpoints/[id]/page 574.8 KB 765.65 KB 218.76% (🟡 +0.06%)
/dashboard/[organization]/(overlay)/storefront/page 355.36 KB 546.21 KB 156.06% (🟡 +0.37%)
/dashboard/[organization]/(overlay)/layout 542.39 KB 733.24 KB 209.50% (🟡 +0.06%)
/dashboard/[organization]/(header)/sales/page 572.18 KB 763.04 KB 218.01% (🟡 +0.06%)
/dashboard/[organization]/(white)/posts/[post]/page 635.28 KB 826.13 KB 236.04% (🟡 +0.06%)
/dashboard/[organization]/(white)/layout 541.77 KB 732.62 KB 209.32% (🟡 +0.06%)
/dashboard/[organization]/products/new/page 612.77 KB 803.62 KB 229.60% (🟡 +0.26%)
/dashboard/[organization]/products/layout 541.77 KB 732.62 KB 209.32% (🟡 +0.07%)
/dashboard/[organization]/products/[id]/page 614.94 KB 805.79 KB 230.23% (🟡 +0.53%)
/(landing)/(mdx)/careers/page 31.09 KB 221.94 KB 63.41% (+/- <0.01%)
/docs/(mdx)/customers/purchases/page 31.09 KB 221.94 KB 63.41% (+/- <0.01%)
/docs/(mdx)/fees/page 31.09 KB 221.94 KB 63.41% (+/- <0.01%)
/docs/(mdx)/finance/payouts/page 31.09 KB 221.94 KB 63.41% (+/- <0.01%)
/docs/(mdx)/github/funding-yaml/page 31.09 KB 221.94 KB 63.41% (+/- <0.01%)
/docs/(mdx)/guides/page 31.09 KB 221.94 KB 63.41% (+/- <0.01%)
/docs/(mdx)/merchant-of-record/compliance/page 31.09 KB 221.94 KB 63.41% (+/- <0.01%)
/docs/(mdx)/onboarding/page 178.03 KB 368.88 KB 105.40% (🟡 +0.02%)
/docs/(mdx)/merchant-of-record/tax/page 31.09 KB 221.94 KB 63.41% (+/- <0.01%)
/docs/(mdx)/payments-taxes/page 31.09 KB 221.94 KB 63.41% (+/- <0.01%)
/docs/(mdx)/subscriptions/page 31.09 KB 221.94 KB 63.41% (+/- <0.01%)
/docs/api/(mdx)/authentication/page 235.63 KB 426.48 KB 121.85% (🟡 +0.02%)
/docs/api/(mdx)/sdk/github-actions/page 33.47 KB 224.32 KB 64.09% (+/- <0.01%)
/docs/api/(mdx)/page 31.09 KB 221.94 KB 63.41% (+/- <0.01%)
/docs/support/(mdx)/page 31.09 KB 221.94 KB 63.41% (+/- <0.01%)
/(topbar)/(backer)/(sidebar)/funding/page 259.56 KB 450.41 KB 128.69% (🟡 +0.06%)
/(topbar)/(backer)/(sidebar)/layout 139.92 KB 330.77 KB 94.51% (🟡 +0.06%)
/(topbar)/(backer)/finance/incoming/page 241.66 KB 432.51 KB 123.57% (🟡 +0.07%)
/(topbar)/(backer)/finance/layout 224.5 KB 415.35 KB 118.67% (🟡 +0.07%)
/(topbar)/(backer)/finance/account/page 209.18 KB 400.03 KB 114.29% (🟡 +0.07%)
/(topbar)/(backer)/finance/rewards/page 122.25 KB 313.1 KB 89.46% (🟡 +0.06%)
/(topbar)/(backer)/finance/outgoing/page 191.81 KB 382.66 KB 109.33% (🟡 +0.06%)
/dashboard/[organization]/(header)/finance/account/page 163.1 KB 353.95 KB 101.13% (🟡 +0.06%)
/dashboard/[organization]/(header)/finance/layout 541.77 KB 732.62 KB 209.32% (🟡 +0.06%)
/dashboard/[organization]/(header)/finance/incoming/page 194.96 KB 385.82 KB 110.23% (🟡 +0.07%)
/dashboard/[organization]/(header)/finance/outgoing/page 145.18 KB 336.03 KB 96.01% (🟡 +0.06%)
/dashboard/[organization]/(header)/finance/issue-funding/contributors/page 75.81 KB 266.66 KB 76.19% (🟡 +0.06%)
/dashboard/[organization]/(header)/finance/issue-funding/layout 541.77 KB 732.62 KB 209.32% (🟡 +0.06%)
/dashboard/[organization]/(header)/finance/issue-funding/page 76.52 KB 267.37 KB 76.39% (🟡 +0.06%)
/dashboard/[organization]/(header)/finance/issue-funding/rewarded/page 75.8 KB 266.65 KB 76.19% (🟡 +0.06%)
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.

sentry-io[bot] commented 1 week ago

Suspect Issues

This pull request was deployed and Sentry observed the following issues:

Did you find this useful? React with a 👍 or 👎