* fix(incidents): /incidents never received the incident data (P0 false statement)
/incidents got pageProps = [monitors] (2910 B) while / got
[compactedStateStr, monitors] (13119 B). The page therefore rendered only
the hand-written `maintenances` array from uptime.config.ts and, that being
empty, printed "No incidents in this month" — next to a 99.95 % uptime
figure computed from the very outages it was hiding.
Measured against the live state of 2026-07-30 16:45 UTC: 14 recorded
incidents in 2026-07 (8x api_health, 6x mcp), one of them still OPEN
(mcp, "Expected codes: [200,401,405,406], Got: 400"). The page showed zero.
Both halves are fixed, because only fixing the data path would turn the
next load failure back into a silent false statement:
- getServerSideProps now reads `state` from the store, like pages/index.tsx
does, and the page derives incidents from it (util/incidents.ts).
Exposure is unchanged: compactedStateStr is already public on /, and the
monitor list stays limited to id+name (see 377a596).
- NoIncidents gained a `noData` variant, so "we could not look" (no monitor
state at all) no longer renders as "there were no incidents".
Details of the derivation:
- reads the compacted columns directly instead of uncompact(), which would
also decode the much larger latency series this page never renders;
- counts an incident for a month when it OVERLAPS it, so an outage across a
month boundary or a still-open one cannot vanish from the current month;
- skips the worker's zero-length 'dummy' seed record (worker/src/index.ts:51),
which stores the monitoring start time and is not an outage;
- keeps history of monitors that were removed from the config, under their
raw id — silently dropping records is the failure being fixed here.
scripts/check-incidents-datapath.ts reproduces the red/green against a real
captured state:
npx tsx scripts/check-incidents-datapath.ts live-state.json 2026-07
-> incidents rendered: 14 (structurally 0 before this change)
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
* fix(header): mobile nav overflowed the 56px header and the 360px viewport
Measured on the live page with Chromium:
390px nav group Rect -4.5 .. 60.5 (65px tall) against header 0 .. 56
-> "Incidents" clipped top and bottom
360px document scrollWidth 371 vs clientWidth 360 -> 11px page overflow
One cause for both. The mobile nav renders `link.highlight ||
link.link.startsWith('/')`, which includes the 150px "openshopgraph.org"
entry — whose href is byte-identical to the href of the wordmark on the left
(verified in the DOM: brand href === link href). Wordmark plus two links does
not fit at 360-390px, so the Group wrapped to two 30px rows plus a 5px gap =
65px of content in a header with a *fixed* 56px height, which cannot contain
it and therefore clips it.
- Header.tsx drops nav links that point where the wordmark already points.
The link is not lost; it is the wordmark.
- Header.module.css uses min-height instead of height on .header/.inner, so
the next long label makes the header grow instead of silently cutting its
content off. The Group keeps its default wrapping on purpose: contained
vertical growth beats horizontal page overflow.
Re-measured on the live DOM with exactly this combination applied:
360px overflow 0px, nav 13 .. 43 inside header 0 .. 57
390px overflow 0px, nav 13 .. 43 inside header 0 .. 57
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
* chore(config): prepare multi-region checks, deliberately left disabled
Requested as "prepare, do not roll out", so this commit adds no active
monitor: only a documented, commented-out block in uptime.config.ts.
Correcting the finding while preparing it: the single vantage point is real,
but it is not Frankfurt. Decoded from the live state of 2026-07-30, all 435
latency samples (145 per monitor, the 12h window) carry loc "LHR" — London.
No monitor sets `checkProxy`, so checks run in whichever colo the cron worker
happens to be scheduled in.
Also correcting the shape of the work: `checkProxy` is one value per monitor,
not a list (worker/src/monitor.ts:361-400). Multiple regions therefore mean
one monitor entry per region — still configuration, but it multiplies the
checks per minute and adds a row to the public page for each region, which is
why this is an owner decision rather than a switch to flip.
The block records the two transports ('worker://<DurableObjectLocationHint>'
and 'globalping://') and the one trap worth knowing before enabling: without
`checkProxyFallback: true` a failing probe is stored as up:false with
"Unknown check proxy error", i.e. a probe outage gets published as a service
outage.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
---------
Co-authored-by: Test User <test@example.com>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
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>
Re-theme the UptimeFlare fork's chrome (surfaces, borders, type, header
wordmark, footer line) to the openshopgraph.org design tokens, sourced
from openshopgraph-frontend-v2 src/styles/site-tokens.css. Monitor set,
check logic and page title/links config are untouched.
- Copy the site's self-hosted Cabinet Grotesk / Switzer / Martian Mono
woff2 faces (~124 KB) into public/fonts and remap Mantine's CSS
variables (--mantine-font-family[-headings/-monospace]) to the same
stacks; drop the next/font/google Inter import (font-CDN-free, same
rule as the main site's CSP).
- Remap Mantine surface/text/border variables per color scheme
(--mantine-color-body/text/white/dark-6/dark-4/anchor/dimmed,
--mantine-primary-color-filled) to --paper/--ink/--card/--hair from
site-tokens.css; keeps following prefers-color-scheme via Mantine's
existing defaultColorScheme="auto" script, matching the main site's
light/dark behavior. Semantic monitor-state colors (green/red icons)
are left alone on purpose.
- Bump --mantine-radius-{sm,md,lg} to the main site's softer values.
- Replace the generic UptimeFlare <Image> logo in Header.tsx with the
OSG two-dot wordmark (same glyph as BaseLayout.astro's .top-brand
mark), linking to https://openshopgraph.org.
- Set pageConfig.customFooter to a one-line footer matching the main
site's "Verified data, not ads." tone instead of the stock UptimeFlare
attribution line.
Co-authored-by: Test User <test@example.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
* feat: add incident history link to links in header
* fix: lower margin-bottom on header to have not that much wasted space
* chore: move footer to own component
* feat: add NoIncidents component
* feat: add incidents history page
* fix: add sorting by date
* fix: fix sorting
* feat: hash linking to individual incidents
* fix: always truthy title
* feat: remove hash
* feat: some link improvements
* feat: improve styles for alert, support mobile devices
* fix: remove unused vars, larger margin
---------
Co-authored-by: lyc8503 <me@lyc8503.net>