Skip to main content

Inspection Details

The Inspection Details page (route /inspections/:id) is the operator-facing dashboard for one order or one inspection. It’s where you check status, edit metadata, view the order’s history of triggered workflow events, manage contracts and payments, and launch into report editing. The page renders differently depending on whether the record is a master order (which contains multiple inspections) or a single inspection. Both layouts are documented below.

Reaching this page

  • From the Inspections List — click any row
  • From the Dashboard — click an upcoming-inspection card
  • From an email — many automated notifications deep-link here

Header — the common top section

[SCREENSHOT: inspection-details-header.png — desktop, the top of the Inspection Details page showing the order number in large type, property address, client name, and a payment status pill with paid/unpaid summary.] Every variant shows the same header: If the record fails to load (network error or missing document), an error card surfaces the cause and lists the specific document path that was searched.

Master order layout — 4 tabs

When the record is a master order (isOrderMaster === true), the body renders as a 4-tab interface:

Overview tab

The Overview tab shows status banners at the top (variable, conditional) followed by the Order Summary card:

Status banners

Order Summary card

Inspections tab

Each child inspection appears as a row showing:
  • Inspection ID (monospace)
  • Status pill
  • Scheduled date and assigned inspector
  • A “Open” button → opens that inspection’s own Inspection Details page
Empty state: “No inspections found for this order.”

History tab

Chronological list of workflow trigger events fired for this order: Each event row shows the timestamp, the trigger name, and any payload metadata (e.g. which email template fired).

Single inspection layout — 6 tabs

When the record is a single inspection (a child of a master, or a legacy standalone), the layout has 6 tabs:

Inspection Details tab

Shows:
  • The template used (with link to the Template Builder)
  • Count of findings by section
  • Count of summary-flagged findings
  • A prominent Open in Inspection Reviewer button → launches the full report-editing workspace

Reports tab

Lists every report PDF generated for this inspection:
  • Version (1, 2, 3 — each Publish increments)
  • Generated timestamp
  • File size
  • Actions: Download, Email to Client, Email to Agent, Regenerate
The currently-published version is highlighted. Older versions remain accessible for audit.

Communications tab

Two-pane:
  • Email log — every automated and manual email sent for this inspection
  • Send custom email — compose a one-off email to the client, agent, or both
The email log shows the template used, the recipients, the send time, and delivery status (sent / delivered / bounced).

Editing fields

Most fields on this page support inline edit:
  1. Hover the field
  2. Click the pencil icon that appears
  3. Edit and Save (Enter) or Cancel (Esc)
Inline edits write directly to Firestore. The change appears in:
  • The mobile app within seconds (Firestore real-time listener)
  • The Inspections List on next refresh
  • The History tab as an inspection.updated event

Fields you can edit inline

  • Client name, email, phone
  • Co-client info
  • Realtor info
  • Property address fields
  • Property baseline fields (year built, sqft, foundation, cladding, roof)
  • Scheduled date and time
  • Assigned inspector
  • Notes

Fields you CAN’T edit here


Order-level actions

A row of action buttons on the right side of the header:

Record Payment dialog

When you click Record Payment, a dialog opens: Saving fires payment.received → any configured workflow steps run.

Error states


What this page does NOT do