You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I assume this is the feature that should show a checkbox that would wait until all checks are green? I just installed Refined GitHub for the first time (latest Chrome on Mac) and don’t see it, here is a screencast
@gr2m The feature is currently disabled due to this issue, you can see it as an error in your browser console.
@bfred-it Do we have any context information about the broken feature? I've created a very simple repo for reproduction, re-enabled the feature and it worked just fine (see this PR).
Is there any additional context or repro to test against?
Do we have any context information about the broken feature?
I haven't looked at it at all, all I saw is that the merge went through without waiting even if the checkbox was checked. The feature was explicitly disabled because it looks like it's working, but it doesn't hold the merge.
Try clicking on "Merge" while a test is running, and if it waits for the test to finish before merging... then it's working.
For people who want to implement this, I think a less dangerous way of implementing this is to add a second button, "merge after checks pass". The reason is that if that second button breaks, the merge simply won't happen and the user would realize it, but if the checkbox breaks (as it did above) and the user clicked merge, the merge would happen immediately.
Perhaps we can find a safer way to only show the checkbox if the button is successfully detected and stopped. It could even be replaced with our own lame button. It depends on how/why this broke in the first place.
Definitively, hence my question. In my test case, the checkbox worked flawlessly and held back the merging exactly as desired. I think if we want to fix this, we'll need a reproducible case to test with.
Activity
IssueHuntBot commentedon Mar 21, 2019
@IssueHunt has funded $40.00 to this issue.
gr2m commentedon Apr 5, 2019
I assume this is the feature that should show a checkbox that would wait until all checks are green? I just installed Refined GitHub for the first time (latest Chrome on Mac) and don’t see it, here is a screencast
IssueHuntBot commentedon Apr 5, 2019
@gr2m has funded $20.00 to this issue.
loilo commentedon Apr 19, 2019
@gr2m The feature is currently disabled due to this issue, you can see it as an error in your browser console.
@bfred-it Do we have any context information about the broken feature? I've created a very simple repo for reproduction, re-enabled the feature and it worked just fine (see this PR).
Is there any additional context or repro to test against?
fregante commentedon Apr 19, 2019
I haven't looked at it at all, all I saw is that the merge went through without waiting even if the checkbox was checked. The feature was explicitly disabled because it looks like it's working, but it doesn't hold the merge.
Try clicking on "Merge" while a test is running, and if it waits for the test to finish before merging... then it's working.
szhu commentedon Apr 19, 2019
For people who want to implement this, I think a less dangerous way of implementing this is to add a second button, "merge after checks pass". The reason is that if that second button breaks, the merge simply won't happen and the user would realize it, but if the checkbox breaks (as it did above) and the user clicked merge, the merge would happen immediately.
fregante commentedon Apr 19, 2019
That's a safe idea, but it may look cluttered.
Perhaps we can find a safer way to only show the checkbox if the button is successfully detected and stopped. It could even be replaced with our own lame button. It depends on how/why this broke in the first place.
loilo commentedon Apr 19, 2019
Definitively, hence my question. In my test case, the checkbox worked flawlessly and held back the merging exactly as desired. I think if we want to fix this, we'll need a reproducible case to test with.
issuehunt-oss commentedon Jun 24, 2019
@sindresorhus has rewarded $54.00 to @bfred-it. See it on IssueHunt