-
Notifications
You must be signed in to change notification settings - Fork 559
[TOOL-4856] Engine Server wallets table UI adjustment, Fix Vault Portal Link #7419
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
[TOOL-4856] Engine Server wallets table UI adjustment, Fix Vault Portal Link #7419
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
WalkthroughThe pull request updates the empty state rendering for the server wallets table by moving the "No server wallets found" message outside the table structure and displaying it in a centered div. Additionally, it updates a link in the Vault FTUX component to use a new URL and adds visible link text. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant WalletsTableUI
User->>WalletsTableUI: Loads wallets table
alt Wallets array is not empty
WalletsTableUI->>User: Render wallet rows in table
else Wallets array is empty
WalletsTableUI->>User: Render empty table body
WalletsTableUI->>User: Show "No server wallets found" message below table
end
Assessment against linked issues
Suggested reviewers
Warning Review ran into problems🔥 ProblemsErrors were encountered while retrieving linked issues. Errors (1)
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
🚧 Files skipped from review as they are similar to previous changes (2)
⏰ Context from checks skipped due to timeout of 90000ms (6)
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
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. |
19f08e4
to
3a5ef31
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #7419 +/- ##
=======================================
Coverage 52.08% 52.08%
=======================================
Files 947 947
Lines 63636 63636
Branches 4222 4222
=======================================
Hits 33146 33146
Misses 30384 30384
Partials 106 106
🚀 New features to boost your workflow:
|
size-limit report 📦
|
Merge activity
|
…al Link (#7419) <!-- ## 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 primarily focuses on enhancing the user interface in the dashboard by improving the handling of server wallets and updating the link for the Vault. ### Detailed summary - Updated the `href` in the `Link` component to point to `https://portal.thirdweb.com/vault` and added a "Learn more about Vault" text. - Refactored the rendering logic for wallets: - Removed the conditional rendering for "No server wallets found" and replaced it with a new div that displays this message when there are no wallets. - Streamlined the mapping of `wallets` to display each wallet's details within a `TableRow`. > ✨ 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 - **Bug Fixes** - Improved the display of the "No server wallets found" message, which now appears below the wallets table instead of inside it for better clarity. - **Style** - Updated the "Learn more about Vault" link to display clear link text and corrected its URL for improved user navigation. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
3a5ef31
to
0297411
Compare
PR-Codex overview
This PR focuses on enhancing the user interface and experience in the dashboard by updating the
Link
component and modifying the rendering logic for server wallets in thewallet-table-ui.client.tsx
file.Detailed summary
href
in theLink
component fromhttps://portal.thirdweb.com/engine/vault
tohttps://portal.thirdweb.com/vault
.Link
.wallets.length
is 0.wallets
directly without the empty check.Summary by CodeRabbit
Bug Fixes
Style