Repository navigation
Improve incidents UI with browsing pages and date formatting - #48
Merged
Merged
Conversation
…ting - Add formatIncidentRange() for smart date+time display (ongoing, same-day, cross-day) - Show "No open incidents" card with green checkmark on main page when none exist - Add "View all incidents" link on main page pointing to /incidents - Create /incidents page listing all incidents across all sites - Limit site detail page to 3 incidents with "View all" link to /sites/[id]/incidents - Create /sites/[id]/incidents page for full site-scoped incident list Closes #47 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Updates to Preview Branch (feature/incidents-ui-improvements) ↗︎
Tasks are run on every commit but only new migration files are pushed.
View logs for this Workflow Run ↗︎. |
jasoncrawford
enabled auto-merge
February 23, 2026 02:04
The heading is now always shown with a "No open incidents" message when none exist, so update the assertion accordingly. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/incidents/incidentspage lists all incidents across all sites (open first, then resolved), with site names, status badges, and smart date+time formatting/sites/[id]/incidentswhen more exist/sites/[id]/incidentspage shows the full incident history for a single siteformatIncidentRange()helper for smart date+time display: ongoing (Feb 19 5:30pm – ongoing), same-day resolved (Feb 19 5:30pm–5:53pm), or cross-day (Feb 19 5:30pm – Feb 20 10:15am)Closes #47
Test plan
/with no open incidents → see green checkmark "No open incidents" card + "View all incidents" link/with open incidents → see them listed + "View all incidents" link/incidentsshows all incidents across sites with site names and date ranges/sites/[id]→ see at most 3 incidents; "View all incidents" link appears if >3/sites/[id]/incidentsshows full list for that site🤖 Generated with Claude Code