Refined-github: Make the dropdown of GitHub Actions a single button, if there's only one action

Created on 21 Nov 2019  路  4Comments  路  Source: sindresorhus/refined-github

Here you should see a dropdwon "Re-run checks", which has only one item "Re-run all checks". I propose to make the dropdown a button "Re-run all checks" directly. At least for now, until we get more items in that dropdown.

More: https://twitter.com/tunnckoCore/status/1197456822891896833

enhancement good first issue help wanted

All 4 comments

This feature should be something like:

if dropdown has 1 action
    add 'btn' class to action
    dropdown.replaceWith(action)

Just wanted to request that there also be a button for canceling the run :)

@fregante true. For future-proofing

:heart_eyes:

Was this page helpful?
0 / 5 - 0 ratings