-
Couldn't load subscription status.
- Fork 612
[MNY-243] Update /pay page to render BuyWidget #8297
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests (beta)
Comment |
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
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. |
size-limit report 📦
|
Codecov Report❌ Patch coverage is
❌ Your patch status has failed because the patch coverage (0.00%) is below the target coverage (80.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## main #8297 +/- ##
==========================================
- Coverage 54.92% 54.91% -0.02%
==========================================
Files 919 919
Lines 60665 60664 -1
Branches 4141 4129 -12
==========================================
- Hits 33322 33313 -9
- Misses 27240 27249 +9
+ Partials 103 102 -1
🚀 New features to boost your workflow:
|
Merge activity
|
…verAddress is set (#8296) <!-- ## 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 modifying the `BuyWidget` component to allow users to bypass wallet connection if a `receiverAddress` is provided. It updates the logic for displaying connection prompts based on the presence of this address. ### Detailed summary - Updated `BuyWidget` to not require wallet connection if `receiverAddress` is set. - Removed `activeWalletInfo` dependency from the condition for displaying the `FundWallet`. - Introduced `showConnectButton` variable to determine if the connect button should be shown. - Simplified the rendering logic for the connect button in `FundWallet`. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
<!--
## 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 payment functionalities in the `pay` module by adding new wallet integrations, improving the UI components, and refactoring the `PayPage` logic for better handling of search parameters and rendering.
### Detailed summary
- Added `createWallet` for `com.okex.wallet` in multiple components.
- Introduced `payLandingWallets` with new wallet options.
- Refactored `PayPage` to use `StyledBuyWidget` and `PayLandingHeader`.
- Improved theme toggling with `ToggleThemeButton`.
- Simplified `PayPage` logic for handling search parameters.
- Removed unused imports and components, including `PaymentLinkForm`.
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
<!-- end pr-codex -->
77e1de7 to
49824ce
Compare
02d48e3 to
8d5d3b7
Compare

PR-Codex overview
This PR focuses on enhancing the wallet integration and user interface for the payment system. It introduces new wallet options, refactors components for better usability, and updates the layout for improved responsiveness.
Detailed summary
createWalletforcom.okex.walletin various components.payLandingWalletswith multiple wallet options.PayPageto useStyledBuyWidgetandPayLandingHeader.PayProvidersusage in layout.ToggleThemeButtonfor theme switching.DotsBackgroundPatternfor UI enhancement.