
Mathieu MoranandCopilot
7aa9ffda16
Add delete with confirmation for trips and dashcam
- Confirmation modal in server base.html (window.confirmDelete promise helper)
- Trip delete: trash button in Replay column (server-only via data-deletable on
trip-list div), DELETE /api/v1/portal/trip/<id>, removes computed trip only
(raw tracking_points kept)
- Dashcam delete: trash button next to download, DELETE /api/v1/portal/dashcam/<id>,
removes from DB + disk (best-effort file removal)
- history.js: delete button gated on data-deletable='1' attribute; click handler
intercepts before replay logic
- db.py: delete_trip(), delete_dashcam_file() helpers
Co-authored-by: Copilot <[email protected]>
2026-08-10 04:40:22 -04:00
..
2026-08-09 20:28:42 -04:00
2024-09-15 21:21:39 -04:00
2026-08-08 18:01:35 -04:00
2026-08-10 01:12:00 -04:00
2026-08-09 19:04:47 -04:00
2026-08-10 04:40:22 -04:00
2026-08-10 02:17:29 -04:00
2026-08-10 02:07:31 -04:00
2026-08-09 22:57:12 -04:00
2026-08-10 03:31:55 -04:00