Description
Currently, after a user uploads a video in the Pulse app, any associated draft data (stored locally or temporarily) remains in the system. This can lead to unnecessary storage usage and clutter over time.
We should introduce an optional step allowing users to delete related drafts immediately after a successful upload.
Proposed Solution
On the final upload confirmation screen:
-
Add a checkbox:
- Label:
"Delete associated drafts after upload"
- Default state: Checked
Technical Considerations
Acceptance Criteria
Description
Currently, after a user uploads a video in the Pulse app, any associated draft data (stored locally or temporarily) remains in the system. This can lead to unnecessary storage usage and clutter over time.
We should introduce an optional step allowing users to delete related drafts immediately after a successful upload.
Proposed Solution
On the final upload confirmation screen:
Add a checkbox:
"Delete associated drafts after upload"Technical Considerations
Identify how drafts are linked to the uploaded video:
draftId,fileUri, or metadata stored inDraftStorageEnsure deletion is:
Handle edge cases:
Acceptance Criteria