mirror of
https://github.com/bitcoin-core/gui-qml.git
synced 2026-12-02 08:12:38 +00:00
Consolidate one-off menu implementations with a reusable component #745
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#745
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?
The codebase has accumulated several one-off context-menu implementations with inconsistent visual and behavioral conventions:
SendOptionsPopup,ReceiveOptionsPopup,PaymentDetailOptionsPopupeach roll aPopup(orOptionPopup) wrappingEllipsisMenuActionItem/EllipsisMenuToggleItem/EllipsisMenuButtonItemwithhand-tuned widths, paddings, and
Item/Rectangleseparators.Activity.qmldefines an inlineFilterMenuItem: ItemDelegate(radio-style row with checkmark) used nowhere else.FeeSelection.qmlbuilds its ownPopupwith a customRepeaterofItemDelegates, a manual divider, and a toggleItemDelegate.The row heights vary (33px vs 36px vs 44px), the EllipsisMenu* API leaks layout knobs (
leftIconSource,contentTopPadding,bgRadius), and there is no shared abstraction for a "picker section with checkmark" — so each new menu reinvents oneI'll take this
This was implemented in #750 . We can close this.