HI-Fi: driver assist and summary page#174
Conversation
6f361ec to
fc0f6ff
Compare
|
Great work on the driver assist flow — the library boundary in Bugs
Minor
|
0f51ab7 to
c7e8172
Compare
|
Rebased this branch on top of fix-driver-route-export-import branch which is PR #213, so it includes the latest Driver Assist upload fixes first. |
|
Thanks for addressing all the feedback — CSV handling, the dead warning button, the Two things to fix before merge: CSV lat/lng accepts empty columns as 0,0 ```ts
```ts |
Summary
driver_assistPWA flow for importing route JSON, completing/reporting stops, finishing a route, and exporting a route summary JSON.Motivation
Changes
Frontend:
/upload-routeto the driver assist route import flow so uploaded JSON is transformed into driver route state instead of looping back to upload./driver_assistwith the mobile-first stop workflow: route summary, remaining/delivered/reported sections, expandable stop cards, notes, delivered status, issue reporting, and navigation./driver_assist/summarywith total/complete/remaining counts, per-stop completion badges, b2 footer branding, and sticky route summary export.app/uifiles and kept the actual content diff focused to the driver assist files.Backend:
Mobile:
app/mobilechanges in this driver assist UI work.Validation
Frontend
npm --prefix app/ui run lintnpm --prefix app/ui run format:checknpm --prefix app/ui run typechecknpm --prefix app/ui run testnpm --prefix app/ui run buildnpm --prefix app/mobile run lintnpm --prefix app/mobile run typecheckBackend
cmake --preset dev.github/scripts/check-backend-static.sh build/devcmake --build --preset dev --parallelctest --preset dev --output-on-failure --no-tests=error -LE 'e2e|docker'docker compose -f deploy/compose/docker-compose.arm64.yml --env-file deploy/env/http-server.arm64.env configRisk
Rollout and Recovery
/driver_assistor install the PWA from the browser.High-Signal PR Checklist
Screenshots for driver assist