Implemented delete functionality for contacts #130

Merged
pramod.mahajan merged 9 commits from pramod_Task-#321 into Feature_Directory 2025-05-22 13:12:15 +00:00
Collaborator

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

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
pramod.mahajan added 9 commits 2025-05-22 12:57:05 +00:00
pramod.mahajan merged commit b4d3e6453f into Feature_Directory 2025-05-22 13:12:15 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: admin/marco.pms.web#130
No description provided.