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

Product sales notifications #3662

Merged
merged 6 commits into from
Jul 17, 2024
Merged

Product sales notifications #3662

merged 6 commits into from
Jul 17, 2024

Conversation

birkjernstrom
Copy link
Member

@birkjernstrom birkjernstrom commented Jul 16, 2024

Fixes #3643

Copy link

vercel bot commented Jul 16, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
polar ⬜️ Ignored (Inspect) Visit Preview Jul 16, 2024 1:23pm
polar-next-js-example ⬜️ Ignored (Inspect) Visit Preview Jul 16, 2024 1:23pm

Copy link
Contributor

github-actions bot commented Jul 16, 2024

📦 Next.js Bundle Analysis for web

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

Thirty-six 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 456.22 KB 682.74 KB 195.07% (🟡 +0.07%)
/(topbar)/layout 183.45 KB 409.97 KB 117.13% (🟡 +0.02%)
/backoffice/layout 463.47 KB 689.99 KB 197.14% (🟡 +0.08%)
/docs/api/[...endpoint]/page 428.27 KB 654.79 KB 187.08% (🟡 +0.07%)
/maintainer/[organization]/(topbar)/layout 463.47 KB 689.99 KB 197.14% (🟡 +0.08%)
/maintainer/[organization]/(topbar)/donations/overview/page 580.62 KB 807.14 KB 230.61% (🟡 +0.07%)
/maintainer/[organization]/(topbar)/funding/page 484.52 KB 711.04 KB 203.15% (🟡 +0.07%)
/maintainer/[organization]/(topbar)/issues/badge/page 475.6 KB 702.12 KB 200.61% (🟡 +0.06%)
/maintainer/[organization]/(topbar)/members/page 453.55 KB 680.07 KB 194.31% (🟡 +0.06%)
/maintainer/[organization]/(topbar)/issues/overview/page 491.78 KB 718.3 KB 205.23% (🟡 +0.07%)
/maintainer/[organization]/(topbar)/overview/page 480.14 KB 706.66 KB 201.90% (🟡 +0.07%)
/maintainer/[organization]/(topbar)/posts/analytics/page 573.72 KB 800.25 KB 228.64% (🟡 +0.07%)
/maintainer/[organization]/(topbar)/products/overview/page 482.98 KB 709.5 KB 202.72% (🟡 +0.06%)
/maintainer/[organization]/(topbar)/posts/page 564.28 KB 790.8 KB 225.94% (🟡 +0.07%)
/maintainer/[organization]/(topbar)/sales/overview/page 577.21 KB 803.74 KB 229.64% (🟡 +0.07%)
/maintainer/[organization]/(topbar)/products/benefits/page 545.64 KB 772.16 KB 220.62% (🟡 +0.06%)
/maintainer/[organization]/(topbar)/sales/orders/page 485.95 KB 712.47 KB 203.56% (🟡 +0.07%)
/maintainer/[organization]/(topbar)/settings/page 468.21 KB 694.73 KB 198.49% (🟡 +0.07%)
/maintainer/[organization]/(topbar)/settings/webhooks/endpoints/[id]/page 495.48 KB 722 KB 206.28% (🟡 +0.07%)
/maintainer/[organization]/(topbar)/sales/subscriptions/page 498.82 KB 725.34 KB 207.24% (🟡 +0.07%)
/maintainer/[organization]/(white)/posts/[post]/page 561.29 KB 787.81 KB 225.09% (🟡 +0.08%)
/maintainer/[organization]/(white)/layout 448.06 KB 674.58 KB 192.74% (🟡 +0.06%)
/maintainer/[organization]/(white)/posts/new/page 558.93 KB 785.45 KB 224.41% (🟡 +0.09%)
/maintainer/[organization]/products/[id]/page 535.11 KB 761.63 KB 217.61% (🟡 +0.08%)
/maintainer/[organization]/products/layout 448.06 KB 674.58 KB 192.74% (🟡 +0.06%)
/maintainer/[organization]/products/new/page 534.79 KB 761.32 KB 217.52% (🟡 +0.08%)
/maintainer/[organization]/promote/page 470.12 KB 696.64 KB 199.04% (🟡 +0.08%)
/maintainer/[organization]/promote/layout 448.06 KB 674.58 KB 192.74% (🟡 +0.06%)
/docs/(mdx)/layout 400.53 KB 627.05 KB 179.16% (🟡 +0.06%)
/docs/(mdx)/finance/payouts/page 30.51 KB 257.04 KB 73.44% (+/- <0.01%)
/docs/api/(mdx)/layout 400.52 KB 627.04 KB 179.16% (🟡 +0.06%)
/docs/contribute/layout 400.53 KB 627.05 KB 179.16% (🟡 +0.06%)
/docs/support/layout 400.53 KB 627.05 KB 179.16% (🟡 +0.06%)
/(topbar)/(backer)/finance/layout 154.27 KB 380.79 KB 108.80% (🟡 +0.01%)
/maintainer/[organization]/(topbar)/finance/layout 448.06 KB 674.58 KB 192.74% (🟡 +0.06%)
/maintainer/[organization]/(topbar)/finance/issue-funding/layout 448.06 KB 674.58 KB 192.74% (🟡 +0.06%)
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.

@birkjernstrom birkjernstrom marked this pull request as ready for review July 17, 2024 07:01
@birkjernstrom birkjernstrom merged commit a3d4bd2 into main Jul 17, 2024
11 checks passed
@birkjernstrom birkjernstrom deleted the feat/sales-notifications branch July 17, 2024 07:02
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.

Send notification/email to creator on products sold
1 participant