MailglassAdmin.Inbound.DetailHeader (MailglassAdmin v1.2.0)

Copy Markdown View Source

Selected inbound-record summary header.

Sibling of MailglassAdmin.Operator.DetailHeader (D-48-13). Receives the detail read-model map %{record: %InboundRecord{}, mailbox:, outcome:, outcome_reason:, evidence:} from MailglassInbound.Internal.Operator.Detail.

CRITICAL (Pitfall 2): the :suppression_flagged field does NOT exist on any Phase 48 schema — it lands in Phase 49. The flag is read with Map.get(record, :suppression_flagged, false), NEVER via dot-access on a missing struct key (which raises KeyError). The IOPS-05 copy renders only when the flag is truthy, so it is forward-compatible scaffolding that simply never renders until Phase 49.

Summary

Functions

detail_header(assigns)

Attributes

  • detail (:map) (required)