feat: add server-side device deletion

- add portal API and UI action to delete non-default devices
- protect the configured portal default device from deletion
- document that trip/history pages still scope to the single DEVICE_NAME

Co-authored-by: Copilot <[email protected]>
This commit is contained in:
Mathieu Moran
2026-08-10 18:09:15 -04:00
co-authored by Copilot
parent 690cf0a5d4
commit 675bffb4a4
6 changed files with 78 additions and 0 deletions
+6
View File
@@ -1737,6 +1737,12 @@ updates its display-facing values without a manual restart once sync lands.
live portal UI itself, not just the backing APIs/helpers
- If copy/paste provisioning feels too clunky in practice, add a later QR /
claim-code pairing flow
- Main portal overview/history/dashcam pages are **not** multi-device yet:
the data model already separates rows by `device_id`, but those pages still
read from the single configured `DEVICE_NAME`. Today that means the new
multi-device management page can manage several devices, but the normal trip
history view still shows one configured car/device at a time until a later
portal-wide device selector/filter is implemented.
---