report.inspectors data (and charge / event assignment when that determines the displayed inspector for ancillary services), instead of defaulting to Attik work-order inspectors when that misrepresents the report.ReportHeader prefers Attik inspection._inspectorId / inspectionInspectors and only falls back to report.inspectors, which diverges from how users read authorship in Spectora.report.inspectors is empty.Frontend
attik-frontend/src/app/client/reports/components/ReportHeader.tsx and any helpers that choose inspector display order from the report payload vs inspection population.Backend / data
report.inspectors on the object the client report receives; charge/event linkage used for “which inspector for this report section” should be traced from existing charge models (Decision needed on exact fields).attik-frontend/src/app/client/reports/components/ReportHeader.tsxUsers expect the Inspector block on the Attik client report (ReportHeader) to reflect report.inspectors from the synced Spectora / Firebase report JSON (i.e. who Spectora associates with the report), similar to how they read it in Spectora.
ReportHeader prefers populated Attik work-order inspectors (inspection._inspectorId / inspectionInspectors) and only falls back to report.inspectors when those are not used. That can diverge from Spectora’s report inspector / author presentation.
Use report.inspectors from the report payload for the Inspector block (possibly with a defined fallback order if the array is empty — product to confirm).
Use the charge assignment functionality to determine which inspector displays on the inspection report. i.e. if a sewer scope event is attached to the sewer scope inspector than the inspector for the event should be displayed on the report.
https://www.attik.ai/inspections/1008590164?tab=workorder
attik-frontend/src/app/client/reports/components/ReportHeader.tsxPlease authenticate to join the conversation.
Planned
Main App
23 days ago
Linear
Get notified by email when there are changes.
Planned
Main App
23 days ago
Linear
Get notified by email when there are changes.