Skip to content

Add alert rules UI (metric alerts phase 1) - #335

Open
acoshift wants to merge 1 commit into
mainfrom
feat/metric-alerts
Open

Add alert rules UI (metric alerts phase 1)#335
acoshift wants to merge 1 commit into
mainfrom
feat/metric-alerts

Conversation

@acoshift

Copy link
Copy Markdown
Member

Summary

Console UI for the new alert resource (SPEC-metric-alerts.md Phase 1; API: deploys-app/api#133, server: deploys-app/apiserver#249).

  • /alert list — condition rendered human-readable, status badges (ok/firing/nodata, disabled takes precedence), 60s auto-refresh
  • /alert/create — create + edit (?name=): location/deployment picker, metric/op/threshold/for-minutes, optional renotify, inline warning when the project has no notification channels
  • /alert/detail — evaluator state, transition history (alert.events), link to the deployment metrics chart, gated edit/delete
  • Nav entry (preview), Api types, mock fixtures/handlers covering ok/firing/nodata/disabled, 13 Playwright specs

Screenshots to follow in a comment.

Testing

bun run check, lint, and full Playwright suite green (394 tests).

List/create/detail pages for metric alert rules (SPEC-metric-alerts.md
Phase 1): status badges (ok/firing/nodata), combined create+edit form with
deployment picker and notification-channels hint, detail page with
transition history and a link to the deployment metrics chart.
@deploys-app

deploys-app Bot commented Aug 11, 2026

Copy link
Copy Markdown

Preview console-pr-335

URL: https://console-pr-335-606515731026706458.rcf2.deploys.app

Image: registry.deploys.app/deploys-app/console@sha256:3df35b024be0258d18c92638a41feacc977b76b90f6b8c72027f87ca3f8d2e0f

Commit: 636e2c5

updated 2026-08-11T07:05:11Z

acoshift added a commit that referenced this pull request Aug 11, 2026
@acoshift

Copy link
Copy Markdown
Member Author

Screenshots (mock data)

List — status badges, human-readable conditions
alert list

Detail — evaluator state + transition history
alert detail

Create/edit form
alert create

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