HI-Fi: driver assist and summary page#174
Open
hir-al-14 wants to merge 10 commits into
Open
Conversation
…e to exporting the json
6f361ec to
fc0f6ff
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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