Skip to content

Commit e281ed1

Browse files
committed
[Playground] Fix bridge/payments documentation links (#8549)
https://linear.app/thirdweb/issue/PRO-148/fix-playground-doc-links-for-bridge-components Update documentation links for bridge/payments widgets to follow consistent naming convention: - Buy Widget: wallets/sponsor-gas → references/typescript/v5/BuyWidget - Checkout Widget: payments → references/typescript/v5/CheckoutWidget - Transaction Widget: wallets/sponsor-gas → references/typescript/v5/TransactionWidget - Transaction Button: Add missing utm_source=playground parameter All links now point to /references/typescript/v5/{WidgetName} with utm_source tracking. 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- ## title your PR with this format: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes" If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000): ## Notes for the reviewer Anything important to call out? Be sure to also clarify these in your comments. ## How to test Unit tests, playground, etc. --> <!-- start pr-codex --> --- ## PR-Codex overview This PR updates the `docsLink` properties in several components to point to the correct documentation pages for various widgets in the `playground-web` application. ### Detailed summary - Updated `docsLink` in `apps/playground-web/src/app/bridge/buy-widget/page.tsx` to point to `BuyWidget`. - Updated `docsLink` in `apps/playground-web/src/app/bridge/checkout-widget/page.tsx` to point to `CheckoutWidget`. - Updated `docsLink` in `apps/playground-web/src/app/bridge/transaction-button/page.tsx` to include `?utm_source=playground`. - Updated `docsLink` in `apps/playground-web/src/app/bridge/transaction-widget/page.tsx` to point to `TransactionWidget`. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex --> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Documentation** * Updated documentation links across playground widgets to reference current TypeScript v5 documentation resources. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent 1169752 commit e281ed1

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

apps/playground-web/src/app/bridge/buy-widget/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export default function Page() {
2626
icon={ShoppingBagIcon}
2727
title={title}
2828
description={description}
29-
docsLink="https://portal.thirdweb.com/wallets/sponsor-gas?utm_source=playground"
29+
docsLink="https://portal.thirdweb.com/references/typescript/v5/BuyWidget?utm_source=playground"
3030
>
3131
<BuyPlayground />
3232
</PageLayout>

apps/playground-web/src/app/bridge/checkout-widget/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export default function Page() {
2626
icon={CreditCardIcon}
2727
title={title}
2828
description={description}
29-
docsLink="https://portal.thirdweb.com/payments?utm_source=playground"
29+
docsLink="https://portal.thirdweb.com/references/typescript/v5/CheckoutWidget?utm_source=playground"
3030
>
3131
<CheckoutPlayground />
3232
</PageLayout>

apps/playground-web/src/app/bridge/transaction-button/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export default function Page() {
2525
icon={ArrowLeftRightIcon}
2626
containerClassName="space-y-12"
2727
description={description}
28-
docsLink="https://portal.thirdweb.com/references/typescript/v5/TransactionButton"
28+
docsLink="https://portal.thirdweb.com/references/typescript/v5/TransactionButton?utm_source=playground"
2929
title={title}
3030
>
3131
<Example />

apps/playground-web/src/app/bridge/transaction-widget/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export default function Page() {
2626
icon={ArrowLeftRightIcon}
2727
containerClassName="space-y-12"
2828
description={description}
29-
docsLink="https://portal.thirdweb.com/wallets/sponsor-gas?utm_source=playground"
29+
docsLink="https://portal.thirdweb.com/references/typescript/v5/TransactionWidget?utm_source=playground"
3030
title={title}
3131
>
3232
<TransactionPlayground />

0 commit comments

Comments
 (0)