Skip to content

Conversation

@MananTank
Copy link
Member

@MananTank MananTank commented Jan 6, 2026


PR-Codex overview

This PR focuses on enhancing the token selection UI in the SwapWidget and BridgeWidget by adding a token details screen and improving the display of token information.

Detailed summary

  • Added a token details screen in the TokenSelectionScreen component.
  • Updated SelectedTokenButton to improve token symbol display.
  • Introduced useTokenPrice hook for fetching token prices.
  • Enhanced TokenButton with an info button to trigger token details.
  • Implemented TokenInfoScreen and TokenInfoRow components for displaying token details.
  • Modified SelectTokenUI to include currency prop and improved layout.
  • Adjusted styles for better token information presentation.

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

@linear
Copy link

linear bot commented Jan 6, 2026

@changeset-bot
Copy link

changeset-bot bot commented Jan 6, 2026

🦋 Changeset detected

Latest commit: a3ff757

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages
Name Type
thirdweb Patch
@thirdweb-dev/nebula Patch
@thirdweb-dev/wagmi-adapter Patch
wagmi-inapp Patch

Not sure what this means? Click here to learn what changesets are.

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

@vercel
Copy link

vercel bot commented Jan 6, 2026

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

Project Deployment Review Updated (UTC)
docs-v2 Ready Ready Preview, Comment Jan 6, 2026 9:26pm
nebula Ready Ready Preview, Comment Jan 6, 2026 9:26pm
thirdweb_playground Ready Ready Preview, Comment Jan 6, 2026 9:26pm
thirdweb-www Ready Ready Preview, Comment Jan 6, 2026 9:26pm
wallet-ui Ready Ready Preview, Comment Jan 6, 2026 9:26pm

@github-actions github-actions bot added packages SDK Involves changes to the thirdweb SDK labels Jan 6, 2026
@MananTank MananTank marked this pull request as ready for review January 6, 2026 20:22
@MananTank MananTank requested review from a team as code owners January 6, 2026 20:22
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 6, 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.

Copy link
Member Author

MananTank commented Jan 6, 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 6, 2026

Codecov Report

❌ Patch coverage is 4.87805% with 273 lines in your changes missing coverage. Please review.
✅ Project coverage is 53.00%. Comparing base (01004e8) to head (a3ff757).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...eact/web/ui/Bridge/swap-widget/select-token-ui.tsx 4.38% 218 Missing ⚠️
...rdweb/src/react/web/ui/Bridge/swap-widget/hooks.ts 13.63% 19 Missing ⚠️
.../src/react/web/ui/ConnectWallet/icons/InfoIcon.tsx 5.26% 18 Missing ⚠️
...web/ui/ConnectWallet/screens/formatTokenBalance.ts 0.00% 9 Missing ⚠️
...act/web/ui/Bridge/common/selected-token-button.tsx 0.00% 8 Missing ⚠️
...es/thirdweb/src/react/web/ui/Bridge/FundWallet.tsx 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8608      +/-   ##
==========================================
- Coverage   53.21%   53.00%   -0.22%     
==========================================
  Files         922      923       +1     
  Lines       61457    61721     +264     
  Branches     4041     4031      -10     
==========================================
+ Hits        32703    32713      +10     
- Misses      28656    28910     +254     
  Partials       98       98              
Flag Coverage Δ
packages 53.00% <4.87%> (-0.22%) ⬇️
Files with missing lines Coverage Δ
...es/thirdweb/src/react/web/ui/Bridge/FundWallet.tsx 6.23% <0.00%> (-0.02%) ⬇️
...act/web/ui/Bridge/common/selected-token-button.tsx 7.19% <0.00%> (-0.27%) ⬇️
...web/ui/ConnectWallet/screens/formatTokenBalance.ts 27.08% <0.00%> (-6.25%) ⬇️
.../src/react/web/ui/ConnectWallet/icons/InfoIcon.tsx 5.26% <5.26%> (ø)
...rdweb/src/react/web/ui/Bridge/swap-widget/hooks.ts 17.77% <13.63%> (-3.97%) ⬇️
...eact/web/ui/Bridge/swap-widget/select-token-ui.tsx 4.38% <4.38%> (-0.41%) ⬇️

... and 1 file with indirect coverage changes

🚀 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 6, 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 6, 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 token selection UI by adding a token details screen and improving the display of token information within the `SwapWidget` and `BridgeWidget`.

### Detailed summary
- Added a token details screen in the token selection UI.
- Enhanced the `SelectedTokenButton` to include a more flexible display of the token symbol.
- Introduced `useTokenPrice` hook for fetching token prices.
- Updated `TokenButton` to include an info button for showing token details.
- Created `TokenInfoScreen` and `TokenInfoRow` components for displaying detailed token information.
- Integrated token info functionality into `TokenSelectionScreen`.

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

<!-- end pr-codex -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

packages SDK Involves changes to the thirdweb SDK

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants