---
type: note
tags: [lovable, dev, recommendation, note]
created: 2025-11-06T02:51:46.19+00:00
updated: 2026-04-06T10:55:32.315435+00:00
---# Media repair tool

Recommendation: Consider adding a MediaRepair tool to identify and clean orphaned files, or implement automatic cleanup when items are deleted (though this prevents recovery).\n\nAll media is now handled consistently - MediaDisplay is used everywhere (ItemCard, MediaUpload), so the fix applies to all images/videos.\n\nCurrent deletion behavior:\n\nItems deleted: Database records removed, but media files stay in storage\nNo automatic cleanup: Orphaned files accumulate (storage "junk")\nRecovery possible: Files remain in storage even after item deletion\nOnly bulk cleanup: "Super Reset" can optionally delete all media\n


---
**Keywords:** lovable, dev, recommendation, note
