Added drop off estimation times via the mapbox API - #68
Conversation
✅ Deploy Preview for able-alliance ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Greptile SummaryThis PR adds estimated dropoff times to ride cards by calling the Mapbox Directions API server-side at route creation time, persisting the result in MongoDB, and displaying it in
Confidence Score: 3/5Not safe to merge — two P1 defects introduced in the new ride detail page: the map always renders wrong hardcoded coordinates, and locations are fetched twice on every route update. Score of 3 reflects two concrete functional bugs on the primary changed path. The backend Mapbox integration is solid, but the frontend rendering of both the map and the duplicate effect need to be fixed before this is ready to ship. src/app/rides/[id]/page.tsx needs the most attention — remove the duplicate fetchLocations effect and update the map to read actual lat/lng from the fetched location objects rather than hardcoded defaults. Important Files Changed
|
No description provided.