Skip to content
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

Improve peer delegate #375

Merged
merged 2 commits into from
Dec 2, 2023
Merged

Conversation

promag
Copy link
Contributor

@promag promag commented Nov 30, 2023

Use Qt ItemDelegate and use properties down and hovered, making it possible to drop the MouseArea Also improve the layout and elide the label that can overflow.

fixes #372.

@promag promag force-pushed the peers-item-delegate branch 3 times, most recently from 4aa6f95 to e7c5711 Compare November 30, 2023 23:23
Copy link
Contributor

@MarnixCroes MarnixCroes left a comment

Choose a reason for hiding this comment

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

running e7c5711
there is still a little overlap?
and some part is cut off
image

@promag
Copy link
Contributor Author

promag commented Nov 30, 2023

@MarnixCroes please recheck.

@MarnixCroes
Copy link
Contributor

@promag starting to look good!
FWIW how it looks like now:
image

Ip column is cut of tho
good to have it fully displayed there
image

Copy link
Contributor

@MarnixCroes MarnixCroes left a comment

Choose a reason for hiding this comment

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

tack c54c973

only one comment: I think it is good to have the address displayed in full (without ... in middle) somewhere
WDYT?

@johnny9
Copy link
Contributor

johnny9 commented Dec 1, 2023

tack c54c973

only one comment: I think it is good to have the address displayed in full (without ... in middle) somewhere WDYT?

There are designs for "Peer details" that we have plans to implement that I think should satisfy that.
image

@MarnixCroes
Copy link
Contributor

MarnixCroes commented Dec 1, 2023

@johnny9 ok, I wasn't aware of that. that's fine. thanks for sharing.

@MarnixCroes
Copy link
Contributor

ack c54c973
nice!

Copy link
Contributor

@johnny9 johnny9 left a comment

Choose a reason for hiding this comment

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

ACK c54c973

@hebasto hebasto changed the title qml: improve peer delegate Improve peer delegate Dec 2, 2023
@hebasto hebasto merged commit 67150ef into bitcoin-core:main Dec 2, 2023
8 of 9 checks passed
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.

Peers: onion address causes overlap
4 participants