mirror of
https://github.com/bitcoin-core/gui-qml.git
synced 2026-12-02 08:18:39 +00:00
Wallet selector: distinguish loaded wallets and sort alphabetically #698
Labels
No labels
Android
Bug
Build system
Design suggestion
Doc
Needs design review
Needs rebase
Stage
UX
Up for grabs
Upstream
Wallet
duplicate
enhancement
good first issue
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
bitcoin-core/gui-qml#698
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Make the wallet selector easier to use when a node has many wallets, especially regtest wallets, by having
WalletListModeldistinguish loaded wallets from wallets that are only present on disk and by presenting the list alphabetically.Parent: #577
Problem
WalletListModelcurrently exposes walletnameandformatroles and appends entries in the order returned bywalletLoader().listWalletDir(). When there are many regtest wallets, the selector does not make it obvious which wallets are already loaded versus only available to load, and finding a specific wallet is non-trivial because the list is not sorted for scanning.Work Needed
WalletListModelwith a role that identifies whether each wallet is loaded/open or not loaded.Acceptance Criteria
Test Guidance
WalletListModelsorting and loaded-state roles.Will add to current close wallet work as it is closely related