feat(tui): expand selected alert config below table #157

Merged
lerko merged 1 commits from feat/alert-config-expand into main 2026-06-28 14:52:27 +00:00
Owner

Backlog item #11 — alert config truncation, expand on select.

Changes

Add a detail line below the alert table that shows full (untruncated) config for the selected alert row, plus health status, last sent time, and send/fail counts. Uses the same dot-separated style as the monitor detail panel.

The CONFIG column still truncates at 34 chars in the table for clean alignment — the expansion line below provides the full context without needing to open the full-screen detail view (i).

Type-specific config display (untruncated):

  • email: host → recipient
  • ntfy: server/topic
  • telegram: chat ID
  • gotify: server URL
  • webhook/discord/slack: masked URL (host only, path is credential)

Test plan

  • go build ./... — clean
  • go test ./... — all pass
  • golangci-lint run ./... — 0 issues
  • Visual verification: selected alert shows full config below table
Backlog item #11 — alert config truncation, expand on select. ## Changes Add a detail line below the alert table that shows full (untruncated) config for the selected alert row, plus health status, last sent time, and send/fail counts. Uses the same dot-separated style as the monitor detail panel. The CONFIG column still truncates at 34 chars in the table for clean alignment — the expansion line below provides the full context without needing to open the full-screen detail view (`i`). Type-specific config display (untruncated): - **email**: host → recipient - **ntfy**: server/topic - **telegram**: chat ID - **gotify**: server URL - **webhook/discord/slack**: masked URL (host only, path is credential) ## Test plan - [x] `go build ./...` — clean - [x] `go test ./...` — all pass - [x] `golangci-lint run ./...` — 0 issues - [x] Visual verification: selected alert shows full config below table
lerko added 1 commit 2026-06-28 14:41:50 +00:00
feat(tui): expand selected alert config below table
CI / test (pull_request) Successful in 1m51s
CI / lint (pull_request) Successful in 1m22s
CI / vulncheck (pull_request) Successful in 56s
7171dcd6f8
Show a detail line below the alert table for the selected row
with untruncated config, health status, last sent time, and
send/fail counts. Solves the CONFIG column truncation issue
without requiring the full-screen detail view.
lerko merged commit 7171dcd6f8 into main 2026-06-28 14:52:27 +00:00
lerko deleted branch feat/alert-config-expand 2026-06-28 14:52:27 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: lerkolabs/uptop#157