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

Update Posthog configuration on web app #3617

Merged
merged 2 commits into from
Jul 8, 2024
Merged

Conversation

frankie567
Copy link
Member

No description provided.

Copy link

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

@frankie567 frankie567 enabled auto-merge (rebase) July 8, 2024 07:43
Copy link
Contributor

github-actions bot commented Jul 8, 2024

📦 Next.js Bundle Analysis for web

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

🎉 Global Bundle Size Decreased

Page Size (compressed)
global 224.12 KB (🟢 -49 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!

Thirty-four 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.29 KB 280.41 KB 80.12% (🟢 -0.01%)
/maintainer/page 444.74 KB 668.86 KB 191.10% (🟡 +0.01%)
/backoffice/layout 451.92 KB 676.05 KB 193.16% (+/- <0.01%)
/docs/api/[...endpoint]/page 416.05 KB 640.18 KB 182.91% (+/- <0.01%)
/maintainer/[organization]/(topbar)/layout 451.92 KB 676.05 KB 193.16% (+/- <0.01%)
/maintainer/[organization]/(topbar)/donations/overview/page 569.12 KB 793.24 KB 226.64% (🟡 +0.01%)
/maintainer/[organization]/(topbar)/funding/page 473.04 KB 697.16 KB 199.19% (+/- <0.01%)
/maintainer/[organization]/(topbar)/issues/badge/page 464.12 KB 688.24 KB 196.64% (+/- <0.01%)
/maintainer/[organization]/(topbar)/issues/overview/page 480.29 KB 704.42 KB 201.26% (🟡 +0.01%)
/maintainer/[organization]/(topbar)/members/page 442.06 KB 666.18 KB 190.34% (+/- <0.01%)
/maintainer/[organization]/(topbar)/overview/page 468.65 KB 692.77 KB 197.93% (🟡 +0.01%)
/maintainer/[organization]/(topbar)/posts/analytics/page 562.22 KB 786.35 KB 224.67% (+/- <0.01%)
/maintainer/[organization]/(topbar)/posts/page 552.78 KB 776.91 KB 221.97% (🟡 +0.01%)
/maintainer/[organization]/(topbar)/products/benefits/page 534 KB 758.12 KB 216.61% (+/- <0.01%)
/maintainer/[organization]/(topbar)/products/overview/page 471.5 KB 695.62 KB 198.75% (+/- <0.01%)
/maintainer/[organization]/(topbar)/sales/orders/page 474.46 KB 698.58 KB 199.60% (+/- <0.01%)
/maintainer/[organization]/(topbar)/sales/subscriptions/page 487.33 KB 711.45 KB 203.27% (🟡 +0.01%)
/maintainer/[organization]/(topbar)/settings/page 457.6 KB 681.72 KB 194.78% (+/- <0.01%)
/maintainer/[organization]/(topbar)/settings/webhooks/endpoints/[id]/page 483.97 KB 708.1 KB 202.31% (🟡 +0.01%)
/maintainer/[organization]/(topbar)/sales/overview/page 565.71 KB 789.84 KB 225.67% (+/- <0.01%)
/maintainer/[organization]/(white)/posts/[post]/page 549.72 KB 773.85 KB 221.10% (+/- <0.01%)
/maintainer/[organization]/(white)/layout 436.59 KB 660.71 KB 188.78% (+/- <0.01%)
/maintainer/[organization]/(white)/posts/new/page 547.37 KB 771.49 KB 220.43% (+/- <0.01%)
/maintainer/[organization]/products/[id]/page 523.4 KB 747.52 KB 213.58% (+/- <0.01%)
/maintainer/[organization]/products/layout 436.59 KB 660.71 KB 188.78% (+/- <0.01%)
/maintainer/[organization]/promote/page 458.57 KB 682.69 KB 195.06% (+/- <0.01%)
/maintainer/[organization]/promote/layout 436.59 KB 660.71 KB 188.78% (+/- <0.01%)
/maintainer/[organization]/products/new/page 523.08 KB 747.21 KB 213.49% (+/- <0.01%)
/docs/(mdx)/layout 388.33 KB 612.46 KB 174.99% (+/- <0.01%)
/docs/api/(mdx)/layout 388.32 KB 612.45 KB 174.98% (🟡 +0.01%)
/docs/contribute/layout 388.33 KB 612.46 KB 174.99% (+/- <0.01%)
/docs/support/layout 388.33 KB 612.46 KB 174.99% (+/- <0.01%)
/maintainer/[organization]/(topbar)/finance/layout 436.59 KB 660.71 KB 188.77% (🟡 +0.01%)
/maintainer/[organization]/(topbar)/finance/issue-funding/layout 436.59 KB 660.71 KB 188.77% (🟡 +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 60ba4fc into main Jul 8, 2024
10 of 12 checks passed
@frankie567 frankie567 deleted the fix/posthog-config branch July 8, 2024 07:49
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