Skip to content

Conversation

@MananTank
Copy link
Member

@MananTank MananTank commented Sep 24, 2025


PR-Codex overview

This PR focuses on enhancing the handling of currency in transaction details across various components in the thirdweb package, ensuring better support for undefined currency values and introducing a new story for displaying a transaction in JPY.

Detailed summary

  • Updated currency property in useTransactionDetails.ts to allow undefined.
  • Added currency to the transaction details in PaymentOverview.tsx.
  • Included currency in the transaction data for TransactionPayment.tsx.
  • Introduced a new story TransactionJPYCurrency for ERC20 token transfer in light theme, specifying JPY as the currency.

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

@linear
Copy link

linear bot commented Sep 24, 2025

@vercel
Copy link

vercel bot commented Sep 24, 2025

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

Project Deployment Preview Comments Updated (UTC)
docs-v2 Ready Ready Preview Comment Sep 24, 2025 10:31pm
nebula Ready Ready Preview Comment Sep 24, 2025 10:31pm
thirdweb_playground Ready Ready Preview Comment Sep 24, 2025 10:31pm
thirdweb-www Ready Ready Preview Comment Sep 24, 2025 10:31pm
wallet-ui Ready Ready Preview Comment Sep 24, 2025 10:31pm

@changeset-bot
Copy link

changeset-bot bot commented Sep 24, 2025

⚠️ No Changeset found

Latest commit: 7936ebb

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

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Sep 24, 2025

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.

✨ Finishing touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch mny-180

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

Copy link
Member Author

MananTank commented Sep 24, 2025


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.

@github-actions
Copy link
Contributor

github-actions bot commented Sep 24, 2025

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 64.07 KB (0%) 1.3 s (0%) 337 ms (+87.74% 🔺) 1.7 s
thirdweb (cjs) 361.6 KB (0%) 7.3 s (0%) 1.6 s (+4.93% 🔺) 8.8 s
thirdweb (minimal + tree-shaking) 5.73 KB (0%) 115 ms (0%) 125 ms (+1664.69% 🔺) 240 ms
thirdweb/chains (tree-shaking) 526 B (0%) 11 ms (0%) 78 ms (+1162.42% 🔺) 88 ms
thirdweb/react (minimal + tree-shaking) 19.14 KB (0%) 383 ms (0%) 113 ms (+1267.8% 🔺) 496 ms

@codecov
Copy link

codecov bot commented Sep 24, 2025

Codecov Report

❌ Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 56.24%. Comparing base (3b986d5) to head (7936ebb).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
...web/src/react/web/ui/Bridge/TransactionPayment.tsx 0.00% 1 Missing ⚠️
.../web/ui/Bridge/payment-details/PaymentOverview.tsx 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8118      +/-   ##
==========================================
- Coverage   56.27%   56.24%   -0.03%     
==========================================
  Files         906      906              
  Lines       59191    59193       +2     
  Branches     4171     4169       -2     
==========================================
- Hits        33308    33293      -15     
- Misses      25778    25797      +19     
+ Partials      105      103       -2     
Flag Coverage Δ
packages 56.24% <0.00%> (-0.03%) ⬇️
Files with missing lines Coverage Δ
...dweb/src/react/core/hooks/useTransactionDetails.ts 12.12% <ø> (ø)
...web/src/react/web/ui/Bridge/TransactionPayment.tsx 6.42% <0.00%> (-0.02%) ⬇️
.../web/ui/Bridge/payment-details/PaymentOverview.tsx 5.05% <0.00%> (-0.02%) ⬇️

... and 3 files 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.

@graphite-app
Copy link
Contributor

graphite-app bot commented Sep 24, 2025

Merge activity

@graphite-app graphite-app bot force-pushed the 09-25-sdk_rename_leftover_of_universal_bridge_to_bridge branch 2 times, most recently from 2d05ee0 to 89acabc Compare September 24, 2025 20:40
)

<!--

## 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 updating the handling of the `currency` property in various components and adding a new story for a transaction mode in light theme that showcases an ERC20 token transfer.

### Detailed summary
- Changed `currency` from optional to required in `useTransactionDetails.ts`.
- Added `currency` to the props in `PaymentOverview.tsx` and `TransactionPayment.tsx`.
- Introduced a new story `TransactionJPYCurrency` in `BridgeOrchestrator.stories.tsx` for displaying an ERC20 token transfer in light theme.

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

<!-- end pr-codex -->
@graphite-app graphite-app bot force-pushed the 09-25-sdk_rename_leftover_of_universal_bridge_to_bridge branch from 89acabc to 3b986d5 Compare September 24, 2025 21:44
Base automatically changed from 09-25-sdk_rename_leftover_of_universal_bridge_to_bridge to main September 24, 2025 22:48
@graphite-app graphite-app bot merged commit 7936ebb into main Sep 24, 2025
22 of 23 checks passed
@graphite-app graphite-app bot deleted the mny-180 branch September 24, 2025 22:48
@vercel vercel bot temporarily deployed to Production – nebula September 24, 2025 22:54 Inactive
@vercel vercel bot temporarily deployed to Production – wallet-ui September 24, 2025 23:03 Inactive
@vercel vercel bot temporarily deployed to Production – thirdweb-www September 24, 2025 23:04 Inactive
@vercel vercel bot temporarily deployed to Production – thirdweb_playground September 24, 2025 23:06 Inactive
@vercel vercel bot temporarily deployed to Production – docs-v2 September 24, 2025 23:17 Inactive
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.

3 participants