Add Copy address Peers Tab Context Menu Action#318
Add Copy address Peers Tab Context Menu Action#318hebasto merged 1 commit intobitcoin-core:masterfrom
Copy address Peers Tab Context Menu Action#318Conversation
promag
left a comment
There was a problem hiding this comment.
Concept ACK. But I'm not fond of the base commit "gui: add Direction column to peers tab" - I understand it simplifies this change.
|
updated from d6099b7 -> 85e0f95 (pr318.02 -> pr318.03) Changes:
|
|
updated from 85e0f95 -> 65d1d35 (pr318.03 -> pr318.04, diff)
|
|
@jarolrod needs rebase, this is a cool change. |
|
Concept ACK |
Co-authored-by: Jarol Rodriguez <jarolrod@tutanota.com>
65d1d35 to
3ec061d
Compare
shaavan
left a comment
There was a problem hiding this comment.
tACK 3ec061d
Tested on Ubuntu 20.04 (Using Qt version 5.12.8)
This PR adds the functionality to copy the address of a peer from the peertable itself. Tested this PR on Ubuntu 20.04. And I was able to observe the change working correctly.
| Master | PR |
|---|---|
![]() |
![]() |
I agree with the changes suggested in this PR. After #384 being merged, I think it is the next logical step to also having the functionality of copying the address of peer from peertable using the context menu action.
|
|
||
| // create peer table context menu | ||
| peersTableContextMenu = new QMenu(this); | ||
| //: Context menu action to copy the address of a peer |
There was a problem hiding this comment.
nit:
| //: Context menu action to copy the address of a peer | |
| //: Context menu action to copy the address of a peer. |
|
Nice and useful change! |
… Action 3ec061d qt: Add "Copy address" item to the context menu in the Peers table (Hennadii Stepanov) Pull request description: Picking up #264 This adds a `Copy Address` context menu action to the `Peers Tab`. Based on the first commit of PR #317 so that we can use `Qt::DisplayRole` in the `copyEntryData` function. | Master | PR | | ----------- | ----------- | |  |  | ACKs for top commit: shaavan: tACK 3ec061d luke-jr: utACK 3ec061d hebasto: ACK 3ec061d, tested on Linux Mint 20.2 (Qt 5.12.8): Tree-SHA512: be0d7324592aae3928fa3cc522294f17226419fe8cbe3587df12a36bd4fa9c81bead377b13051e950b9a3fcd290b273861e70d6c76b75cdf76eaf58224b834cd
5cc783f qt: ensure translator comments end in full stop (Jarol Rodriguez) Pull request description: This is a follow-up to #318 which addresses this [nit](#318 (comment)) by addressing it globally. This ensures that all GUI translator comments end in a full stop. If a comment does not end in a full stop, a translator may think that the rest of the comment is being cut off. While here, add a colon to the word "see" for any comments touched which point to look at a link. ACKs for top commit: hebasto: ACK 5cc783f, I have reviewed the code and it looks OK, I agree it can be merged. shaavan: Code Review ACK 5cc783f Tree-SHA512: 67a1d56175c974e0af9b460fa44163f7ce139a7b81cfaf8ed2c0e7fb6d5120957c3135d96010aeb6229689468e36673fe9571b5a8c3e1c07e047aba1bd563444
5cc783f qt: ensure translator comments end in full stop (Jarol Rodriguez) Pull request description: This is a follow-up to #318 which addresses this [nit](bitcoin-core/gui#318 (comment)) by addressing it globally. This ensures that all GUI translator comments end in a full stop. If a comment does not end in a full stop, a translator may think that the rest of the comment is being cut off. While here, add a colon to the word "see" for any comments touched which point to look at a link. ACKs for top commit: hebasto: ACK 5cc783f, I have reviewed the code and it looks OK, I agree it can be merged. shaavan: Code Review ACK 5cc783f Tree-SHA512: 67a1d56175c974e0af9b460fa44163f7ce139a7b81cfaf8ed2c0e7fb6d5120957c3135d96010aeb6229689468e36673fe9571b5a8c3e1c07e047aba1bd563444



Picking up #264
This adds a
Copy Addresscontext menu action to thePeers Tab.Based on the first commit of PR #317 so that we can use
Qt::DisplayRolein thecopyEntryDatafunction.