Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Delete Feature for Uploaded Media and Annotations #139

Open
BaloneyBoy97 opened this issue Sep 6, 2024 · 0 comments
Open

Implement Delete Feature for Uploaded Media and Annotations #139

BaloneyBoy97 opened this issue Sep 6, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@BaloneyBoy97
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant