-
Notifications
You must be signed in to change notification settings - Fork 620
[MNY-246] Dashboard: Add Buy button in tokens table, update supported tokens count #8222
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
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. |
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
WalkthroughAdds a dedicated “Buy” action column to the tokens table with conditional navigation targets, adjusts header and skeleton to match the new column, tweaks avatar styling, removes the inline name link in favor of plain text, and updates copy to reflect “4500+ tokens” on tokens and bridge pages. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant TokensTable as TokensTable (UI)
participant Router as Link/Router
participant NativePage as Native Token Page
participant AddressPage as Token Address Page
User->>TokensTable: Click "Buy" button
TokensTable->>Router: Navigate to target (isNative ? native route : address route)
alt Token is native
Router->>NativePage: Open native token page
Note right of NativePage: Show native token purchase flow
else Token is not native
Router->>AddressPage: Open token address page
Note right of AddressPage: Show token address purchase flow
end
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Pre-merge checks and finishing touches❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro Disabled knowledge base sources:
📒 Files selected for processing (3)
🚧 Files skipped from review as they are similar to previous changes (3)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
Warning Review ran into problems🔥 ProblemsErrors were encountered while retrieving linked issues. Errors (1)
Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8222 +/- ##
=======================================
Coverage 55.02% 55.02%
=======================================
Files 919 919
Lines 60583 60583
Branches 4126 4126
=======================================
Hits 33333 33333
Misses 27146 27146
Partials 104 104
🚀 New features to boost your workflow:
|
size-limit report 📦
|
Merge activity
|
… tokens count (#8222) <!-- ## 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 token-related information and enhancing the `TokensTable` component in the dashboard, including the increase in the number of supported tokens and the addition of a buy button for each token. ### Detailed summary - Updated token count from `3200+` to `4500+` in `page.tsx`. - Changed description in `page.tsx` to reflect the new token count. - Modified `TokensTable` to display the updated token count. - Added a new button in `TokensTable` for buying tokens, including a link to the token's page. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex --> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - New Features - Added a Buy action column with a button in the tokens table, including proper skeleton alignment for the new column. - Style - Rounded token avatars for a refined look. - Simplified token name display by removing inline linking. - Documentation - Updated copy to reflect “4500+ tokens” on the tokens page and bridge page, including Open Graph/description and UI labels. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
eb0f428 to
6fc4d83
Compare

PR-Codex overview
This PR updates the token statistics in the dashboard and bridge pages, reflecting an increase in supported tokens. It also enhances the
TokensTablecomponent by adding a new button for buying tokens and improving the layout with additional table headers and cells.Detailed summary
3200+to4500+in the dashboard and bridge pages.<TableHead>in theTokensTablecomponent.<TableCell>with a<Skeleton>for loading state.TokensTablewith a button for buying tokens, including a link to the token's page.Summary by CodeRabbit
New Features
Style
Documentation