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

Docs: add more entity selectors #3620

Merged
merged 6 commits into from
Jul 9, 2024
Merged

Conversation

frankie567
Copy link
Member

No description provided.

Copy link

vercel bot commented Jul 9, 2024

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

Name Status Preview Comments Updated (UTC)
polar ❌ Failed (Inspect) Jul 9, 2024 8:52am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
polar-next-js-example ⬜️ Ignored (Inspect) Visit Preview Jul 9, 2024 8:52am

Copy link
Contributor

github-actions bot commented Jul 9, 2024

📦 Next.js Bundle Analysis for web

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

⚠️ Global Bundle Size Increased

Page Size (compressed)
global 224.12 KB (🟡 +1 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!

Ninety 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 444.73 KB 668.85 KB 191.10% (+/- <0.01%)
/(topbar)/checkout/success/page 94.46 KB 318.58 KB 91.02% (+/- <0.01%)
/(topbar)/layout 183.31 KB 407.44 KB 116.41% (+/- <0.01%)
/[organization]/(sidebar)/donate/page 197.91 KB 422.03 KB 120.58% (+/- <0.01%)
/[organization]/(sidebar)/layout 192.52 KB 416.65 KB 119.04% (+/- <0.01%)
/[organization]/(sidebar)/issues/page 127.29 KB 351.41 KB 100.40% (+/- <0.01%)
/[organization]/(sidebar)/page 231.09 KB 455.22 KB 130.06% (+/- <0.01%)
/[organization]/(sidebar)/posts/[postSlug]/page 197.52 KB 421.65 KB 120.47% (+/- <0.01%)
/[organization]/(sidebar)/products/[productId]/page 135.77 KB 359.89 KB 102.83% (🟢 -0.01%)
/[organization]/(sidebar)/posts/page 138.87 KB 363 KB 103.71% (+/- <0.01%)
/[organization]/(sidebar)/products/page 103.3 KB 327.42 KB 93.55% (+/- <0.01%)
/[organization]/(sidebar)/subscriptions/page 157.49 KB 381.61 KB 109.03% (+/- <0.01%)
/[organization]/[repo]/issues/[number]/(create)/page 154.66 KB 378.79 KB 108.22% (+/- <0.01%)
/[organization]/[repo]/layout 132.13 KB 356.25 KB 101.79% (🟢 -0.01%)
/[organization]/[repo]/issues/[number]/status/page 181.17 KB 405.29 KB 115.80% (+/- <0.01%)
/[organization]/subscribe/page 144.52 KB 368.65 KB 105.33% (+/- <0.01%)
/backoffice/badge/page 52.93 KB 277.06 KB 79.16% (+/- <0.01%)
/backoffice/layout 451.91 KB 676.03 KB 193.15% (+/- <0.01%)
/[organization]/[repo]/page 222.46 KB 446.59 KB 127.60% (🟢 -0.01%)
/backoffice/pledges/page 64.66 KB 288.78 KB 82.51% (+/- <0.01%)
/backoffice/issue/[id]/page 62.53 KB 286.65 KB 81.90% (+/- <0.01%)
/backoffice/rewards_pending/page 66.15 KB 290.27 KB 82.94% (🟢 -0.01%)
/maintainer/(onboarding)/[organization]/onboarding/page 123.07 KB 347.19 KB 99.20% (+/- <0.01%)
/docs/api/[...endpoint]/page 416.06 KB 640.19 KB 182.91% (🟡 +0.01%)
/docs/layout 130.54 KB 354.66 KB 101.33% (+/- <0.01%)
/(landing)/(features)/donations/page 138.71 KB 362.84 KB 103.67% (+/- <0.01%)
/(landing)/(features)/issue-funding/page 138.72 KB 362.84 KB 103.67% (+/- <0.01%)
/(landing)/(features)/newsletters/page 154.31 KB 378.44 KB 108.12% (+/- <0.01%)
/(landing)/(features)/benefits/page 138.72 KB 362.84 KB 103.67% (+/- <0.01%)
/(landing)/page 138.58 KB 362.71 KB 103.63% (+/- <0.01%)
/(landing)/(features)/products/page 153.75 KB 377.88 KB 107.96% (+/- <0.01%)
/(topbar)/(backer)/layout 53.59 KB 277.71 KB 79.35% (🟢 -0.01%)
/(topbar)/(backer)/purchases/products/[id]/page 209.66 KB 433.78 KB 123.94% (🟢 -0.01%)
/(topbar)/(backer)/purchases/subscriptions/[id]/page 211.57 KB 435.69 KB 124.48% (+/- <0.01%)
/(topbar)/(backer)/purchases/products/page 103.2 KB 327.33 KB 93.52% (+/- <0.01%)
/(topbar)/(backer)/purchases/subscriptions/page 96.59 KB 320.71 KB 91.63% (+/- <0.01%)
/(topbar)/(backer)/settings/page 215.88 KB 440 KB 125.71% (+/- <0.01%)
/maintainer/[organization]/(topbar)/layout 451.91 KB 676.03 KB 193.15% (+/- <0.01%)
/maintainer/[organization]/(topbar)/donations/overview/page 569.11 KB 793.23 KB 226.64% (+/- <0.01%)
/maintainer/[organization]/(topbar)/initialize/page 150.56 KB 374.68 KB 107.05% (+/- <0.01%)
/maintainer/[organization]/(topbar)/funding/page 473.02 KB 697.15 KB 199.19% (🟢 -0.01%)
/maintainer/[organization]/(topbar)/issues/badge/page 464.1 KB 688.23 KB 196.64% (+/- <0.01%)
/maintainer/[organization]/(topbar)/issues/overview/page 480.28 KB 704.4 KB 201.26% (+/- <0.01%)
/maintainer/[organization]/(topbar)/members/page 442.05 KB 666.17 KB 190.33% (+/- <0.01%)
/maintainer/[organization]/(topbar)/overview/page 468.63 KB 692.76 KB 197.93% (+/- <0.01%)
/maintainer/[organization]/(topbar)/posts/analytics/page 562.21 KB 786.33 KB 224.67% (+/- <0.01%)
/maintainer/[organization]/(topbar)/posts/page 552.77 KB 776.89 KB 221.97% (+/- <0.01%)
/maintainer/[organization]/(topbar)/products/overview/page 471.48 KB 695.61 KB 198.74% (+/- <0.01%)
/maintainer/[organization]/(topbar)/products/benefits/page 533.98 KB 758.11 KB 216.60% (+/- <0.01%)
/maintainer/[organization]/(topbar)/sales/orders/page 474.45 KB 698.57 KB 199.59% (+/- <0.01%)
/maintainer/[organization]/(topbar)/sales/overview/page 565.7 KB 789.83 KB 225.66% (+/- <0.01%)
/maintainer/[organization]/(topbar)/sales/subscriptions/page 487.31 KB 711.44 KB 203.27% (+/- <0.01%)
/maintainer/[organization]/(topbar)/settings/page 457.58 KB 681.71 KB 194.77% (+/- <0.01%)
/maintainer/[organization]/(topbar)/settings/webhooks/endpoints/[id]/page 483.96 KB 708.08 KB 202.31% (+/- <0.01%)
/maintainer/[organization]/(white)/posts/[post]/page 549.71 KB 773.83 KB 221.09% (+/- <0.01%)
/maintainer/[organization]/(white)/layout 436.58 KB 660.7 KB 188.77% (+/- <0.01%)
/maintainer/[organization]/(white)/posts/new/page 547.35 KB 771.48 KB 220.42% (+/- <0.01%)
/maintainer/[organization]/products/[id]/page 523.39 KB 747.51 KB 213.57% (+/- <0.01%)
/maintainer/[organization]/products/layout 436.58 KB 660.7 KB 188.77% (+/- <0.01%)
/maintainer/[organization]/products/new/page 523.07 KB 747.19 KB 213.48% (+/- <0.01%)
/maintainer/[organization]/promote/page 458.56 KB 682.68 KB 195.05% (+/- <0.01%)
/maintainer/[organization]/promote/layout 436.58 KB 660.7 KB 188.77% (+/- <0.01%)
/docs/(mdx)/benefits/page 30.5 KB 254.63 KB 72.75% (+/- <0.01%)
/docs/(mdx)/layout 388.32 KB 612.44 KB 174.98% (+/- <0.01%)
/docs/(mdx)/donations/page 30.5 KB 254.63 KB 72.75% (+/- <0.01%)
/docs/(mdx)/faq/for-backers/page 30.5 KB 254.63 KB 72.75% (+/- <0.01%)
/docs/(mdx)/faq/for-contributors/page 30.5 KB 254.63 KB 72.75% (+/- <0.01%)
/docs/api/(mdx)/layout 388.31 KB 612.43 KB 174.98% (+/- <0.01%)
/docs/api/(mdx)/page 30.5 KB 254.63 KB 72.75% (+/- <0.01%)
/docs/api/(mdx)/github-actions/page 30.5 KB 254.63 KB 72.75% (+/- <0.01%)
/docs/contribute/layout 388.32 KB 612.44 KB 174.98% (+/- <0.01%)
/docs/support/layout 388.32 KB 612.44 KB 174.98% (+/- <0.01%)
/(topbar)/(backer)/(sidebar)/feed/page 136.08 KB 360.2 KB 102.92% (🟢 -0.01%)
/(topbar)/(backer)/(sidebar)/layout 91.18 KB 315.3 KB 90.09% (🟢 -0.01%)
/(topbar)/(backer)/(sidebar)/funding/page 201.09 KB 425.22 KB 121.49% (+/- <0.01%)
/(topbar)/(backer)/finance/account/page 171.96 KB 396.08 KB 113.17% (🟢 -0.01%)
/(topbar)/(backer)/finance/layout 154.14 KB 378.26 KB 108.08% (🟢 -0.01%)
/(topbar)/(backer)/finance/issue-funding/contributors/page 70.9 KB 295.03 KB 84.29% (+/- <0.01%)
/(topbar)/(backer)/finance/issue-funding/page 71.49 KB 295.61 KB 84.46% (+/- <0.01%)
/(topbar)/(backer)/finance/incoming/page 186.83 KB 410.95 KB 117.42% (🟢 -0.01%)
/(topbar)/(backer)/finance/outgoing/page 138.95 KB 363.08 KB 103.74% (🟢 -0.01%)
/(topbar)/(backer)/finance/rewards/page 70.98 KB 295.11 KB 84.32% (🟢 -0.01%)
/maintainer/[organization]/(topbar)/finance/account/page 173.06 KB 397.18 KB 113.48% (+/- <0.01%)
/maintainer/[organization]/(topbar)/finance/layout 436.57 KB 660.7 KB 188.77% (+/- <0.01%)
/maintainer/[organization]/(topbar)/finance/incoming/page 188.22 KB 412.35 KB 117.81% (+/- <0.01%)
/maintainer/[organization]/(topbar)/finance/outgoing/page 140.01 KB 364.13 KB 104.04% (+/- <0.01%)
/maintainer/[organization]/(topbar)/finance/issue-funding/contributors/page 72.18 KB 296.31 KB 84.66% (+/- <0.01%)
/maintainer/[organization]/(topbar)/finance/issue-funding/layout 436.57 KB 660.7 KB 188.77% (+/- <0.01%)
/maintainer/[organization]/(topbar)/finance/issue-funding/rewarded/page 72.18 KB 296.3 KB 84.66% (+/- <0.01%)
/maintainer/[organization]/(topbar)/finance/issue-funding/page 72.9 KB 297.02 KB 84.86% (+/- <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.

…rray of the same type

For schemas that are like `uuid | uuid[]`, we don't want the widget twice. So we remove the array schema if there is a non-array schema with the same type.
@frankie567 frankie567 merged commit d2103f4 into main Jul 9, 2024
11 of 12 checks passed
@frankie567 frankie567 deleted the docs/more-entity-selectors branch July 9, 2024 08:56
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