-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Add a menu item to delete both local and remote branch at once #3916
Conversation
Coverage summary from CodacySee diff coverage on Codacy
Coverage variation details
Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: Diff coverage details
Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: See your quality gate settings Change summary preferencesCodacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more Footnotes
|
"selectedBranchName": branch.Name, | ||
}, | ||
) | ||
} |
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.
I decided to put up only a single confirmation ("are you sure you want to delete both branches"). If the local branch is not merged, I append the warning about this below in the same popup. I like this better than putting up a separate popup for this after the first one, but I can change it if you disagree.
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.
LGTM, great work. I agree about combining the messages: it makes for fewer keypresses
ba7d2f0
to
c712b1d
Compare
3cd47f3
to
1ab70ec
Compare
Hey @stefanhaller this may be a stupid question but you just press |
@philbarto judging by the code it looks like it's a menu item, which is probably the delete menu behind |
@mark2185 Yeah that's what I was thinking too, although I don't see the |
@philbarto can't check exact dates on my phone, but check if this wasn't merged after If you can build |
Add a menu item to delete both local and remote branch at once.
go generate ./...
)