Add developer tools page and API status page#837
Draft
Conversation
…tion - Add "Developer tools" link to footer - Create /dev-tools page with card grid linking to developer resources - Create /dev-tools/api-status page with 90-day uptime visualization - Add Vercel serverless function to proxy BetterStack Uptime API - Aggregate status banner, per-monitor uptime bars, and status legend - Per-day bar color: green (no outage), yellow (≤1hr), red (>1hr) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add /api/:path* rewrite before the SPA catch-all in vercel.json so serverless functions are routed correctly. Remove unused mock data and fallback logic from the status page. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Vercel detects serverless functions from the api/ directory at the project root, not from app/api/. This was causing /api/betterstack to return the SPA HTML instead of executing the function. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace discrete color buckets with Atlassian-style continuous gradient. Server returns downtimeMinutes per day, client interpolates across green→yellow→orange→red color stops based on outage duration. Legend updated to show gradient bar. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Gradient now jumps to yellow for any non-zero downtime, then interpolates yellow→orange→red over 0-60 minutes. Replaced native title attributes with positioned hovercards showing formatted date, status dot with label, and downtime duration. Hovercard styling matches the existing chart tooltip pattern (TOOLTIP_STYLE). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Collaborator
Author
|
Holding off on this PR to await NextJS migration changes |
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.
Fixes #836
Summary
/dev-toolslanding page with card grid linking to API status/dev-tools/api-statuspage with aggregate status banner, per-service 90-day uptime bars, and uptime percentages/api/betterstackto proxy BetterStack Uptime API/api/:path*rewrite before the SPA catch-all invercel.jsonTest plan
/api/betterstackcorrectly (returns JSON, not HTML)🤖 Generated with Claude Code