gitbutler icon indicating copy to clipboard operation
gitbutler copied to clipboard

UX: make it clear "discard changes" on a file will affect all lanes

Open daniilS opened this issue 8 months ago • 7 comments

Version

0.12.5

Operating System

Windows

Distribution Method

msi (Windows)

Describe the issue

"Discard changes" is accessed from the context menu inside one particular lane, but will discard any changes to the file in all lanes - this doesn't feel like obvious behaviour to me, and since discarding already gives a modal to confirm, I think it would be good to add a check if the selected file also has changes in any other lanes, and point it out in the modal if yes.

How to reproduce

No response

Expected behavior

No response

Relevant log output

No response

daniilS avatar Jun 20 '24 17:06 daniilS