Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Add a confirmation popup before deleting attachment file #2287
Is this a bug or feature request?
What is the current behavior?
What is the expected or desired behavior?
We want to add a confirmation modal when user is about to delete an attachment file. Permissions to delete files will be controlled by a new role/flag from the backend, so this will have to wait for the backend changes. Ask @cristinastefan90 for details.
Expected behaviour/Steps to reproduce:
The desired behaviour for removing the attachments based on this flag is the following:
4.When the removal is possible, after pressing on the remove symbol, a new popup should appear asking the user "Do you want to delete" Y/N