sublimehq / sublime_merge

Issue tracker for Sublime Merge
https://www.sublimemerge.com
273 stars 14 forks source link

Show stash name in stash drop confirmation dialog #1823

Open ravindUwU opened 9 months ago

ravindUwU commented 9 months ago

Problem description

The "Confirm Stash Drop" dialog doesn't show the name of the stash being dropped. Showing it here adds more context to the prompt, and could help prevent accidentally deleting stashes.

Preferred solution

The message of the "Confirm Stash Drop" dialog should read "This will permanently erase the stash <name>. Are you sure you want to continue?" (or something to that end), <name> being the name of the stash as listed in the "Locations" panel.

Screenshots

The current stash drop confirmation dialog:

The dialog that confirms force deleting a branch already includes the branch name: