-
Notifications
You must be signed in to change notification settings - Fork 563
Add external wallet filter and display #7669
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
Add external wallet filter and display #7669
Conversation
Co-authored-by: joaquim.verges <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
WalkthroughThe changes add support for searching, displaying, and exporting users' external wallet addresses (specifically accounts of type "siwe") in the dashboard's wallet user management section. This includes UI updates to search options, result rendering, table columns, CSV export, and type definitions to accommodate the new "externalWallet" search type and data field. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant AdvancedSearchInput
participant searchUsers
participant Backend
participant SearchResults
User->>AdvancedSearchInput: Selects "External Wallet" search type and enters address
AdvancedSearchInput->>searchUsers: Calls with searchType="externalWallet" and query
searchUsers->>Backend: Sends request with ?externalWalletAddress=query
Backend-->>searchUsers: Returns matching users
searchUsers-->>SearchResults: Passes user data
SearchResults->>SearchResults: Extracts external wallet accounts
SearchResults-->>User: Displays users with external wallet addresses
Estimated code review effort3 (~45 minutes) 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 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). (8)
✨ 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. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #7669 +/- ##
=======================================
Coverage 56.39% 56.39%
=======================================
Files 908 908
Lines 58244 58244
Branches 4224 4224
=======================================
Hits 32844 32844
Misses 25290 25290
Partials 110 110
🚀 New features to boost your workflow:
|
size-limit report 📦
|
Open Background Agent:
Web · Cursor
Slack Thread
Learn more about Background Agents
PR-Codex overview
This PR introduces support for handling external wallet addresses in the user search functionality within the dashboard. It adds new types, updates the UI to display external wallets, and modifies search parameters to include external wallet queries.
Detailed summary
SearchType
with a new option for"externalWallet"
.AdvancedSearchInput.tsx
to include an option for "External Wallet".searchUsers.ts
to appendexternalWalletAddress
to the search URL.SearchResults.tsx
to display external wallet addresses fromlinkedAccounts
.getExternalWallets
function to filterlinkedAccounts
by type "siwe".InAppWalletUsersPageContent
to show external wallets in the UI.Summary by CodeRabbit
New Features
Enhancements