Commit Graph

16 Commits (2f3f30116cd31504f8f5ea6dde0433ea2086c379)

Author SHA1 Message Date
Konrad Fröhlich fe947b4782
feat(status): claude.com-style banner header, less top whitespace (#9)
Owner 2026-07-13 (status.claude.com reference): the small centred check-icon
left a large empty band above it and read weaker than claude.com's
full-width status banner. Replace icon+giant-title with a horizontal
coloured banner (green ok / red down / amber partial), reduce container top
margin xl->md. next build green.

Co-authored-by: Test User <test@example.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-07-13 20:51:30 +02:00
Konrad Fröhlich a863b01da4
style: prominent uptime %, substantial one-tone day bars, OSG favicon (#3)
Owner design feedback (reference: status.claude.com):
- Per-monitor uptime % now prominent: Martian Mono, tabular-nums, 15px
  (.osg-uptime); UptimeFlare already computes/shows the number, so this
  is styling only — no config flag exists or is needed.
- Day-history bars 20px -> 32px tall, radius 3px (solid, uniform row).
- ONE healthy tone: util/color.ts is now binary (ok / down / no-data)
  via CSS vars --osg-ok/--osg-down/--osg-nodata mapped to the main
  site's --ok token (light #1f7a4d / dark #4caf82). Removed all
  yellow/orange/light-green gradations, incl. MonitorList partial-down
  orange. Only the (unused) scheduled-maintenance triangle keeps its
  distinct maintenance color.
- Favicon: ship the exact SVG openshopgraph.org serves (/favicon.svg),
  set pageConfig.favicon, delete UptimeFlare default favicon.png.

Verified: npx @cloudflare/next-on-pages build; page chunk contains
osg-uptime / height:"32px" / var(--osg-ok); no old hue literals remain;
CSS bundle defines --osg-ok for both schemes.

Co-authored-by: Test User <test@example.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-07-13 00:16:28 +02:00
lyc8503 e9d8a1c842 Add Chinese translation (Thank you copilot, and I swear I reviewed the code carefully) 2025-12-23 23:22:33 +08:00
lyc8503 ee2d23f151 feat: add default UA 2025-11-06 01:02:29 +08:00
lyc8503 78f9f1ee34 fix: page crash when wrong id configured 2025-11-05 01:22:10 +08:00
Nick Pease 03445b59fc
feat: slight style improvements (#153)
- Title case hide + show
- Correct plurality for "maintenance"
2025-11-02 13:57:24 +08:00
Mack f88e286b9c
Upcoming and active maintenance (#142)
* Updated with intial commit
- MaintenanceAlert.tsx now handles upcoming and active maintenance alerts.
- OverallStatus.tsx updated to include collapsible sections for ongoing and upcoming maintenance alerts.

* Updated MaintenanceAlert layout for better responsiveness

* Revert the uptime.config.ts

* fix: Added type definitions for active and upcoming maintenances

* Update components/MaintenanceAlert.tsx

Co-authored-by: Bennet Gallein <me@bennetgallein.de>

* Update: added `pageConfig.maintenances.upcomingColor` to control upcoming maintenance alert colors.

* Feature: Added a config option for the favicon.

* keep original styles

* remove collapse

* add back a different collapse for upcoming events

* css grid to align date text

* tiny css changes and cleanup

---------

Co-authored-by: Bennet Gallein <me@bennetgallein.de>
Co-authored-by: lyc8503 <me@lyc8503.net>
2025-09-27 21:30:13 +08:00
lyc8503 65408d4962 fix: incident header margin, run prettier 2025-09-21 15:28:59 +08:00
Bennet Gallein a6c8eb6e12
maintenance mode (#101)
* feat: move types

* feat: add maintenance alert

* feat: move to config/base class to have fallback values on missing exports

* fix: wrong import for types

* Revert "fix: wrong import for types"

This reverts commit ca2b2e3a68.

* Revert "feat: move to config/base class to have fallback values on missing exports"

This reverts commit 9932ea2590.

* fix: imports

* chore: formatting

* fix: handle filtering for global status

* fix: pass props

* fix: ignore active maintenances when sending notifications

* fix: mark as warning when monitor is in maintenance

* fix: title width & warning icon

* fix: remove accordeons again

* alert config/style changes, worker code improve

* update example config

* update example config

* set monitors to be optional

---------

Co-authored-by: lyc8503 <me@lyc8503.net>
2025-05-01 01:09:53 +08:00
lyc8503 4bcf4173ea misc: run prettier 2025-04-19 21:50:43 +08:00
lyc8503 62ba220fe9 add auto refresh 2024-07-01 00:57:01 +08:00
lyc8503 87611700c3 format code and no semi 2023-11-06 00:51:41 +08:00
lyc8503 eba65bd654 format code 2023-11-06 00:38:30 +08:00
lyc8503 1d431a649f disable ssr & dark mode & bar 2023-10-23 00:54:26 +08:00
lyc8503 4fba030932 wip: more layout & chartjs 2023-10-15 16:44:00 +08:00
lyc8503 f9212c88a6 wip: frontend header & overall status 2023-10-15 02:00:29 +08:00