RandyMcMillan
commented at 11:34 PM on December 12, 2021:
contributor
Add a close (X) button to the Peers Detail panel.
Reuse the same icon used in the Console Tab.
The close button deselects the peer highlighted
in the PeerTableView and hides the detail panel.
promag
commented at 3:58 PM on December 13, 2021:
contributor
We reuse the same icon used in the Console Tab for Gui consistency.
How so? One clears the console while the other unselects the peer.
RandyMcMillan
commented at 4:40 PM on December 13, 2021:
contributor
Is there a better icon to use for a "close" action?
We don't have a "clear" icon in the repo - but something like this would be more appropriate for "clear console". So reusing the (X) icon seems prudent.
jarolrod
commented at 7:26 AM on December 14, 2021:
could you try to minimize the diff on this file, I don't think all this moving around and changes would be required to add the button. QtCreator creates a lot of junk, try to pinpoint the minimal diff required to add the button.
RandyMcMillan
commented at 4:21 PM on January 31, 2022:
To avoid re-adding diff junk to the debugwindow.ui file - I prefer to add translator comments in a follow up PR.
in
src/qt/forms/debugwindow.ui:1073
in
40ebab7063outdated
jarolrod
commented at 7:28 AM on December 14, 2021:
you can add a translator comment to this string by using the extracomment property. I have written some notes on constructing translator comments here: translator-comments.md
RandyMcMillan
commented at 6:55 PM on November 15, 2022:
@jarolrod - if you want to post a patch - I will apply it and give you attribution.
RandyMcMillan
commented at 2:50 PM on September 20, 2023:
@jarolrod - I will do a follow up for translator comments.
jarolrod
commented at 7:37 AM on December 14, 2021:
member
Since it's possible to select multiple peers, but only one shows in the panel
Since #13 this is not possible. If multiple peers are selected, the panel will not show
RandyMcMillan force-pushed on Dec 14, 2021
RandyMcMillan
commented at 10:06 PM on December 14, 2021:
contributor
I split this PR into 2 commits so others can experiment with adding the button to src/qt/forms/debugwindow.ui
Feel free to fetch this branch and experiment.
RandyMcMillan marked this as a draft on Dec 14, 2021
RandyMcMillan marked this as ready for review on Dec 22, 2021
DrahtBot
commented at 10:52 AM on December 30, 2021:
contributor
<!--e57a25ab6845829454e8d69fc972939a-->
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
<!--021abf342d371248e50ceaed478a90ca-->
Reviews
See the guideline for information on the review process.
RandyMcMillan renamed this: RPCConsole: add hidePeersDetail() button and functionality RPCConsole: add hidePeersDetailButton and connect to RPCConsole::clearSelectedNode on Jan 29, 2022
RandyMcMillan
commented at 9:00 PM on January 29, 2022:
contributor
@w0xlt - applied the patch - thanks for the collaboration! attribution included in commit message.
I also implemented @promag's suggestion - much more prudent approach! - thanks!
RandyMcMillan force-pushed on Jan 29, 2022
RandyMcMillan
commented at 9:27 PM on January 29, 2022:
contributor
Looks like this structure is duplicated, is this correct?
RandyMcMillan
commented at 12:42 AM on March 28, 2024:
thanks - taking a look right now.
RandyMcMillan
commented at 1:48 AM on March 28, 2024:
thank you!
pablomartin4btc
commented at 7:21 PM on September 17, 2023:
contributor
tACKd59363aaa0f39da8f27fead0b8e5b0c1a5a32226
nit: I'd update both the title of the PR and the commit subject line for something more meaningful or concise, it would provide clarity of the changes being made. In the specific case of the commit subject line it's recommended to keep its length 50 chars max according to the guidelines. Perhaps something like gui: Add close Peers detail panel feature could work.
If you mention "fix" follow by the issue # it will link them both together.
DrahtBot requested review from w0xlt on Sep 17, 2023
DrahtBot removed review request from w0xlt on Sep 17, 2023
DrahtBot requested review from w0xlt on Sep 17, 2023
DrahtBot removed the label CI failed on Sep 18, 2023
RandyMcMillan renamed this: RPCConsole: add hidePeersDetailButton and connect to RPCConsole::clearSelectedNode gui: Add close Peers detail panel feature on Sep 20, 2023
RandyMcMillan
commented at 1:29 PM on September 20, 2023:
contributor
You are welcome, the "gui:" prefix, IMO, would be more for the commit subject line, since we are already on the gui repo, we would't need to clarify it in the PR title.
DrahtBot removed review request from w0xlt on Sep 20, 2023
DrahtBot requested review from w0xlt on Sep 20, 2023
RandyMcMillan renamed this: gui: Add close Peers detail panel feature Add close Peers detail panel feature on Sep 20, 2023
RandyMcMillan renamed this: Add close Peers detail panel feature Hide Peers Detail Button on Sep 20, 2023
DrahtBot removed review request from w0xlt on Sep 20, 2023
DrahtBot requested review from w0xlt on Sep 20, 2023
RandyMcMillan
commented at 3:44 PM on September 20, 2023:
contributor
@pablomartin4btc - I am just grateful for the interest - I had forgotten about this PR :)
retesting on MacOS X86_64 Arm64 right now.
DrahtBot removed review request from w0xlt on Sep 20, 2023
DrahtBot requested review from w0xlt on Sep 20, 2023
DrahtBot added the label CI failed on Oct 25, 2023
DrahtBot
commented at 2:34 PM on February 5, 2024:
contributor
<!--2e250dc3d92b2c9115b66051148d6e47-->
🤔 There hasn't been much activity lately and the CI seems to be failing.
If no one reviewed the current pull request by commit hash, a rebase can be considered. While the CI failure may be a false positive, the CI hasn't been running for some time, so there may be a real issue hiding as well. A rebase triggers the latest CI and makes sure that no silent merge conflicts have snuck in.
hebasto
commented at 10:12 PM on February 11, 2024:
member
<u>nit</u>: not a blocker, please consider previous feedback regarding commit title length and meaningfulness, maybe gui: + this PR's title.
RandyMcMillan
commented at 7:23 PM on March 28, 2024:
contributor
Thanks I saw that - I can update the commit message...
RandyMcMillan force-pushed on Mar 28, 2024
DrahtBot added the label CI failed on Mar 28, 2024
DrahtBot
commented at 9:16 PM on March 28, 2024:
contributor
<!--85328a0da195eb286784d51f73fa0af9-->
🚧 At least one of the CI tasks failed. Make sure to run all tests locally, according to the
documentation.
Possibly this is due to a silent merge conflict (the changes in this pull request being
incompatible with the current code in the target branch). If so, make sure to rebase on the latest
commit of the target branch.
Leave a comment here, if you need help tracking down a confusing failure.
Add a close (X) button to the Peers Detail panel.
Reuse the same icon used in the Console Tab.
The close button deselects the peer highlighted
in the PeerTableView and hides the detail panel.
This PR addresses issue #485:
Co-authored-by: @w0xlt <w0xlt@users.noreply.github.com>
41a1a8615d
RandyMcMillan force-pushed on Apr 9, 2024
RandyMcMillan
commented at 6:32 PM on April 9, 2024:
contributor
This is a metadata mirror of the GitHub repository
bitcoin-core/gui.
This site is not affiliated with GitHub.
Content is generated from a GitHub metadata backup.
generated: 2026-04-24 21:20 UTC
This site is hosted by @0xB10C More mirrored repositories can be found on mirror.b10c.me