polarsource / polar

Polar is the best funding & monetization platform for developers. From first donation to IPO.
https://polar.sh
Apache License 2.0
1.57k stars 53 forks source link

clients/web/docs: add OAuth2 client management to auth docs #3635

Closed frankie567 closed 1 month ago

frankie567 commented 1 month ago

Fix #3535

vercel[bot] commented 1 month ago

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 10, 2024 11:24am
1 Skipped Deployment | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **polar-next-js-example** | ⬜️ Ignored ([Inspect](https://vercel.com/polar-sh/polar-next-js-example/C1z8rousknhgTqgN2zyYQ9BtxKCs)) | | | Jul 10, 2024 11:24am |
github-actions[bot] commented 1 month ago

📦 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 226.42 KB (🟡 +2 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!

Fifty-nine 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 449.5 KB 675.92 KB 193.12% (+/- <0.01%)
/(topbar)/layout 183.44 KB 409.86 KB 117.10% (+/- <0.01%)
/[organization]/(sidebar)/layout 192.73 KB 419.15 KB 119.76% (+/- <0.01%)
/[organization]/(sidebar)/issues/page 127.41 KB 353.83 KB 101.09% (+/- <0.01%)
/[organization]/(sidebar)/page 231.18 KB 457.6 KB 130.74% (🟢 -0.01%)
/[organization]/(sidebar)/posts/page 138.96 KB 365.39 KB 104.40% (🟢 -0.01%)
/[organization]/(sidebar)/products/page 103.35 KB 329.77 KB 94.22% (🟢 -0.02%)
/[organization]/[repo]/issues/[number]/(create)/page 154.78 KB 381.2 KB 108.91% (+/- <0.01%)
/[organization]/[repo]/layout 132.33 KB 358.75 KB 102.50% (🟡 +0.01%)
/[organization]/[repo]/page 222.56 KB 448.99 KB 128.28% (🟢 -0.01%)
/backoffice/layout 456.69 KB 683.11 KB 195.17% (+/- <0.01%)
/docs/api/[...endpoint]/page 420.85 KB 647.27 KB 184.93% (+/- <0.01%)
/docs/layout 130.73 KB 357.16 KB 102.04% (🟡 +0.01%)
/(landing)/(features)/newsletters/page 154.42 KB 380.84 KB 108.81% (+/- <0.01%)
/(landing)/(features)/products/page 153.84 KB 380.26 KB 108.65% (🟢 -0.01%)
/(landing)/page 138.86 KB 365.28 KB 104.37% (🟡 +0.04%)
/(landing)/(features)/donations/page 138.95 KB 365.38 KB 104.39% (🟡 +0.04%)
/(landing)/(features)/issue-funding/page 138.96 KB 365.38 KB 104.39% (🟡 +0.04%)
/(landing)/(features)/benefits/page 138.96 KB 365.38 KB 104.39% (🟡 +0.04%)
/(topbar)/(backer)/purchases/products/[id]/page 209.8 KB 436.22 KB 124.64% (+/- <0.01%)
/(topbar)/(backer)/purchases/products/page 103.28 KB 329.71 KB 94.20% (🟢 -0.01%)
/(topbar)/(backer)/purchases/subscriptions/[id]/page 211.71 KB 438.13 KB 125.18% (+/- <0.01%)
/(topbar)/(backer)/settings/page 216.37 KB 442.79 KB 126.51% (🟡 +0.11%)
/maintainer/[organization]/(topbar)/donations/overview/page 573.89 KB 800.32 KB 228.66% (+/- <0.01%)
/maintainer/[organization]/(topbar)/layout 456.69 KB 683.11 KB 195.17% (+/- <0.01%)
/maintainer/[organization]/(topbar)/funding/page 477.8 KB 704.23 KB 201.21% (+/- <0.01%)
/maintainer/[organization]/(topbar)/issues/badge/page 468.88 KB 695.3 KB 198.66% (+/- <0.01%)
/maintainer/[organization]/(topbar)/issues/overview/page 485.05 KB 711.48 KB 203.28% (+/- <0.01%)
/maintainer/[organization]/(topbar)/members/page 446.83 KB 673.25 KB 192.36% (+/- <0.01%)
/maintainer/[organization]/(topbar)/posts/analytics/page 566.99 KB 793.42 KB 226.69% (+/- <0.01%)
/maintainer/[organization]/(topbar)/products/benefits/page 538.76 KB 765.19 KB 218.62% (+/- <0.01%)
/maintainer/[organization]/(topbar)/posts/page 557.55 KB 783.98 KB 223.99% (+/- <0.01%)
/maintainer/[organization]/(topbar)/products/overview/page 476.26 KB 702.69 KB 200.77% (+/- <0.01%)
/maintainer/[organization]/(topbar)/sales/orders/page 479.23 KB 705.65 KB 201.61% (+/- <0.01%)
/maintainer/[organization]/(topbar)/sales/overview/page 570.48 KB 796.91 KB 227.69% (+/- <0.01%)
/maintainer/[organization]/(topbar)/sales/subscriptions/page 492.1 KB 718.52 KB 205.29% (+/- <0.01%)
/maintainer/[organization]/(topbar)/settings/page 461.48 KB 687.9 KB 196.54% (🟢 -0.25%)
/maintainer/[organization]/(white)/posts/[post]/page 554.51 KB 780.93 KB 223.12% (+/- <0.01%)
/maintainer/[organization]/(white)/layout 441.35 KB 667.77 KB 190.79% (+/- <0.01%)
/maintainer/[organization]/(topbar)/settings/webhooks/endpoints/[id]/page 488.75 KB 715.17 KB 204.33% (+/- <0.01%)
/maintainer/[organization]/products/[id]/page 528.17 KB 754.6 KB 215.60% (+/- <0.01%)
/maintainer/[organization]/products/layout 441.35 KB 667.77 KB 190.79% (+/- <0.01%)
/maintainer/[organization]/(white)/posts/new/page 552.14 KB 778.57 KB 222.45% (+/- <0.01%)
/maintainer/[organization]/promote/page 463.33 KB 689.76 KB 197.07% (+/- <0.01%)
/maintainer/[organization]/promote/layout 441.35 KB 667.77 KB 190.79% (+/- <0.01%)
/maintainer/[organization]/products/new/page 527.86 KB 754.28 KB 215.51% (+/- <0.01%)
/docs/(mdx)/layout 393.1 KB 619.53 KB 177.01% (+/- <0.01%)
/docs/api/(mdx)/authentication/page 196.47 KB 422.9 KB 120.83% (🔴 +46.59%)
/docs/api/(mdx)/layout 393.09 KB 619.52 KB 177.00% (+/- <0.01%)
/docs/contribute/layout 393.1 KB 619.53 KB 177.01% (+/- <0.01%)
/docs/support/layout 393.1 KB 619.53 KB 177.01% (+/- <0.01%)
/(topbar)/(backer)/(sidebar)/feed/page 136.16 KB 362.58 KB 103.59% (🟢 -0.01%)
/(topbar)/(backer)/(sidebar)/funding/page 201.22 KB 427.64 KB 122.18% (+/- <0.01%)
/(topbar)/(backer)/finance/incoming/page 186.24 KB 412.66 KB 117.90% (🟢 -0.20%)
/(topbar)/(backer)/finance/outgoing/page 138.36 KB 364.79 KB 104.22% (🟢 -0.20%)
/maintainer/[organization]/(topbar)/finance/layout 441.34 KB 667.77 KB 190.79% (+/- <0.01%)
/maintainer/[organization]/(topbar)/finance/incoming/page 187.64 KB 414.06 KB 118.30% (🟢 -0.20%)
/maintainer/[organization]/(topbar)/finance/outgoing/page 139.42 KB 365.84 KB 104.53% (🟢 -0.21%)
/maintainer/[organization]/(topbar)/finance/issue-funding/layout 441.34 KB 667.77 KB 190.79% (+/- <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.