-
Notifications
You must be signed in to change notification settings - Fork 266
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
Remove "Type" column from peers window #372
Conversation
as it is confusing to users and does not make sense to have a Type column without a Direction column immediately preceding it to indicate Inbound or Outbound. Several attempts to add the Direction column, as described, have seen opposition from reviewers. Therefore, remove the Type column until such time as there is rough consensus to add the Direction Inbound/Outbound column with it.
as it is no longer used.
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.
Indeed, it is a sub-optimal situation. My opinion is that there is still value in maintaining the Type
column. I am mainly concerned about removing this, and then going through opposition to reintroduce it next release cycle.
While we may not have a separate and sortable Direction
column, we do still have arrows prepended before the Address. This has been the default behavior for three years now (4132ad3) so user's know to look here for the direction of the selected peer. While the situation is not optimal; this means the Type
information does have orientation context in regards to Direction
.
It's too confusing for users with the current halfway implementation. One type (Inbound) isn't even displayed, and the empty type looks like a bug. At least this PR and its predecessors can be pointed to when more user bug reports arrive, if this isn't fixed before the release: "Look, we tried 3 times." So this had to be proposed. But it would be better to resolve it before the release, one way or the other. |
We should add directions column |
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.
Tested on Ubuntu 20.04
The PR claims to remove the type column from the PR table and is successful in doing so. Along with the type column, the PR is also removing the direction arrows preceding the node's address, which makes sense to do.
Though I understand the approach of op to solve this problem, I don’t think it is optimal. As @jarolrod already mentioned, removing the type column will inevitably result in a debate over bringing it back. The optimal approach will be merging pr317, or something similar to 317 if there is a debate there, as suggested by op.
Closing, as #317 has been merged. |
Thanks! |
This PR removes the "Type" column from the peers main window that was added in #179, as it is confusing to users and does not make sense to have a Type column without its corresponding Direction column immediately preceding it to indicate Inbound or Outbound, per our current connection type naming (one of the connection types is "Inbound" and is not ever displayed currently).
Three attempts to add the Direction column in #179 (original version), #289, and #317 have seen opposition from some reviewers.
Therefore, before the v22.0 release, remove the Type column until such time as there is rough consensus to add the Direction Inbound/Outbound column with it (or better yet, merge #317).