-
Notifications
You must be signed in to change notification settings - Fork 618
Portal: Add SwapWidget in bridge/swap page #8072
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
Portal: Add SwapWidget in bridge/swap page #8072
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
4 Skipped Deployments
|
|
|
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
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. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8072 +/- ##
=======================================
Coverage 56.34% 56.34%
=======================================
Files 906 906
Lines 59168 59168
Branches 4176 4176
=======================================
Hits 33341 33341
Misses 25721 25721
Partials 106 106
🚀 New features to boost your workflow:
|
size-limit report 📦
|
68f12be to
84e9985
Compare
84e9985 to
87f50be
Compare
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 updating the documentation for the `SwapWidget` component, simplifying the swap interface example, and enhancing user guidance on configuring default token selections.
### Detailed summary
- Added `DocImage` component to display `swap-dark.png`.
- Updated the swap interface example to use `SwapWidget`.
- Simplified the example function to `Example`.
- Provided instructions for configuring default token selections.
- Included code snippets for various default configurations.
- Removed the detailed implementation of the previous swap interface.
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
<!-- end pr-codex -->
87f50be to
b7b1d02
Compare
<!--
## 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 documentation for the `SwapWidget` component, simplifying the example code, and enhancing the user experience by adding new features and usage guidelines.
### Detailed summary
- Added `DocImage` component to display `swap-dark.png`.
- Simplified the swap interface example to use the `SwapWidget`.
- Introduced a live playground section for the `SwapWidget`.
- Added configuration options for default token selection in the widget.
- Removed the complex swap interface code for clarity.
- Included tips for gas optimization and route caching.
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
<!-- end pr-codex -->
b7b1d02 to
1d90437
Compare

PR-Codex overview
This PR enhances the documentation for the
SwapWidgetcomponent, introducing a simplified swap interface and showcasing its configuration options for default token selections. It removes the previous complex implementation and emphasizes usability.Detailed summary
DocImagecomponent to displayswap-dark.png.SwapWidgetcomponent.SwapInterfacefunction and its complexity.SwapWidget.