question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hide reviews by non-reviewers

See original GitHub issue

…namely the gray review icon you see on random places:

image

Actually, this sort of stuff is common on any popular repository.

What is a “review by non-reviewer”: if the aria-label of the review icon reads “Only reviews by reviewers with write access count toward mergeability”.

In general, these reviews are not useful, however there are exceptions:

  • Reviews by contributors or organization members (example). However I don’t find a way to tell if a user falls into this category (and if someone do, please leave a comment as it may also benefit other features of RGH).
  • Reviews by yourself. This is in the same spirit as the rule above, except that we can reliably tell if a review is left by you or not.
  • Reviews with a comment. They may still be of little value but the risk of filtering them out is not worth it.

Implementation-wise, there are two places to look out:

  • The timeline. This is where the feature would be most useful, probably in the same fashion as hide-low-quality-comments.
  • The sidebar. I’m not sure about this, as it is less annoying and serves as a neat indicator that someone did review.

Worth mentioning that GitHub sort of implemented this feature, in the sense of Preventing drive-by pull request approvals and requested changes. So maybe we should not implement it at all.

However, there are some caveats of GitHub’s solution:

  • Too radical. To allow or not to allow, that’s a serious question. In particular, approvals from outside contributors are almost always useful.
  • Some projects can’t employ it. Take the nixpkgs example above, this is a project consisting of thousands of maintainers, however only a handful of them are “committers” with write access, or “reviewers” regarding this issue. Maintainers review PRs in a regular manner, but those reviews will never be considered “valid” by GitHub.
Also, this is my 100th issue opened in RGH 🤯

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:4
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
yakov116commented, Mar 13, 2022

Github has on their roadmap an option to ignore them

1reaction
fregantecommented, Mar 12, 2022

Unfortunately it’s not easy to determine whether a review is spam or not. A comment-less review by a third party could be even left by the author of the request issue. While it’s not great that they left an empty review, it’s still a positive signal that we can’t hide.

I’d probably ask GH to allow reporting reviews as spam and deleting them instead

Read more comments on GitHub >

github_iconTop Results From Across the Web

Hide reviewing interests on registration form from non-reviewers
Hide reviewing interests on registration form from non-reviewers. Only make it visible when the reviewer checkbox is checked.
Read more >
Hide Reviews section from product page when there are no ...
Regarding the text, you can go to WooCommerce > Settings > Products tab > Uncheck the option “Reviews can only be left by...
Read more >
Can You Display Some Online Reviews But Hide Others?
To summarize: it's illegal to write fake reviews or hire someone else to do that; it's also illegal to review your own products...
Read more >
Hide and disable reviews for some products : Judge.me
Hi! I want to hide all reviews but can't seem to find where those settings are? Also, is there a way for customers...
Read more >
confusing RA approval by non-reviewers - Cireson Community
Your request will be submitted to the community for review and ... Without the timeout it tries to hide the buttons before they're...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found