ProjectDetail
The heaviest component in the portal (~2,672 lines). Right-side context panel showing full project info.
Connections
- used by: CommandCenter, OwnerProjects, Workbench, and most pages
- opens: FridayPanel, RfiPanel, SowPanel, ReviewChecklist, DocumentPanel, VisitDetailPanel, CorrespondencePanel, DeliveryLog, PhotoViewerPanel, CertPreviewPanel, InvoicePreviewPanel, ProjectNotes
- calls: portal-projects-api (detail, files, rfis, correspondences, cert-invoice, xero-invoices, hold, cancel, notes)
- uses: FloatingPanel (opens sub-panels as draggable windows)
- context: ContextPanelContext (selectedProjectId)
Notes
- Tabs: Overview, SOW, Site Visits, RFIs, Documents, Correspondence, Delivery Log, Cert/Invoice, Photos, Notes
- Role-based access: financial roles see invoices, CERT_ROLES see cert data
- Floating panels for documents, photos, RFI details (draggable windows)
- Guardrail display for $5K+ and proprietary jurisdictions
- Confidence score display when available