sindresorhus/refined-github

Add feature to toggle visibility of inline Check annotations on Files tab #3431

orrc posted onGitHub

When a Check run adds annotations to files in a PR, they take up quite a lot of space on the Files tab. There doesn't currently appear to be any way to dismiss, collapse, or otherwise hide these annotations.

It would be nice to have a feature that has annotations collapsed by default, with the option to expand them individually (or all, via Alt-click), and then collapse them again.

Example PR with annotations: https://github.com/XiongKezhi/codingstyle/pull/4/files#diff-835eeb0e6f1f24bdcb7fb2ec14495a29

Screenshot from that PR: image (the icon placed waaay over on the top-right of the annotation just links to the Checks tab; I can't see any option to hide the annotation)

Potential mockup: image


I guess that actually dismissing annotations should probably be a GitHub-native feature, similar to the "Viewed" checkbox for files. But either way, it would be nice to to make diffs readable when faced with annotations.


Definitely. I feel that they should disappear with <kbd>i</kbd> just like the review comments do.

Implementing this safely might be a little difficult though. Try also sending this feature request to GitHub: https://support.github.com/contact

posted by fregante over 4 years ago

https://github.com/jenkinsci/plugin-pom/pull/356 was largely motivated by unwanted annotations.

posted by jglick over 4 years ago
posted by fregante about 4 years ago

Fund this Issue

$0.00
Funded

Pull requests