Skip to content

Show drivers rider route previews#4

Merged
SaarthurR merged 2 commits into
mainfrom
codex/driver-route-preview
Jul 14, 2026
Merged

Show drivers rider route previews#4
SaarthurR merged 2 commits into
mainfrom
codex/driver-route-preview

Conversation

@SaarthurR

Copy link
Copy Markdown
Owner

Summary

Drivers need to judge the extra travel a rider request adds before accepting it. This change gives pending riders a focused review dialog that previews the relevant leg: home to rider pickup for trips to JCNC, or rider drop-off to home for trips from JCNC.

It also validates newly entered home and rider addresses through Google Places when configured, retains a usable manual fallback when Maps is unavailable, removes low-value standalone map links, and keeps Confirm and Decline available even when a route preview cannot be rendered.

Test plan

Verified from a detached worktree at commit eabef5b4be551343398cb5b30eb7ba422eed91e1 after a clean npm ci:

  • npm test — 411 passed, 0 failed
  • npm run lint — passed with exit 0
  • npx tsc --noEmit — passed with no diagnostics
  • npm run build — passed on Next.js 16.2.9; compiled successfully and generated 12/12 static pages
  • git diff --cached --check — passed with no whitespace errors

@vercel

vercel Bot commented Jul 14, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
juber Ready Ready Preview, Comment Jul 14, 2026 3:02am

@SaarthurR
SaarthurR merged commit 9566ad6 into main Jul 14, 2026
4 checks passed
@SaarthurR
SaarthurR deleted the codex/driver-route-preview branch July 16, 2026 02:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant