mirror of
https://github.com/bitcoin-core/gui-qml.git
synced 2026-12-02 07:54:42 +00:00
Make entire peers page scrollable #290
No reviewers
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!290
Loading…
Reference in a new issue
No description provided.
Delete branch "peers-scroll-correction"
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?
Makes the entire peers page scrollable by moving in the top elements of the page into the header property of the ListView itself.
Would like to still prevent the toggle buttons from being flickable if there is enough width for the view.
This line is designed to prevent being able to flick the toggle buttons when the view is wide enough. I'm not sure why it doesn't work with these changes. Possibly need a >= but not sure.
Concept ACK
leave for a follow-up? really there's nothing wrong with the current behavior except that it's not 100% visually what we want in the case that the user decides to flick when all buttons are visible.
It looks like the page title disappeared on this screen? Could we add that back in? The description also still has placeholder text, how about we replace it with "Peers are nodes you exchange transaction data with."?
@GBKS Which of the two should the page title be:
Left one, please.
Updated from 023e638b37c40418fdd2033899a5d1f311868200 to a87fa639592a501388412457aa94ccb538e5ea45
changes: addressed review feedback on description and page title
ACK a87fa639592a501388412457aa94ccb538e5ea45
I downloaded the latest MacOS version above and don't see the new title and description in the Peers page. Scrolling works well though.
Updated from a87fa63 to 9870271, compare
Changes: addressed conflicts with master
Looks like it still doesn't build properly. Not seeing the latest changes.
Updated from 9870271 to 1e5477e
Changes: rebased over main
Updated from 1e5477e to
478d59achanges: rebased over main
ACK
478d59a6b6I think this can be
note that
width,height,anchors.*are gone, sincePagewill resize the content item accordingly.If the maximum width (450 in this case) is something to keep then:
Left and right padding can be set on the root item
Page.Going to leave this as is, as more changes are actually required to accomplish this refactor. A follow-up can change the pattern for all pages.
tested Ack. Built on WSL Ubuntu 22.04 for android armv7a.
On android device, before building this PR the "ID, Directions, etc..." buttons would stay anchored at the top with this PR they scroll up. Is that the desired behavior @jarolrod ?
Wanted to test, but the download links are☠️. This is a simple issue and several others have tested and confirmed, so I'm cool with merging (unless of course the dead links are a reason for concern and something is off with this PR).
@GBKS updated PR description CI links
@D33r-Gee yep! that would be the desired behavior
ACK https://github.com/bitcoin-core/gui-qml/pull/290/commits/478d59a6b668c432ff83335dce23f70581245d53
Tested. Look good.