Implemented delete functionality for contacts #130
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "pramod_Task-#321"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Added delete icon/menu option to each contact (both Card and List views)
On click, shows a confirmation modal with the message:
"Are you sure you want to delete? This action cannot be undone."
If confirmed, the contact is removed from the UI immediately (optimistic update)
Shows success toast on successful deletion
Displays error toast with retry option if the deletion fails
State updates and error handling are done gracefully
Enhancements
Modified category/bucket filters to require Apply Filter button click
Pinned bucket name display added to contact cards
Created a separate utility file for common Directory component functions
Corrected note added timestamp display