Skip to content

Implement Delete Feature for Uploaded Media and Annotations #139

Open
@BaloneyBoy97

Description

@BaloneyBoy97

Description
We need to implement a delete feature that allows users to remove any uploaded media (photos, videos, audio) and their associated annotations from the desktop application. This should delete the selected media file and its annotations both from the website and the database.

Tasks
Create UI for Deletion

  • Add a "Delete" button or icon next to each uploaded media file and its annotation

Confirm Deletion Action

  • Add a confirmation prompt to avoid accidental deletions

Backend Deletion Logic

  • Implement logic to remove the selected media file and its annotations from the database
  • Ensure the media file is also removed from the website’s storage system

Database Update

  • Safely delete the media and related annotations from the database
  • Make sure the database reflects the changes in real-time after deletion

Testing

  • Test the delete functionality for different file types (photos, videos, audio).
  • Ensure no remnants of the deleted media or annotations remain in the system (both UI and database)
  • Test to ensure the app continues to function smoothly after deletion

Summary
The UI for Deletion is already created by previous team. We will start by designing all testing perimeters and create test cases before designing backend deletion logic and secure database updates. The delete function should delete selected media file with its annotation from the website and database safely. The delete function should not impede the performance of the application no remnants of the deleted data should remain in the system.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions