-
Notifications
You must be signed in to change notification settings - Fork 36
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
Delete old versions: Add confirm prompt to avoid accidental delete #773
Delete old versions: Add confirm prompt to avoid accidental delete #773
Conversation
…l clicks deleting versions and files.
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.
…tion-confirmation
@iLLiCiTiT could you provide this a quick glance and merge if you're ok with it? |
I would rename EDITED: |
This would 'adhere' to the rules of the current OS - and hence it may look different on Mac OS or Linux if the "Show details" behavior is different there because it's default Qt message box behavior. I'd rather not touch it. |
I'm not good at UX, but this doesn't look nice. I had to read the text 2 times to understand what would the buttons do, and was confused why is the biggest button showing details between |
…ation' and 'enhancement/Loader-Delete-Old-Versions-action-confirmation' of https://github.com/BigRoy/ayon-core into enhancement/Loader-Delete-Old-Versions-action-confirmation
I see what you mean - yet at the same time - it does allow us to not having to write dedicated widgets and rely on what apparently are more OS native designs for this. I could also just remove the details information - but I felt since it was now simple using this feature that it's nice 'extra check' someone can do to decide whether it's deleting what they wanted? @m-u-r-p-h-y from artist perspective? Would you like me to redesign the pop-up dialog? See screenshots in PR description. Turning this around into a dedicated widget - with maybe a list or items may take me maybe 30m-60m. |
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.
Delete dialogue is working fine and prevents from accidental deletion of files.
The UI itself needs a lot of love though.
…tion-confirmation
@m-u-r-p-h-y Would you like the details tab to just report that it's also removing the publish folder - or what kind of output did you expect additionally there? By the way - I'm fine with merging (so that it's in the client's hands asap) and then polish the UI cosmetics in a follow-up PR. |
Changelog Description
Add informative confirm prompt for delete versions to avoid accidental clicks deleting versions and files.
Additional info
With "Show details..." clicked:
Testing notes: