Skip to content

Conversation

@MananTank
Copy link
Member

@MananTank MananTank commented Jan 7, 2026


PR-Codex overview

This PR focuses on enhancing the buy widget functionality and improving iframe integration within the application. It introduces new components and refines existing logic to support multiple widget types.

Detailed summary

  • Updated conditions for rendering components based on widget type.
  • Changed Page function to be asynchronous and handle searchParams.
  • Modified CodeGen to accommodate both buy and checkout widgets.
  • Created CheckoutIframePreview and BuyWidgetIframePreview components for better iframe handling.
  • Implemented buildBuyIframeUrl function for generating URLs specific to the buy widget.
  • Enhanced BuyPlayground to manage state and URL updates based on the selected integration type.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@vercel
Copy link

vercel bot commented Jan 7, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
thirdweb_playground Ready Ready Preview, Comment Jan 7, 2026 8:27pm
4 Skipped Deployments
Project Deployment Review Updated (UTC)
docs-v2 Skipped Skipped Jan 7, 2026 8:27pm
nebula Skipped Skipped Jan 7, 2026 8:27pm
thirdweb-www Skipped Skipped Jan 7, 2026 8:27pm
wallet-ui Skipped Skipped Jan 7, 2026 8:27pm

@linear
Copy link

linear bot commented Jan 7, 2026

@vercel vercel bot temporarily deployed to Preview – wallet-ui January 7, 2026 20:12 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 January 7, 2026 20:12 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb-www January 7, 2026 20:12 Inactive
@changeset-bot
Copy link

changeset-bot bot commented Jan 7, 2026

⚠️ No Changeset found

Latest commit: d35cad8

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel vercel bot temporarily deployed to Preview – nebula January 7, 2026 20:12 Inactive
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 7, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

@MananTank MananTank marked this pull request as ready for review January 7, 2026 20:12
@MananTank MananTank requested review from a team as code owners January 7, 2026 20:12
@github-actions github-actions bot added the Playground Changes involving the Playground codebase. label Jan 7, 2026
Copy link
Member Author

MananTank commented Jan 7, 2026


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • merge-queue - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@codecov
Copy link

codecov bot commented Jan 7, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 53.02%. Comparing base (c1275a5) to head (d35cad8).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #8615   +/-   ##
=======================================
  Coverage   53.02%   53.02%           
=======================================
  Files         924      924           
  Lines       61726    61726           
  Branches     4035     4035           
=======================================
  Hits        32730    32730           
  Misses      28898    28898           
  Partials       98       98           
Flag Coverage Δ
packages 53.02% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 7, 2026

size-limit report 📦

Path Size
@thirdweb-dev/nexus (esm) 105.66 KB (0%)
@thirdweb-dev/nexus (cjs) 319.47 KB (0%)

@graphite-app
Copy link
Contributor

graphite-app bot commented Jan 7, 2026

Merge activity

<!--

## 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 focuses on enhancing the `buy` widget functionality by introducing iframe support and improving the handling of integration types. It also adds new components for rendering iframe previews and updates the URL management for better integration experience.

### Detailed summary
- Updated `LeftSection.tsx` to allow both `checkout` and `buy` widgets for iframe integration.
- Modified `Page` component in `page.tsx` to handle async `searchParams` and pass `defaultTab` to `BuyPlayground`.
- Enhanced `CodeGen` to support widget type in iframe code generation.
- Added `CheckoutIframePreview` and `BuyWidgetIframePreview` components in `RightSection.tsx` for rendering respective iframes.
- Created `buildBuyIframeUrl` function in `buildBuyIframeUrl.ts` for generating URLs for the buy widget.
- Updated `BuyPlayground` to manage state and URL for integration type selection using tabs.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
@vercel vercel bot temporarily deployed to Preview – wallet-ui January 7, 2026 20:23 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 January 7, 2026 20:23 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb-www January 7, 2026 20:23 Inactive
@vercel vercel bot temporarily deployed to Preview – nebula January 7, 2026 20:23 Inactive
Base automatically changed from mny-354 to main January 7, 2026 20:34
@graphite-app graphite-app bot merged commit d35cad8 into main Jan 7, 2026
23 checks passed
@graphite-app graphite-app bot deleted the mny-355 branch January 7, 2026 20:35
@vercel vercel bot temporarily deployed to Production – nebula January 7, 2026 20:35 Inactive
@vercel vercel bot temporarily deployed to Production – thirdweb-www January 7, 2026 20:35 Inactive
@vercel vercel bot temporarily deployed to Production – docs-v2 January 7, 2026 20:35 Inactive
@vercel vercel bot temporarily deployed to Production – wallet-ui January 7, 2026 20:35 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Playground Changes involving the Playground codebase.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants