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.
luke-jr
commented at 10:23 pm on December 13, 2021:
member
Since it’s possible to select multiple peers, but only one shows in the panel, perhaps leaving the “close” button is best, but don’t have it deselect?
in
src/qt/forms/debugwindow.ui:995
in
40ebab7063outdated
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
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
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
Commit: 2ae79d0954c46862535114c0d3f7bcfe2837918f
rsafier
commented at 10:15 pm on January 29, 2022:
none
tACK2ae79d0 on ARM M1/macOS/Monterey 12.1 (Qt 5.15.2)
DrahtBot removed the label
Needs rebase
on Jan 29, 2022
w0xlt approved
w0xlt
commented at 3:21 pm on January 30, 2022:
contributor
reACK2ae79d0
RandyMcMillan
commented at 4:24 pm on January 31, 2022:
contributor
To avoid re-adding diff junk to the debugwindow.ui file - I prefer to add translator comments in a follow up PR.
RandyMcMillan marked this as a draft
on Feb 17, 2022
hebasto
commented at 4:06 pm on October 26, 2022:
member
Looks like this structure is duplicated, is this correct?
RandyMcMillan
commented at 0: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
🤔 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
RandyMcMillan requested review from pablomartin4btc
on Mar 28, 2024
RandyMcMillan requested review from promag
on Mar 28, 2024
RandyMcMillan requested review from hernanmarino
on Mar 28, 2024
DrahtBot removed the label
CI failed
on Mar 28, 2024
pablomartin4btc approved
pablomartin4btc
commented at 7:21 pm on March 28, 2024:
contributor
tACK436ac4f42b88e8131bf1e02554a20b3c549e7d6f
nit: 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
🚧 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: 2024-11-22 03:20 UTC
This site is hosted by @0xB10C More mirrored repositories can be found on mirror.b10c.me