-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
feat: add confirmation dialog for file extension changes #49308
base: master
Are you sure you want to change the base?
Conversation
04da216
to
9502ffd
Compare
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 would then maybe make the keep action primary instead of the renaming one
It is not destructive (you can revert it) and initialized by the user so as a user I would expect my initiated action to be the primary one. |
fe99148
to
d706aee
Compare
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.
So handled 3 possibilities:
- Adding file extension
- Removing file extension
- Changing file extension
- Introduced a dialog to confirm if users want to proceed with changing the file extension. - Added handling for dialog visibility to prevent recursion. (Since it looks like use must press escape to stop rename???) Signed-off-by: nfebe <[email protected]>
d706aee
to
a8a934f
Compare
Resolves : #46528
Screenshot
Checklist