feat: delete dogs + PawPrint nav icon #35
Reference in New Issue
Block a user
Delete Branch "feat/dog-delete-nav-icon"
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?
Summary
🗑️ Delete Dogs
DELETE /api/dogs/:id— hard delete with full cascade cleanup:parentsrows where dog is child or parenthealth_recordsandheat_cyclesfor the dog{ success: true, message: '<name> has been deleted' }DogList🐾 Nav Icon
Users→PawPrintfor the Dogs nav link inApp.jsxFiles Changed
server/routes/dogs.js— replaced soft-delete (is_active=0) with hard DELETE cascadeclient/src/pages/DogList.jsx— delete button + confirmation modalclient/src/App.jsx— Dogs nav icon updated toPawPrint