Hide successful checks by default in PRs
See original GitHub issueDescription
Currently PRs look like this, which makes it difficult to see what failed exactly:
What if we hid the passing ones if any are failing?
Drawbacks
- In this mode, you can’t see which tests actually succeeded
- Modifying this active widget could be difficult, but maybe a smart use of
element-observer
could make it easy enough - This feature could be implemented in CSS only with
:has
, but then it would be difficult to “show all” (maybe via:not(:focus-within)
?)
Similar requests
- https://github.com/refined-github/refined-github/issues/5855
- https://github.com/refined-github/refined-github/issues/5621
- https://github.com/refined-github/refined-github/issues/5062
- https://github.com/refined-github/refined-github/issues/4958
- https://github.com/refined-github/refined-github/issues/3136
Example URLs
https://github.com/fregante/content-scripts-register-polyfill/pull/58
Issue Analytics
- State:
- Created a year ago
- Reactions:2
- Comments:7 (6 by maintainers)
Top Results From Across the Web
Filter by "Draft PRs only" in PR list · Issue #1900 - GitHub
Therefore, I wonder if it makes sense to hide them by default. 1
Read more >Checks for merging pull requests | Bitbucket Data Center and ...
The default merge checks that come with Bitbucket are: All reviewers approve - requires all reviewers to approve a pull request before merging....
Read more >Pull Request - Do not hide status of checks
I would like to suggest that you show all the checks (successful, failed and in-progress) in the summary overview. It is far quicker...
Read more >Git branch policies and settings - Azure Repos - Microsoft Learn
A branch that has required policies configured can't be deleted, and requires pull requests (PRs) for all changes.
Read more >Github Pull Request Checks - Stack Overflow
Users set up required status checks on the repository so that merging a pull request is blocked if a specific status isn't success...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
That selector actually pushes successful checks to the bottom, so running checks and failed checks will still be at the top, interleaved. We can use this order:
Here’s a CSS-only feature with
:has()
:And here’s another version that probably solves every single problem at once (except “sort by name”)
I don’t particularly care that this is “Safari-only” at the moment because Chrome will follow soon and Firefox will follow eventually. Feels like a good win for 8 lines of inert code 😃