InspectorFilter) is a client-side calendar filter only. It narrows visible slots via selectedInspectorIdsForFilter in SlotsStep; it does not update the locked inspector after a time is already selected.selectedDateTime, selectedInspectorForSlot, and selectedSlotInspectorInfo in handleTimeSlotSelect. For multi-inspector slots with autoSelectTopInspector, the best-scoring inspector may be auto-assigned unless the per-slot Select Inspector picker is shown.CalendarView is datetime-only (isSelected = selectedDateTime === slot.datetime), so a filtered inspector’s slot at the same time can look selected even when assignment still points at another inspector.inspectorAssignment: [selectedSlotInspectorInfo._id] from BookingJobLoader. When exactly one preferred inspector is filtered, requested is also sent — but that is a preference, not the assignment.Locked
/scheduler slots flow). Internal dispatch scheduling is out of scope unless the same components are shared and broken there too.selectedSlotInspectorInfo / selectedInspectorForSlot drive assignment today; any fix must keep confirmation UI, summary bar, quote/hold creation, and inspectorAssignment aligned.Open
requested.)sendQuote.ts and SendQuoteLoader use the same slot/inspector state. Confirm whether quote sends and working holds must follow the same rules as live booking.Frontend (attik-frontend)
src/app/scheduler/slots/SlotsStep.tsx owns selectedInspectorIdsForFilter, selectedInspectorForSlot, selectedSlotInspectorInfo, and handleTimeSlotSelect. Client-side slot filtering and the green Appointment Scheduled confirmation card (getSelectedInspector) live here.src/app/scheduler/slots/InspectorFilter.tsx (label: Preferred Inspectors, multi-select).src/app/scheduler/slots/CalendarView.tsx groups slots by datetime, highlights selection by datetime only, and optionally shows per-slot Select Inspector when scheduleSettings.showInspectorInOnlineScheduler is enabled.src/app/scheduler/SchedulerContext.tsx persists filter and slot inspector state; step validation in src/app/scheduler/utils/useStepValidation.ts requires selectedInspectorForSlot[selectedDateTime] on the schedule and summary steps.SchedulerSummaryBar.tsx, summary/SummaryStep.tsx, summary/BookingJobLoader.tsx, and utils/sendQuote.ts / summary/SendQuoteLoader.tsx should stay consistent with whatever assignment model is chosen.showInspectorInOnlineScheduler in scheduling settings controls whether inspector names/avatars appear on slots and confirmation; behavior should be tested in both on and off states.Backend (attik-backend)
inspectorAssignment on inspection/book-job (and Spectora create-job for non-Attik booking). Revisit only if product decides requested semantics need server-side enforcement.Out of scope
DispatchSection, reschedule modals) unless the same bug reproduces there with shared components.attik-frontend/src/app/scheduler/slots/SlotsStep.tsx, attik-frontend/src/app/scheduler/slots/InspectorFilter.tsx, attik-frontend/src/app/scheduler/summary/BookingJobLoader.tsxPlease authenticate to join the conversation.
Planned
Main App
About 4 hours ago
Linear
Get notified by email when there are changes.
Planned
Main App
About 4 hours ago
Linear
Get notified by email when there are changes.