Confirm Production Days button — confirmation state (2026-08-03)
Dustin’s ask: make the Confirm Production Days button in CertPanel more visible and stateful. Blue “Confirm Production Days” while the owner/admin sign-off is pending; green, disabled “Production days have been confirmed” once done.
- API (entirely-api
173a91c):GET /portal/projects/{id}now returnsproduction_days_confirmed— desk reviews only;truewhen every qualifying UND/ANC/BRC SOW line carriesproduction_days_confirmed(the flag preflight Probe 10 / cert_validate Check 12 enforce);nullwhen not applicable. Computed from Supabasesow_linesbyproject_ss_id, mirroring the confirm endpoint’s query. - Portal (entirely-portal
f28069e): CertPanel derives confirmed state from the new field plus an optimistic local flip on click success. New compact styles use--blue(#5a7a9a) and--green(#5a8a5a) tokens. - Context: surfaced while unblocking the MAN-9132 (20500 Poplar Ridge Rd) cert send, which failed preflight on production_days_confirmed. Dustin set Production Days = 1 and confirmed; UND-PUSH line now owner_manual.
Related: ppdr-cert-routing, cert-preflight