Skip to content

Conversation

@zerts
Copy link
Collaborator

@zerts zerts commented Nov 25, 2025

No description provided.

@github-actions
Copy link

github-actions bot commented Nov 25, 2025

📦 build.zip [updated at Dec 1, 9:09:33 PM UTC]

@zerts zerts marked this pull request as ready for review December 1, 2025 20:19
@zerts zerts requested a review from Copilot December 1, 2025 20:23
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR implements a wallet list management feature that allows users to customize the order of their wallets through a drag-and-drop interface. The implementation introduces a persistent wallet ordering system that affects how wallets are displayed throughout the application.

Key changes:

  • Added drag-and-drop wallet reordering functionality with an edit mode toggle
  • Introduced a walletsOrder preference that persists wallet grouping and ordering
  • Refactored wallet list rendering to respect the custom order across multiple pages

Reviewed changes

Copilot reviewed 12 out of 14 changed files in this pull request and generated 10 comments.

Show a summary per file
File Description
src/ui/pages/WalletSelect/shared.ts New shared utility for merging saved wallet order with actual wallet data
src/ui/pages/WalletSelect/WalletListEdit.tsx New component implementing drag-and-drop wallet reordering using @dnd-kit
src/ui/pages/WalletSelect/WalletSelect.tsx Updated to support edit mode and pass walletsOrder to child components
src/ui/pages/WalletSelect/WalletList.tsx Refactored to render wallets according to walletsOrder preference
src/ui/pages/SendForm/fieldsets/AddressInput/AddressInput.tsx Updated address suggestions to respect wallet order
src/ui/pages/RequestAccounts/RequestAccounts.tsx Updated to pass walletsOrder to WalletList
src/ui/features/xp-drop/XpDropClaimFlow/XpDropClaim.tsx Updated to pass walletsOrder to WalletList
src/ui/features/referral-program/Invite.tsx Updated to pass walletsOrder to WalletList
src/shared/wallet/wallet-list.ts New utility defining wallet list data structures and helper functions
src/background/Wallet/model/types.ts Added walletsOrder to PublicPreferences type
src/background/Wallet/WalletRecord.ts Added DEFAULT_WALLET_LIST_GROUPS as default preference value
src/ui/assets/drag.svg New drag handle icon for the reorder interface
package.json & package-lock.json Added @dnd-kit dependencies for drag-and-drop functionality

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.

@zerts zerts force-pushed the task/extension-improve-wallet-list-WLT-8389 branch from cd58671 to 8493eac Compare December 1, 2025 21:01
@zerts zerts merged commit 4b8b768 into main Dec 1, 2025
3 checks passed
@zerts zerts deleted the task/extension-improve-wallet-list-WLT-8389 branch December 1, 2025 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants