Skip to content

Conversation

@trabulium
Copy link

@trabulium trabulium commented Dec 19, 2025

Summary

  • Add DELETE /api/v1/contacts/{id} endpoint with soft delete functionality
  • Add permission to role management (Settings > Teammates > Roles)
  • Add delete button with confirmation dialog in contact detail view
  • Add i18n translation for the new permission

This is helpful for housekeeping when internal contacts (e.g., employees) leave the business.

Closes #190

Test plan

  • Enable permission for a role in Settings > Teammates > Roles
  • Navigate to a contact detail view
  • Verify the Delete button appears
  • Click Delete and confirm in the dialog
  • Verify the contact is removed (soft deleted)
  • Verify users without the permission don't see the Delete button

🤖 Generated with Claude Code

Add ability to soft delete contacts from the UI with proper permission
control. This is helpful for housekeeping when internal contacts
(e.g., employees) leave the business.

Changes:
- Add DELETE /api/v1/contacts/{id} endpoint with soft delete
- Add contacts:delete permission to role management
- Add delete button with confirmation dialog in contact detail view
- Add i18n translation for the new permission

Closes abhinavxd#190

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request] Delete Contact Button

1 participant