Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clients/backer: increase base limit for purchases #3528

Merged
merged 1 commit into from
Jun 24, 2024
Merged

Conversation

emilwidlund
Copy link
Member

No description provided.

Copy link

vercel bot commented Jun 24, 2024

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 Jun 24, 2024 2:32pm
polar-next-js-example 🔄 Building (Inspect) Visit Preview 💬 Add feedback Jun 24, 2024 2:32pm

@emilwidlund emilwidlund enabled auto-merge (rebase) June 24, 2024 14:33
Copy link
Contributor

📦 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 224.09 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!

Fifty-five 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)
/maintainer/page 448.75 KB 672.84 KB 192.24% (+/- <0.01%)
/backoffice/layout 455.81 KB 679.9 KB 194.26% (+/- <0.01%)
/maintainer/new/page 448.49 KB 672.57 KB 192.16% (+/- <0.01%)
/docs/layout 430.25 KB 654.34 KB 186.95% (+/- <0.01%)
/(topbar)/(backer)/purchases/products/page 105.23 KB 329.31 KB 94.09% (+/- <0.01%)
/(topbar)/(backer)/purchases/subscriptions/page 98.73 KB 322.81 KB 92.23% (+/- <0.01%)
/docs/(mdx)/api-reference/authentication/page 198.22 KB 422.31 KB 120.66% (+/- <0.01%)
/docs/(mdx)/layout 202.82 KB 426.91 KB 121.97% (🟡 +0.01%)
/docs/(mdx)/api-reference/github-actions/page 173.14 KB 397.23 KB 113.49% (+/- <0.01%)
/docs/(mdx)/api-reference/introduction/page 173.14 KB 397.23 KB 113.49% (+/- <0.01%)
/docs/(mdx)/api-reference/polar-sdk/page 198.22 KB 422.31 KB 120.66% (+/- <0.01%)
/docs/(mdx)/api-reference/webhooks/events/page 173.14 KB 397.23 KB 113.49% (+/- <0.01%)
/docs/(mdx)/api-reference/webhooks/page 173.14 KB 397.23 KB 113.49% (+/- <0.01%)
/docs/(mdx)/guides/overview/page 173.14 KB 397.23 KB 113.49% (+/- <0.01%)
/docs/(mdx)/overview/ads/page 173.14 KB 397.23 KB 113.49% (+/- <0.01%)
/docs/(mdx)/overview/benefits/page 173.14 KB 397.23 KB 113.49% (+/- <0.01%)
/docs/(mdx)/overview/donations/page 173.14 KB 397.23 KB 113.49% (+/- <0.01%)
/docs/(mdx)/overview/faq/for-maintainers/page 198.22 KB 422.31 KB 120.66% (+/- <0.01%)
/docs/(mdx)/overview/faq/for-contributors/page 173.14 KB 397.23 KB 113.49% (+/- <0.01%)
/docs/(mdx)/overview/faq/for-backers/page 173.14 KB 397.23 KB 113.49% (+/- <0.01%)
/docs/(mdx)/overview/issue-funding/getting-started/page 198.22 KB 422.31 KB 120.66% (+/- <0.01%)
/docs/(mdx)/overview/faq/overview/page 173.14 KB 397.23 KB 113.49% (+/- <0.01%)
/docs/(mdx)/overview/issue-funding/overview/page 173.14 KB 397.23 KB 113.49% (+/- <0.01%)
/docs/(mdx)/overview/issue-funding/promote/page 173.14 KB 397.23 KB 113.49% (+/- <0.01%)
/docs/(mdx)/overview/newsletters/page 173.14 KB 397.23 KB 113.49% (+/- <0.01%)
/docs/(mdx)/overview/issue-funding/workflow/page 198.22 KB 422.31 KB 120.66% (+/- <0.01%)
/docs/(mdx)/overview/issue-funding/reward-contributors/page 173.14 KB 397.23 KB 113.49% (+/- <0.01%)
/docs/(mdx)/overview/page 173.14 KB 397.23 KB 113.49% (+/- <0.01%)
/docs/(mdx)/overview/payments-taxes/page 198.22 KB 422.31 KB 120.66% (+/- <0.01%)
/docs/(mdx)/overview/support/page 173.14 KB 397.23 KB 113.49% (+/- <0.01%)
/docs/(mdx)/overview/subscriptions/page 173.14 KB 397.23 KB 113.49% (+/- <0.01%)
/maintainer/[organization]/(topbar)/layout 455.81 KB 679.9 KB 194.26% (+/- <0.01%)
/maintainer/[organization]/(topbar)/donations/overview/page 568.56 KB 792.65 KB 226.47% (+/- <0.01%)
/maintainer/[organization]/(topbar)/funding/page 477.38 KB 701.47 KB 200.42% (+/- <0.01%)
/maintainer/[organization]/(topbar)/issues/badge/page 468.65 KB 692.74 KB 197.92% (+/- <0.01%)
/maintainer/[organization]/(topbar)/members/page 445.69 KB 669.78 KB 191.37% (+/- <0.01%)
/maintainer/[organization]/(topbar)/issues/overview/page 484.44 KB 708.52 KB 202.44% (+/- <0.01%)
/maintainer/[organization]/(topbar)/overview/page 467.81 KB 691.89 KB 197.68% (+/- <0.01%)
/maintainer/[organization]/(topbar)/posts/analytics/page 560.98 KB 785.07 KB 224.31% (+/- <0.01%)
/maintainer/[organization]/(topbar)/posts/page 556.7 KB 780.79 KB 223.08% (+/- <0.01%)
/maintainer/[organization]/(topbar)/products/benefits/page 532.53 KB 756.62 KB 216.18% (+/- <0.01%)
/maintainer/[organization]/(topbar)/products/overview/page 519.41 KB 743.49 KB 212.43% (+/- <0.01%)
/maintainer/[organization]/(topbar)/sales/orders/page 474.14 KB 698.23 KB 199.49% (+/- <0.01%)
/maintainer/[organization]/(topbar)/sales/overview/page 565.3 KB 789.39 KB 225.54% (+/- <0.01%)
/maintainer/[organization]/(topbar)/sales/subscriptions/page 486.7 KB 710.79 KB 203.08% (+/- <0.01%)
/maintainer/[organization]/(topbar)/settings/page 460.44 KB 684.53 KB 195.58% (+/- <0.01%)
/maintainer/[organization]/(topbar)/settings/webhooks/endpoints/[id]/page 482.25 KB 706.34 KB 201.81% (+/- <0.01%)
/maintainer/[organization]/(white)/posts/[post]/page 547.47 KB 771.56 KB 220.44% (🟡 +0.01%)
/maintainer/[organization]/(white)/layout 441.05 KB 665.14 KB 190.04% (+/- <0.01%)
/maintainer/[organization]/(white)/posts/new/page 545.02 KB 769.11 KB 219.75% (+/- <0.01%)
/maintainer/[organization]/promote/page 461.92 KB 686.01 KB 196.00% (+/- <0.01%)
/maintainer/[organization]/promote/layout 441.05 KB 665.14 KB 190.04% (+/- <0.01%)
/(landing)/(mdx)/careers/page 173.14 KB 397.23 KB 113.49% (+/- <0.01%)
/maintainer/[organization]/(topbar)/finance/layout 441.05 KB 665.14 KB 190.04% (+/- <0.01%)
/maintainer/[organization]/(topbar)/finance/issue-funding/layout 441.05 KB 665.14 KB 190.04% (+/- <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.

@emilwidlund emilwidlund merged commit 3829f23 into main Jun 24, 2024
7 of 9 checks passed
@emilwidlund emilwidlund deleted the polish-platform branch June 24, 2024 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant