fix: Vehicle summary screen does not display maintenance records #239
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The Vehicle Records section on the vehicle summary screen renders empty — no maintenance records appear for the vehicle, even when records exist for that vehicle in the maintenance feature.
Environment
https://staging.motovaultpro.com)https://staging.motovaultpro.com/garage/vehicles/01caf9e8-2b9a-4f24-959f-67a3e6bd91b1https://staging.motovaultpro.com/garage/maintenanceSteps to Reproduce
/garage/maintenance— confirm one or more maintenance records exist (some are for vehicle01caf9e8-2b9a-4f24-959f-67a3e6bd91b1)./garage/vehicles/01caf9e8-2b9a-4f24-959f-67a3e6bd91b1.Actual Behavior
/garage/maintenancepage.Expected Behavior
vehicleId.Severity / Impact
/garage/maintenanceas a workaround.Likely Investigation Areas
vehicleIdparameter.?vehicleId=...or path param) returns rows when given this vehicle's UUID.mapRow()— confirm snake_case → camelCase mapping is intact and not dropping records due to a field mismatch.datavsdata.items).Acceptance Criteria
/garage/maintenancefiltered by the same vehicle.Notes
mapRow()for case conversion perCLAUDE.md.