feat: add trip ID column (#18517) to history table on Pi and server

This commit is contained in:
Mathieu Moran
2026-08-11 14:58:25 -04:00
parent f6a50b6bc1
commit 23ac6c218b
4 changed files with 13 additions and 1 deletions
+10
View File
@@ -159,3 +159,13 @@ dedicated PLAN.md phase (or fold it into the relevant existing work) and mark it
(No entries yet — shipped features land here. Keep the original idea text intact and add the
shipped phase/date.)
### FEAT-06 — Trip ID column in history table
- **Status**: `SHIPPED` 2026-08-11
- **Area**: `static/js/history.js`, `templates/history.html`, `server/templates/history.html`
- **Phase**: Phase 26 (slipped in during bug-fix pass)
- **What**: A narrow `#ID` column appears at the left of every trip row on both Pi and server
history pages, showing the database trip ID (e.g. `#18517`). Useful for debugging and
cross-referencing trips between Pi and server.
- **Implementation**: `history.js` render function prepends a `<td>` with the ID. Both Pi and
server templates add `{"key": "id", "label": "ID", "sortable": false}` to the column list.