PeopleBox with inspection.people (job contacts / roles), not a dedicated inspector block. The collapsed event row subtitle appends inspector.name only when present (SingleEventBar). Inspection rows do not surface inspector identity in the bar.Frontend — worklist UI
attik-frontend/src/components/task-check/WorklistResolver.tsx — Resolves worklist/:id/data and renders SingleJobsBar + SingleJobsDropdown for inspections, and SingleEventBar + SingleEventDropdown for events (plus grouped variants).attik-frontend/src/components/task-check/SingleJobsBar.tsx / SingleJobsDropdown.tsx — Inspection row title is datetime, address, badges, and workorder link; the dropdown shows PaymentNotes, PeopleBox (inspection.people), and ActivityFeed — no inspector phone/email block today.attik-frontend/src/components/task-check/SingleEventBar.tsx — Uses event.inspector only for inspector.name in the subtitle line; SingleEventDropdown again uses PeopleBox on the linked inspection and RelatedEventsSection, not the event's inspector document for contact details.attik-frontend/src/components/ui/PeopleBox.tsx — Renders people on the job (contacts by role); this is not the same as employee / inspector records on _inspectorId.Backend — worklist data
attik-backend/src/routes/worklist.ts — GET /worklist/:id/data builds pipelines via buildWorklistPopulationStages. For events, after loading the linked inspection, the pipeline $lookup inspectors and projects name, firstName, lastName, email, phone, image, thumb onto inspector (so email/phone can already exist on the payload for event rows). For inspections, getInspectionPopulationPipeline is invoked with includeInspectors: false everywhere in this builder, so assigned inspectors are not populated on inspection worklist rows today.Decision needed
attik-backend/src/routes/worklist.ts (GET /:id/data, buildWorklistPopulationStages).attik-frontend/src/util/types/serverTypeCollection/worklist.ts (EventWorklistResult documents inspector?: Inspector | null).Please authenticate to join the conversation.
Code Review
Main App
19 days ago
Linear
Get notified by email when there are changes.
Code Review
Main App
19 days ago
Linear
Get notified by email when there are changes.