-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
actions-run-removal - New feature
#8708
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
actions-run-removal - New feature
#8708
Conversation
quick-delete-cancel-workflow: add new featurequick-delete-cancel-workflow - New feature
| rightControlsContainer.prepend(cancelForm); | ||
| } | ||
|
|
||
| rightControlsContainer.classList.toggle('d-flex', !!(cancelForm || deleteWorkflowButton)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Given the changes suggested, you're probably going to use something like:
wrapAll(<div className="d-flex flex-column"/>, contextMenuDetails, cancelForm, deleteWorkflowButton)This way they're be wrapped if they exist. And if they don't, that's likely fine, no visual change with this extra element.
| const deleteWorkflowButton = $('button', deleteWorkflowMenuItem); | ||
| transformIntoIconButton(deleteWorkflowButton, <TrashIcon />); | ||
| deleteWorkflowButton.classList.add('rgh-delete-workflow-run'); | ||
| rightControlsContainer.prepend(deleteWorkflowMenuItem); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it is prepended, and not appended, so that the cloned dialog opens instead of the one inside the context menu
| } | ||
|
|
||
| if (cancelForm || deleteWorkflowMenuItem) { | ||
| rightControlsContainer.classList.add('d-flex', 'flex-column-reverse'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
flex-column-reverse because #8708 (comment)
But definitely not |
|
Maybe |
quick-delete-cancel-workflow - New featurequick-workflow-run-actions - New feature
|
I think we have another workflow feature. Technically it's deleting a run, so it should include that. "quick-run-removal" or "quick-workflow-run-removal" but I prefer the 3-word version. |
We already have several features named like that
But what about cancellation? |
|
Same same Names don't have to be exact. See notes in wiki https://github.com/refined-github/refined-github/wiki/Contributing#feature-name |
quick-workflow-run-actions - New featurequick-workflow-run-removal - New feature
|
renamed |
quick-workflow-run-removal - New featureactions-run-removal - New feature
|
We have |
7492c52 to
5f2f473
Compare
I want to move away from "quick" since it's relatively redundant. Most features let you do things faster.
I attempted it but I agree it's better here and it matches the red shown in the dropdown. |
argh. Since when GitHub Desktop force pushes?! Didn't mean to do that |
b57e212 to
b216181
Compare

resolves #8092
Test URLs
https://github.com/refined-github/refined-github/actions
Screenshot