Alert source type in /alerts/sources/new #22

Closed
opened 2026-10-06 13:24:55 +02:00 by EduarD3V · 4 comments
Owner

Sample URL: http://100.118.73.36:5173/alerts/sources/new

I need you to add the type of the source type (webhook or poll) on a badge

Sample URL: http://100.118.73.36:5173/alerts/sources/new I need you to add the type of the source type (webhook or poll) on a badge
gotoi-agent added reference issue/22-source-type-badge 2026-10-06 13:48:17 +02:00
Collaborator

Claimed — branch issue/22-source-type-badge. Doing: add a Webhook/Poll type badge to the preset picker on /alerts/sources/new.

Claimed — branch `issue/22-source-type-badge`. Doing: add a Webhook/Poll type badge to the preset picker on /alerts/sources/new.
Collaborator

Plan: /home/eduardez/workspace/gotoi-wt/meta/issue-22.plan.md

  1. d/sources/new/+page.svelte — import Badge, per-preset Webhook/Poll badge (pullSupported).
  2. usecases-frontend.test.ts — extend UC-FE-71 test with badge assertion.
  3. UC-FE-71 doc — record badge + bump version.
  4. Gates: bun test / bun check / bun build, _check.py, check-ai-headers, check-type-mirror.
Plan: /home/eduardez/workspace/gotoi-wt/meta/issue-22.plan.md 1. d/sources/new/+page.svelte — import Badge, per-preset Webhook/Poll badge (pullSupported). 2. usecases-frontend.test.ts — extend UC-FE-71 test with badge assertion. 3. UC-FE-71 doc — record badge + bump version. 4. Gates: bun test / bun check / bun build, _check.py, check-ai-headers, check-type-mirror.
Collaborator

DONE — commit 104217c dashboard: show source type badge on guided source picker.
Gates: _check.py 0 · check-ai-headers 0 · check-type-mirror 0 · bun test 238 passed · bun check 0 errors · bun build 0 · 'Showing lines' scan: no source footer (only docs quoting the scan).
Badge: preset cards read Poll (pullSupported) or Webhook. Assumption noted: Grafana/Checkmk are poll-capable AND webhook-capable; binary badge shows Poll. Report: /home/eduardez/workspace/gotoi-wt/meta/issue-22.report.md

DONE — commit `104217c` dashboard: show source type badge on guided source picker. Gates: _check.py 0 · check-ai-headers 0 · check-type-mirror 0 · bun test 238 passed · bun check 0 errors · bun build 0 · 'Showing lines' scan: no source footer (only docs quoting the scan). Badge: preset cards read Poll (pullSupported) or Webhook. Assumption noted: Grafana/Checkmk are poll-capable AND webhook-capable; binary badge shows Poll. Report: /home/eduardez/workspace/gotoi-wt/meta/issue-22.report.md
Collaborator

DONE by gotoi-agent — PR #25 (issue/22-source-type-badge -> develop), 1 commit 104217c. Preset cards on /alerts/sources/new now show a Webhook/Poll badge (Poll when pullSupported, reusing ui/badge). Gates green: uc _check, ai-headers, type-mirror, dashboard test 238 pass, svelte-check 0 errors, build ok, hidden set 1 pass. Assumption: Grafana/Checkmk are pull-capable AND webhook-capable — badge shows Poll (binary label); say the word if you want a 'Webhook + poll' third state. Not visually browser-verified (auth-gated). Refs #22

DONE by gotoi-agent — PR #25 (issue/22-source-type-badge -> develop), 1 commit 104217c. Preset cards on /alerts/sources/new now show a Webhook/Poll badge (Poll when pullSupported, reusing ui/badge). Gates green: uc _check, ai-headers, type-mirror, dashboard test 238 pass, svelte-check 0 errors, build ok, hidden set 1 pass. Assumption: Grafana/Checkmk are pull-capable AND webhook-capable — badge shows Poll (binary label); say the word if you want a 'Webhook + poll' third state. Not visually browser-verified (auth-gated). Refs #22
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
EduarD3V/gotoi#22
No description provided.