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/web/docs: fix APIMethodPill #3633

Merged
merged 1 commit into from
Jul 10, 2024
Merged

Conversation

frankie567
Copy link
Member

No description provided.

@frankie567 frankie567 enabled auto-merge (rebase) July 10, 2024 08:36
Copy link

vercel bot commented Jul 10, 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 Jul 10, 2024 8:39am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
polar-next-js-example ⬜️ Ignored (Inspect) Visit Preview Jul 10, 2024 8:39am

Copy link
Contributor

📦 Next.js Bundle Analysis for web

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

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)
/maintainer/page 449.5 KB 675.92 KB 193.12% (+/- <0.01%)
/backoffice/layout 456.69 KB 683.11 KB 195.17% (+/- <0.01%)
/docs/api/[...endpoint]/page 420.85 KB 647.27 KB 184.94% (🟢 -0.01%)
/maintainer/[organization]/(topbar)/layout 456.69 KB 683.11 KB 195.17% (+/- <0.01%)
/maintainer/[organization]/(topbar)/donations/overview/page 573.9 KB 800.32 KB 228.66% (+/- <0.01%)
/maintainer/[organization]/(topbar)/funding/page 477.81 KB 704.23 KB 201.21% (+/- <0.01%)
/maintainer/[organization]/(topbar)/issues/badge/page 468.88 KB 695.3 KB 198.66% (+/- <0.01%)
/maintainer/[organization]/(topbar)/issues/overview/page 485.06 KB 711.48 KB 203.28% (+/- <0.01%)
/maintainer/[organization]/(topbar)/members/page 446.83 KB 673.25 KB 192.36% (+/- <0.01%)
/maintainer/[organization]/(topbar)/overview/page 473.42 KB 699.84 KB 199.95% (+/- <0.01%)
/maintainer/[organization]/(topbar)/posts/analytics/page 567 KB 793.42 KB 226.69% (+/- <0.01%)
/maintainer/[organization]/(topbar)/products/benefits/page 538.77 KB 765.19 KB 218.62% (+/- <0.01%)
/maintainer/[organization]/(topbar)/posts/page 557.55 KB 783.97 KB 223.99% (+/- <0.01%)
/maintainer/[organization]/(topbar)/products/overview/page 476.26 KB 702.69 KB 200.77% (+/- <0.01%)
/maintainer/[organization]/(topbar)/sales/orders/page 479.23 KB 705.65 KB 201.61% (+/- <0.01%)
/maintainer/[organization]/(topbar)/sales/overview/page 570.49 KB 796.91 KB 227.69% (+/- <0.01%)
/maintainer/[organization]/(topbar)/settings/page 462.36 KB 688.78 KB 196.79% (+/- <0.01%)
/maintainer/[organization]/(topbar)/sales/subscriptions/page 492.1 KB 718.52 KB 205.29% (+/- <0.01%)
/maintainer/[organization]/(topbar)/settings/webhooks/endpoints/[id]/page 488.75 KB 715.17 KB 204.33% (+/- <0.01%)
/maintainer/[organization]/(white)/posts/[post]/page 554.51 KB 780.93 KB 223.12% (+/- <0.01%)
/maintainer/[organization]/(white)/layout 441.35 KB 667.77 KB 190.79% (+/- <0.01%)
/maintainer/[organization]/(white)/posts/new/page 552.15 KB 778.57 KB 222.45% (+/- <0.01%)
/maintainer/[organization]/products/[id]/page 528.18 KB 754.6 KB 215.60% (+/- <0.01%)
/maintainer/[organization]/products/layout 441.35 KB 667.77 KB 190.79% (+/- <0.01%)
/maintainer/[organization]/products/new/page 527.86 KB 754.28 KB 215.51% (+/- <0.01%)
/maintainer/[organization]/promote/page 463.34 KB 689.76 KB 197.07% (+/- <0.01%)
/maintainer/[organization]/promote/layout 441.35 KB 667.77 KB 190.79% (+/- <0.01%)
/docs/(mdx)/layout 393.1 KB 619.53 KB 177.01% (+/- <0.01%)
/docs/api/(mdx)/layout 393.09 KB 619.51 KB 177.00% (+/- <0.01%)
/docs/contribute/layout 393.1 KB 619.53 KB 177.01% (+/- <0.01%)
/docs/support/layout 393.1 KB 619.53 KB 177.01% (+/- <0.01%)
/maintainer/[organization]/(topbar)/finance/layout 441.35 KB 667.77 KB 190.79% (+/- <0.01%)
/maintainer/[organization]/(topbar)/finance/issue-funding/layout 441.35 KB 667.77 KB 190.79% (+/- <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.

@frankie567 frankie567 merged commit bd89ca2 into main Jul 10, 2024
11 of 12 checks passed
@frankie567 frankie567 deleted the docs/fix-method-badges branch July 10, 2024 08:41
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