-
Notifications
You must be signed in to change notification settings - Fork 269
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
Peer details: connection type follow-ups #180
Peer details: connection type follow-ups #180
Conversation
09f4414
to
3bb3ad2
Compare
@@ -459,11 +460,22 @@ RPCConsole::RPCConsole(interfaces::Node& node, const PlatformStyle *_platformSty | |||
|
|||
ui->splitter->restoreState(settings.value("PeersTabSplitterSizes").toByteArray()); | |||
|
|||
QChar nonbreaking_hyphen(8209); | |||
const QChar nonbreaking_hyphen(8209); | |||
const std::vector<QString> CONNECTION_TYPE_DOC{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Named it CONNECTION_TYPE_DOC
to show up in git grep with the constant of the same name in rpc/net.cpp
and updated the net.h
documentation
4bb8c0c
to
1a297a7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approach ACK 1a297a7.
1a297a7
to
e711200
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK e711200, tested on Linux Mint 20.1 (Qt 5.12.8):
Co-authored-by: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com>
e711200
to
79a2576
Compare
Thanks @hebasto! Updated.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Concept ACK.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK 79a2576, tested on macOS 11.1 with Qt 5.15.2
I don't believe this much information should be displayed in a mouse over event. |
This pull doesn't add the tooltip. It makes these follow-ups to #163:
(Feel free to open a pull to propose your approach.) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code review ACK 79a2576
Thanks! |
79a2576 doc: update ConnectionType Doxygen documentation (Jon Atack) f3153dc gui: improve markup handling of connection type tooltip (Jon Atack) 4f09615 gui: return inbound {full, block} relay type in peer details (Jon Atack) Pull request description: Three follow-ups to #163: - return relay type for inbound peers - improve markup handling in the tooltip to facilitate translations - update ConnectionType doxygen documentation ![Screenshot from 2021-01-11 08-37-44](https://user-images.githubusercontent.com/2415484/104156081-50e69300-53e0-11eb-9b0f-880cb5626d68.png) ACKs for top commit: hebasto: re-ACK 79a2576, only suggested changes since my [previous](bitcoin-core/gui#180 (review)) review. jarolrod: ACK 79a2576, tested on macOS 11.1 with Qt 5.15.2 laanwj: Code review ACK 79a2576 Tree-SHA512: 4a8d8f8bfbaefd68e8d1bf3b20d29e4a8e8cfe97b2f8d59d3a4c338a50b61de0a67d97bd8646c04bd5df5a9679c4954b9b46e7cba24bb89f4d0e44e94cf9d66c
Three follow-ups to #163: