Docs Patterns
Campaign plannerexperimental
Time-boxed promotions: a window, a layout takeover, and the collections being boosted. Ended campaigns become read-only — duplicate one to run it again.
Guidelines
- mustEnded campaigns are read-only: fields disabled, Save disabled, a neutral Banner explains why and points at duplicate-to-rerun. They are kept for reporting, never deleted automatically.
- mustStatus renders through StatusBadge (scheduled=info, live=success, draft=neutral, ended=neutral) — never hand-picked tones.
- mustDeleting a campaign never touches its linked layout or collections, and the confirm says so.
- shouldAn empty start date means draft — scheduling is the promotion, so the window lives on the Details tab, not buried in settings.