Frontend
attik-frontend/src/app/tools/dispatch/SlotBlock.tsx displays Math.round(slot.info.miles); optimal slot types live in src/util/types/optimalSlotType.ts (miles: number).src/util/functions/mapbox/mapboxDirectionsIntoMilesTimesStops.ts and StatsBox.tsx (aggregate miles for a route).SlotSchedulerForm.tsx / DynamicMapBar.tsx feed the slot search pipeline—trace where info.miles is populated per inspector.Backend
useServer / fetch calls (Decision needed on endpoint names).attik-frontend/src/app/tools/dispatch/SlotBlock.tsxattik-frontend/src/util/types/optimalSlotType.tsattik-frontend/src/util/functions/mapbox/mapboxDirectionsIntoMilesTimesStops.tsIn the Slot Scheduler, all inspectors appear to be showing a distance of 20 miles for the same property, which looks incorrect and may indicate a regression.
Example observed on RIA - 959 Briarleigh. In the screenshot, multiple inspectors are listed with different availability/service-area states, but each one shows Miles: 20.
This should be checked to confirm whether the distance calculation or display is being incorrectly reused across all inspectors.
Ryan was able to replicate this bug.
Google chat: https://chat.google.com/room/AAQAfgRDZA4/VEno0uzGot8/VEno0uzGot8?cls=10
Please authenticate to join the conversation.
Completed
Main App
2 months ago
Linear
Get notified by email when there are changes.
Completed
Main App
2 months ago
Linear
Get notified by email when there are changes.