AS A admin I WANT TO have an ability to delete information SO THAT I can get rid of incorrect/outdated/unnecessary information on my pages.
AC:
Delete functionality should be added to the next pages: Traid Points, Users & Permissions, Components (+ categories modal window), Menu
On these pages for every list item there should be a delete button:
2.1. For Menu page: red button with label "Delete"
2.2. For the rest of the pages: button with trash bucket icon
After pressing "Delete" button a deletion confirmation will be asked. If this confirmation window will be closed chosen entity won't be deleted
After confirming the deletion, the request about deleting chosen entity is sending to the back-end where it is decided to delete the entity or not. Message about decision should come to the user
If confirmation was not received, we return to the page (or to the modal window with categories if we tried to delete a category) without deleting chosen entity from the database
AS A admin I WANT TO have an ability to delete information SO THAT I can get rid of incorrect/outdated/unnecessary information on my pages.
AC:
UX:
TASKS:
[x] Delete functionality integration: Components page + categories modal window #95
[x] Delete functionality integration: Users & Permissions #94
[x] Delete functionality integration: Menu #98
[x] Delete functionality integration: Trade Points #93