Skip to content

Add site detail page with incidents and check log - #19

Merged
jasoncrawford merged 4 commits into
mainfrom
site-detail
Feb 18, 2026
Merged

jasoncrawford merged 4 commits into
mainfrom
site-detail

Conversation

@jasoncrawford

Copy link
Copy Markdown
Collaborator

Summary

  • Creates /sites/[id] page showing site name, URL, and current status (up/down with color dot)
  • Displays incident history with status badges (Open/Resolved) and links to incident detail
  • Shows check log table with timestamps and results (color-coded success/failure)
  • Edit button visible only to authenticated users
  • Adds src/lib/format.ts with time formatting utilities
  • Includes 5 new tests for data fetching and auth state checks

Test plan

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

Closes #8

🤖 Generated with Claude Code

Creates /sites/[id] page showing site name, URL, current status,
incident history with status badges, and a check log table with
timestamps and results. Edit button visible only to authenticated users.
Adds format utilities (shared with status page when merged).

Closes #8

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@jasoncrawford
jasoncrawford merged commit 917ba26 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 site detail page

1 participant