Skip to content

Add incident detail page with resolve action - #20

Merged
jasoncrawford merged 3 commits into
mainfrom
incident-detail
Feb 18, 2026
Merged

jasoncrawford merged 3 commits into
mainfrom
incident-detail

Conversation

@jasoncrawford

Copy link
Copy Markdown
Collaborator

Summary

  • Creates /incidents/[id] page with incident status badge (Open/Resolved), site name, and timestamps
  • Shows triggering error in a code tag
  • Displays check log since incident opened with status dots and status codes
  • "Triggered incident" label on the check that opened the incident
  • Resolve button (green, with checkmark icon) visible only to authenticated users
  • Server action for resolving incidents (marks as resolved, sets resolved_at, redirects unauthed users)
  • Includes 4 new tests for data fetching and resolve action

Test plan

  • All 18 Vitest tests pass (4 new)
  • Next.js build succeeds with no type errors
  • CI passes on this PR

Closes #9

🤖 Generated with Claude Code

Creates /incidents/[id] page showing incident status badge, site name,
opened/resolved timestamps, triggering error, and check log since the
incident opened. Authenticated users see a Resolve button that marks
the incident as resolved. Includes server action and 4 new tests.

Closes #9

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@jasoncrawford
jasoncrawford merged commit 7cf2416 into main Feb 18, 2026
1 check 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.

Build incident detail page with resolve action

1 participant