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/home: polish metrics card #4917

Merged
merged 2 commits into from
Jan 28, 2025
Merged

clients/home: polish metrics card #4917

merged 2 commits into from
Jan 28, 2025

Conversation

emilwidlund
Copy link
Member

No description provided.

Copy link

vercel bot commented Jan 28, 2025

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 Jan 29, 2025 0:02am
polar-sandbox ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 29, 2025 0:02am

@emilwidlund emilwidlund enabled auto-merge (rebase) January 28, 2025 23:41
Copy link
Contributor

github-actions bot commented Jan 28, 2025

📦 Next.js Bundle Analysis for web

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

Eighty-seven 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 351 B 155.15 KB 44.33% (+/- <0.01%)
/layout 67.98 KB 222.78 KB 63.65% (+/- <0.01%)
/checkout/[clientSecret]/confirmation/page 349.54 KB 504.35 KB 144.10% (🟡 +0.05%)
/checkout/[clientSecret]/page 208.79 KB 363.59 KB 103.88% (🟡 +0.01%)
/(main)/verify-email/page 352 B 155.15 KB 44.33% (+/- <0.01%)
/(main)/(installation)/github/layout 351 B 155.15 KB 44.33% (+/- <0.01%)
/(main)/[organization]/(header)/layout 328.8 KB 483.61 KB 138.17% (🟡 +0.06%)
/(main)/(topbar)/layout 294.78 KB 449.59 KB 128.45% (🟡 +0.06%)
/(main)/[organization]/(header)/issues/page 213.19 KB 368 KB 105.14% (🟡 +0.06%)
/(main)/[organization]/(header)/page 224.98 KB 379.79 KB 108.51% (🟡 +0.06%)
/(main)/[organization]/(header)/products/[productId]/page 165.94 KB 320.74 KB 91.64% (🟡 +0.01%)
/(main)/[organization]/(header)/subscriptions/page 354 B 155.15 KB 44.33% (+/- <0.01%)
/(main)/[organization]/[repo]/issues/[number]/(create)/page 251.76 KB 406.57 KB 116.16% (🟡 +0.06%)
/(main)/[organization]/[repo]/layout 283.72 KB 438.53 KB 125.29% (🟡 +0.06%)
/(main)/[organization]/[repo]/issues/[number]/status/page 280.93 KB 435.74 KB 124.50% (🟡 +0.05%)
/(main)/[organization]/[repo]/page 296.06 KB 450.87 KB 128.82% (🟡 +0.05%)
/(main)/[organization]/portal/page 311.98 KB 466.79 KB 133.37% (🟡 +0.05%)
/(main)/backoffice/issue/[id]/page 145.41 KB 300.22 KB 85.78% (🟡 +0.05%)
/(main)/backoffice/layout 311.75 KB 466.55 KB 133.30% (🟡 +0.06%)
/(main)/backoffice/pledges/page 147.66 KB 302.47 KB 86.42% (🟡 +0.06%)
/(main)/backoffice/badge/page 135.28 KB 290.08 KB 82.88% (🟡 +0.06%)
/(main)/backoffice/rewards_pending/page 149.51 KB 304.32 KB 86.95% (🟡 +0.05%)
/(main)/vision/layout 350 B 155.15 KB 44.33% (+/- <0.01%)
/(main)/(landing)/page 253.13 KB 407.93 KB 116.55% (🟡 +0.01%)
/(main)/(topbar)/(backer)/purchases/license-keys/page 178.94 KB 333.75 KB 95.36% (🟡 +0.05%)
/(main)/(topbar)/(backer)/purchases/file-downloads/page 266.62 KB 421.43 KB 120.41% (🟡 +0.05%)
/(main)/(topbar)/(backer)/purchases/products/[id]/page 284.71 KB 439.52 KB 125.58% (🟡 +0.05%)
/(main)/(topbar)/(backer)/purchases/subscriptions/[id]/page 307.38 KB 462.19 KB 132.05% (🟡 +0.06%)
/(main)/(topbar)/(backer)/purchases/products/page 178.05 KB 332.85 KB 95.10% (🟡 +0.06%)
/(main)/(topbar)/(backer)/purchases/subscriptions/page 180.98 KB 335.79 KB 95.94% (🟡 +0.06%)
/(main)/(topbar)/(backer)/settings/page 313.96 KB 468.77 KB 133.93% (🟡 +0.06%)
/(main)/[organization]/portal/(topbar)/authenticate/page 163.8 KB 318.61 KB 91.03% (🟡 +0.06%)
/(main)/[organization]/portal/(topbar)/orders/[id]/page 284.58 KB 439.39 KB 125.54% (🟡 +0.05%)
/(main)/[organization]/portal/(topbar)/request/page 159.99 KB 314.8 KB 89.94% (🟡 +0.06%)
/(main)/[organization]/portal/(topbar)/subscriptions/[id]/page 304.96 KB 459.76 KB 131.36% (🟡 +0.06%)
/(main)/dashboard/(create)/create/page 209.42 KB 364.23 KB 104.07% (🟡 +0.05%)
/(main)/dashboard/(create)/layout 353 B 155.15 KB 44.33% (+/- <0.01%)
/(main)/dashboard/[organization]/storefront/page 472.5 KB 627.31 KB 179.23% (🟡 +0.06%)
/(main)/dashboard/[organization]/layout 137.72 KB 292.53 KB 83.58% (🟡 +0.05%)
/(main)/(landing)/(mdx)/layout 351 B 155.15 KB 44.33% (+/- <0.01%)
/(main)/(landing)/(mdx)/blog/(header)/mitchell-hashimoto-joins-polar-as-an-advisor/page 33.66 KB 188.47 KB 53.85% (+/- <0.01%)
/(main)/(landing)/(mdx)/legal/terms/page 33.66 KB 188.46 KB 53.85% (+/- <0.01%)
/(main)/(topbar)/(backer)/(sidebar)/funding/page 305.3 KB 460.11 KB 131.46% (🟡 +0.06%)
/(main)/(topbar)/(backer)/(sidebar)/layout 192.81 KB 347.62 KB 99.32% (🟡 +0.06%)
/(main)/(topbar)/(backer)/finance/account/page 256.07 KB 410.88 KB 117.39% (🟡 +0.06%)
/(main)/(topbar)/(backer)/finance/layout 267 KB 421.81 KB 120.52% (🟡 +0.05%)
/(main)/(topbar)/(backer)/finance/incoming/page 287.35 KB 442.16 KB 126.33% (🟡 +0.06%)
/(main)/(topbar)/(backer)/finance/rewards/page 171.95 KB 326.76 KB 93.36% (🟡 +0.05%)
/(main)/(topbar)/(backer)/finance/outgoing/page 237.13 KB 391.94 KB 111.98% (🟡 +0.06%)
/(main)/dashboard/[organization]/(header)/(home)/page 393.99 KB 548.8 KB 156.80% (🟡 +0.03%)
/(main)/dashboard/[organization]/(header)/layout 311.74 KB 466.55 KB 133.30% (🟡 +0.05%)
/(main)/dashboard/[organization]/(header)/analytics/page 352.14 KB 506.95 KB 144.84% (🟡 +0.06%)
/(main)/dashboard/[organization]/(header)/benefits/license-keys/page 344.83 KB 499.64 KB 142.75% (🟡 +0.06%)
/(main)/dashboard/[organization]/(header)/benefits/page 413.97 KB 568.78 KB 162.51% (🟡 +0.05%)
/(main)/dashboard/[organization]/(header)/customers/page 347.59 KB 502.39 KB 143.54% (🟡 +0.06%)
/(main)/dashboard/[organization]/(header)/customers/[id]/page 351.59 KB 506.4 KB 144.69% (🟡 +0.19%)
/(main)/dashboard/[organization]/(header)/initialize/page 233.37 KB 388.18 KB 110.91% (🟡 +0.05%)
/(main)/dashboard/[organization]/(header)/issues/embed/page 314.36 KB 469.16 KB 134.05% (🟡 +0.05%)
/(main)/dashboard/[organization]/(header)/issues/badge/page 339.83 KB 494.64 KB 141.32% (🟡 +0.06%)
/(main)/dashboard/[organization]/(header)/issues/overview/page 355.45 KB 510.25 KB 145.79% (🟡 +0.05%)
/(main)/dashboard/[organization]/(header)/members/page 312.7 KB 467.51 KB 133.57% (🟡 +0.06%)
/(main)/dashboard/[organization]/(header)/meters/[slug]/page 392.9 KB 547.71 KB 156.49% (🟡 +0.05%)
/(main)/dashboard/[organization]/(header)/issues/organizations/page 314.37 KB 469.18 KB 134.05% (🟡 +0.06%)
/(main)/dashboard/[organization]/(header)/products/[id]/checkout-links/page 354.02 KB 508.83 KB 145.38% (🟡 +0.05%)
/(main)/dashboard/[organization]/(header)/meters/page 343.46 KB 498.26 KB 142.36% (🟡 +0.06%)
/(main)/dashboard/[organization]/(header)/products/discounts/page 374.41 KB 529.22 KB 151.20% (🟡 +0.06%)
/(main)/dashboard/[organization]/(header)/products/benefits/page 413.49 KB 568.3 KB 162.37% (🟡 +0.06%)
/(main)/dashboard/[organization]/(header)/products/new/page 450.72 KB 605.53 KB 173.01% (🟡 +0.06%)
/(main)/dashboard/[organization]/(header)/products/[id]/page 451.03 KB 605.84 KB 173.10% (🟡 +0.06%)
/(main)/dashboard/[organization]/(header)/@breadcrumb/products/page 354 B 155.15 KB 44.33% (+/- <0.01%)
/(main)/dashboard/[organization]/(header)/products/page 322.37 KB 477.18 KB 136.34% (🟡 +0.05%)
/(main)/dashboard/[organization]/(header)/sales/[id]/page 359.54 KB 514.35 KB 146.96% (🟡 +0.05%)
/(main)/dashboard/[organization]/(header)/sales/subscriptions/[id]/page 346.78 KB 501.58 KB 143.31% (🟡 +0.05%)
/(main)/dashboard/[organization]/(header)/sales/page 354.78 KB 509.59 KB 145.60% (🟡 +0.05%)
/(main)/dashboard/[organization]/(header)/sales/subscriptions/page 345.02 KB 499.83 KB 142.81% (🟡 +0.05%)
/(main)/dashboard/[organization]/(header)/settings/page 335.32 KB 490.13 KB 140.04% (🟡 +0.05%)
/(main)/dashboard/[organization]/(header)/settings/custom-fields/page 352.09 KB 506.9 KB 144.83% (🟡 +0.05%)
/(main)/dashboard/[organization]/(header)/settings/webhooks/endpoints/[id]/page 350.07 KB 504.88 KB 144.25% (🟡 +0.06%)
/(main)/dashboard/[organization]/(header)/settings/webhooks/page 333.01 KB 487.82 KB 139.38% (🟡 +0.05%)
/(main)/dashboard/[organization]/(header)/finance/account/page 241 KB 395.81 KB 113.09% (🟡 +0.05%)
/(main)/dashboard/[organization]/(header)/finance/layout 311.75 KB 466.56 KB 133.30% (🟡 +0.06%)
/(main)/dashboard/[organization]/(header)/finance/incoming/page 272.18 KB 426.99 KB 122.00% (🟡 +0.05%)
/(main)/dashboard/[organization]/(header)/finance/outgoing/page 221.55 KB 376.35 KB 107.53% (🟡 +0.06%)
/(main)/dashboard/[organization]/(header)/finance/issue-funding/contributors/page 156.56 KB 311.37 KB 88.96% (🟡 +0.06%)
/(main)/dashboard/[organization]/(header)/finance/issue-funding/layout 311.75 KB 466.55 KB 133.30% (🟡 +0.06%)
/(main)/dashboard/[organization]/(header)/finance/issue-funding/rewarded/page 156.55 KB 311.36 KB 88.96% (🟡 +0.06%)
/(main)/dashboard/[organization]/(header)/finance/issue-funding/page 157.28 KB 312.09 KB 89.17% (🟡 +0.05%)
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.

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.

1 participant