Skip to content

[OPE-166] Post-mortem template selector in generation UI#109

Merged
singret merged 3 commits into
mainfrom
ope-166-postmortem-template-selector
Jun 3, 2026
Merged

[OPE-166] Post-mortem template selector in generation UI#109
singret merged 3 commits into
mainfrom
ope-166-postmortem-template-selector

Conversation

@singret
Copy link
Copy Markdown
Contributor

@singret singret commented Jun 3, 2026

Summary

  • Auto-selects first template on load so every user lands on a named template rather than the silent "Default" fallback
  • Adds TemplatePills component to the empty state — visible at 1080p without scrolling, above the action buttons
  • Generate button label reflects selected template (e.g. "Generate · Infrastructure")
  • Single-template case: one muted non-interactive pill still communicates the concept
  • Zero-template case: no pills, button reads "Generate with AI" — identical to before
  • Existing PM case: AI ▾ dropdown template selector now inherits the pre-selected value

Changes

  • frontend/src/components/incidents/PostMortemPanel.tsx — single file, no backend or API changes

Closes OPE-166

@singret singret merged commit 6d04759 into main Jun 3, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant