Skip to content

Hide Live range filter on Static deployment metrics#214

Merged
acoshift merged 1 commit into
mainfrom
static-metrics-hide-live
Jun 14, 2026
Merged

Hide Live range filter on Static deployment metrics#214
acoshift merged 1 commit into
mainfrom
static-metrics-hide-live

Conversation

@acoshift

@acoshift acoshift commented Jun 14, 2026

Copy link
Copy Markdown
Member

Summary

On the deployment metrics page, Static deployments have no live metrics pipeline — the Live and Agg time windows resolve to the same underlying data, so the Live pill row is redundant noise.

This hides the Live range row for Static deployments (#if !isStatic), leaving only the Agg windows. The default range stays 1hagg, so Static pages still land on a valid window. WebService deployments are unchanged.

Screenshots

Static deployment — Live row hidden (Agg only):

Static metrics rail

WebService deployment — unchanged (Live + Agg):

WebService metrics rail

Full Static metrics page:

Static metrics page

Testing

  • bun lint — clean
  • bun check — 0 errors, 0 warnings
  • Captured via Playwright in mock mode

🤖 Generated with Claude Code

Static deployments have no live metrics pipeline, so the Live and Agg
windows resolve to the same data. The Live pill row was redundant noise,
so hide it for Static deployments and keep only the Agg windows.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying deploys-app--console with  Cloudflare Pages  Cloudflare Pages

Latest commit: f62b414
Status: ✅  Deploy successful!
Preview URL: https://c8f5ca52.deploys-app--console.pages.dev
Branch Preview URL: https://static-metrics-hide-live.deploys-app--console.pages.dev

View logs

@acoshift acoshift merged commit c3c45f4 into main Jun 14, 2026
5 checks passed
@acoshift acoshift deleted the static-metrics-hide-live branch June 14, 2026 14:50
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.

1 participant