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: improve landing layout #3767

Merged
merged 1 commit into from
Aug 16, 2024
Merged

clients/web: improve landing layout #3767

merged 1 commit into from
Aug 16, 2024

Conversation

emilwidlund
Copy link
Member

No description provided.

Copy link

vercel bot commented Aug 16, 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 Aug 16, 2024 9:58am
polar-next-js-example 🔄 Building (Inspect) Visit Preview 💬 Add feedback Aug 16, 2024 9:58am

@emilwidlund emilwidlund enabled auto-merge (rebase) August 16, 2024 09:58
Copy link
Contributor

📦 Next.js Bundle Analysis for web

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

Fifty-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)
/layout 56.61 KB 283.17 KB 80.90% (+/- <0.01%)
/(topbar)/layout 182.94 KB 409.5 KB 117.00% (🟡 +0.01%)
/[organization]/(sidebar)/donate/page 197.74 KB 424.3 KB 121.23% (+/- <0.01%)
/[organization]/(sidebar)/layout 195.25 KB 421.81 KB 120.52% (🟡 +0.01%)
/[organization]/(sidebar)/page 228.36 KB 454.92 KB 129.98% (+/- <0.01%)
/[organization]/[repo]/layout 105.71 KB 332.27 KB 94.93% (🟡 +0.02%)
/[organization]/[repo]/page 221.51 KB 448.07 KB 128.02% (+/- <0.01%)
/[organization]/subscribe/page 144.37 KB 370.93 KB 105.98% (+/- <0.01%)
/backoffice/layout 455.44 KB 682 KB 194.86% (🟡 +0.02%)
/docs/api/[...endpoint]/page 408.75 KB 635.31 KB 181.52% (🟢 -0.01%)
/docs/layout 102.96 KB 329.52 KB 94.15% (🟡 +0.01%)
/(landing)/layout 108.03 KB 334.59 KB 95.60% (🟢 -0.02%)
/(landing)/(features)/newsletters/page 148.45 KB 375.01 KB 107.15% (🟢 -0.01%)
/(landing)/(features)/products/page 134.86 KB 361.42 KB 103.26% (+/- <0.01%)
/(landing)/page 134.73 KB 361.29 KB 103.22% (+/- <0.01%)
/(landing)/(features)/donations/page 134.86 KB 361.42 KB 103.26% (+/- <0.01%)
/(topbar)/(backer)/purchases/products/[id]/page 208.85 KB 435.41 KB 124.40% (+/- <0.01%)
/(topbar)/(backer)/purchases/subscriptions/[id]/page 210.76 KB 437.32 KB 124.95% (+/- <0.01%)
/(topbar)/(backer)/settings/page 212.81 KB 439.37 KB 125.54% (🟢 -0.01%)
/dashboard/[organization]/(topbar)/(home)/page 454.34 KB 680.9 KB 194.54% (+/- <0.01%)
/dashboard/[organization]/(topbar)/layout 455.44 KB 682 KB 194.86% (🟡 +0.02%)
/dashboard/[organization]/(topbar)/analytics/page 573.38 KB 799.94 KB 228.56% (🟢 -0.01%)
/dashboard/[organization]/(topbar)/donations/overview/page 573.59 KB 800.15 KB 228.61% (+/- <0.01%)
/dashboard/[organization]/(topbar)/issues/overview/page 490.19 KB 716.75 KB 204.79% (+/- <0.01%)
/dashboard/[organization]/(topbar)/issues/organizations/page 448.23 KB 674.79 KB 192.80% (+/- <0.01%)
/dashboard/[organization]/(topbar)/members/page 445.56 KB 672.12 KB 192.03% (+/- <0.01%)
/dashboard/[organization]/(topbar)/posts/analytics/page 569.93 KB 796.49 KB 227.57% (+/- <0.01%)
/dashboard/[organization]/(topbar)/products/benefits/page 539.48 KB 766.04 KB 218.87% (+/- <0.01%)
/dashboard/[organization]/(topbar)/posts/page 557.2 KB 783.76 KB 223.93% (+/- <0.01%)
/dashboard/[organization]/(topbar)/products/page 446.52 KB 673.08 KB 192.31% (+/- <0.01%)
/dashboard/[organization]/(topbar)/sales/page 478.94 KB 705.5 KB 201.57% (+/- <0.01%)
/dashboard/[organization]/(topbar)/sales/subscriptions/page 491.82 KB 718.38 KB 205.25% (+/- <0.01%)
/dashboard/[organization]/(topbar)/settings/webhooks/endpoints/[id]/page 491.69 KB 718.25 KB 205.22% (🟢 -0.01%)
/dashboard/[organization]/(white)/posts/new/page 556.08 KB 782.64 KB 223.61% (🟡 +0.02%)
/dashboard/[organization]/(white)/layout 426.99 KB 653.55 KB 186.73% (+/- <0.01%)
/dashboard/[organization]/(topbar)/settings/page 475.17 KB 701.73 KB 200.49% (+/- <0.01%)
/dashboard/[organization]/(white)/posts/[post]/page 558.41 KB 784.97 KB 224.28% (🟡 +0.02%)
/dashboard/[organization]/products/[id]/page 527.41 KB 753.97 KB 215.42% (🟡 +0.02%)
/dashboard/[organization]/products/layout 426.99 KB 653.55 KB 186.73% (+/- <0.01%)
/dashboard/[organization]/products/new/page 527.09 KB 753.65 KB 215.33% (🟡 +0.02%)
/dashboard/[organization]/promote/page 462.05 KB 688.61 KB 196.74% (🟡 +0.03%)
/dashboard/[organization]/promote/layout 426.99 KB 653.55 KB 186.73% (+/- <0.01%)
/docs/(mdx)/layout 353.83 KB 580.39 KB 165.83% (🟢 -0.01%)
/docs/(mdx)/onboarding/page 33.87 KB 260.43 KB 74.41% (+/- <0.01%)
/docs/api/(mdx)/layout 353.83 KB 580.39 KB 165.83% (🟢 -0.01%)
/docs/contribute/layout 353.83 KB 580.39 KB 165.83% (🟢 -0.01%)
/docs/support/layout 353.83 KB 580.39 KB 165.83% (🟢 -0.01%)
/(topbar)/(backer)/(sidebar)/layout 91.14 KB 317.7 KB 90.77% (+/- <0.01%)
/(topbar)/(backer)/finance/account/page 171.75 KB 398.31 KB 113.80% (+/- <0.01%)
/(topbar)/(backer)/finance/layout 152.12 KB 378.68 KB 108.19% (🟡 +0.03%)
/dashboard/[organization]/(topbar)/finance/account/page 173.2 KB 399.76 KB 114.22% (+/- <0.01%)
/dashboard/[organization]/(topbar)/finance/layout 426.99 KB 653.55 KB 186.73% (+/- <0.01%)
/dashboard/[organization]/(topbar)/finance/issue-funding/layout 426.99 KB 653.55 KB 186.73% (+/- <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 55ff51c into main Aug 16, 2024
11 of 15 checks passed
@emilwidlund emilwidlund deleted the hero branch August 16, 2024 10:01
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