In one of our applications, the user can select multiple items and delete as many of them as they wish in single click.
However, while processing this request there is some validation and authorization which restricts the user from deleting some items. So, three use cases are possible:
- All selected items will be deleted successfully;
- All selected items cannot be deleted;
- Some items will be deleted and some cannot.
How can I present the deletion status information to the user in the UI along with the reason for the failure (if there are any failures)? Any examples/mock-ups will be much appreciated.