docs: BUG-07 closed — history.js rewrite verified on Pi and server
This commit is contained in:
@@ -40,18 +40,6 @@ When CLOSED, move the entire entry to Resolved — don't duplicate.
|
||||
|
||||
---
|
||||
|
||||
### BUG-07 — Trip replay on portal sometimes does nothing
|
||||
- **Status**: `OPEN`
|
||||
- **Severity**: Low/Medium
|
||||
- **Area**: `static/js/history.js`, server `/api/v1/portal/trip/<id>`
|
||||
- **Phase**: Phase 26
|
||||
- **Symptom**: Clicking a trip to replay intermittently does nothing — no route, no error.
|
||||
- **Root cause**: Not isolated. Possible API/DB race, DB lock, map readiness.
|
||||
- **Fix scope**: Add diagnostics. Add explicit error state.
|
||||
- **Acceptance**: Replay reliable; failures show visible error.
|
||||
|
||||
---
|
||||
|
||||
## Resolved
|
||||
|
||||
### BUG-03 — DTC/MIL codes never persisted
|
||||
@@ -74,6 +62,17 @@ When CLOSED, move the entire entry to Resolved — don't duplicate.
|
||||
- **Fix**: `"obd" if speed > 0 else "gps"` matching Pi logic.
|
||||
- **Verification**: Docker rebuild, `/health` OK LAN + Cloudflare.
|
||||
|
||||
### BUG-07 — Trip replay on portal sometimes does nothing
|
||||
- **Status**: `CLOSED` 2026-08-11
|
||||
- **Commit**: `fa93384`
|
||||
- **Fix**: Full rewrite of `static/js/history.js`: unified AbortController cancels fetch
|
||||
+ all downstream rendering on trip switch; 300ms debounce prevents double-tap stacking;
|
||||
loading spinner on map + `.table-active` row highlight give clear feedback; geocode
|
||||
preload starts immediately before map rendering so cache is warm for the scrubber;
|
||||
`signal.aborted` guards after every async step (route build, fitBounds, timeline init).
|
||||
- **Verification**: Deployed to Pi and server. Rapid trip-switching no longer freezes.
|
||||
Verified on both platforms 2026-08-11.
|
||||
|
||||
### BUG-08 — No trip deletion on local Pi
|
||||
- **Status**: `CLOSED` 2026-08-11
|
||||
- **Commit**: `c5c478b`
|
||||
|
||||
Reference in New Issue
Block a user