sindresorhus/refined-github

Do you want to work on this issue?

You can request for a bounty in order to promote it!

Make 'Expand PR merge status' as a feature - so it can be turned off #4809

xnuk posted onGitHub

Description

https://github.com/sindresorhus/refined-github/blob/99e81baaac8c787d1a59b74194c9437e9c29ffdf/source/refined-github.css#L73-L76

Some PRs have a bunch of required tests in order to merge - let's say, 106 tests - and that's a lot of scroll to writing a new comment, clicking "Hide all checks" every time makes me little annoying. In this case, I do not prefer expanding all of these. But some people would like this, so it would be good if it's able to turn off and on. Or something like max-height: 999px;?

Screenshot

GitHub PR check statuses showing 105 expected and 1 successful checks

I got this in https://github.com/swc-project/swc PRs.

Example URL

https://github.com/swc-project/swc/pulls?q=is%3Apr+is%3Aopen+-is%3Adraft


For someone like me: Add this into Custom CSS setting:

:root .branch-action-item.open:not(.branch-action-item-simple) > .merge-status-list.merge-status-list {
    max-height: 231px;
}
posted by xnuk over 3 years ago

Maybe we should drop it

<img width="652" alt="Screen Shot 1" src="https://user-images.githubusercontent.com/1402241/134639636-27ed6198-36f4-41b3-a0dc-d24ae443346a.png">

posted by fregante over 3 years ago

I actually quite forgot this is one of RGH's feature. IMO the default height which shows 5.5 checks (on my machine) is fine. It is more likely for a PR to either have 2~4 checks (regular projects) or 20+ checks (big projects).

image

posted by kidonng over 3 years ago

Fund this Issue

$0.00
Funded
Only logged in users can fund an issue

Pull requests