fix(tui): correct delete confirm labels, normalize help text

Delete confirmation dialog used wrong magic numbers for entity kind
mapping — maintenance windows showed as "alert", settings deletions
showed as "monitor". Now uses tab/section constants to match correctly.

Also: consistent [q/Esc] Back across all views, extract detailKeys(),
remove dead maxSections variable, add nodes empty state hint, use
models.Status constants in siteOrder, delete orphaned theme.png.
This commit is contained in:
2026-06-28 20:50:23 -04:00
parent 18e2d60210
commit 1d1a0ee67f
7 changed files with 20 additions and 21 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ import (
func (m Model) viewNodesTab() string {
if len(m.nodes) == 0 {
return m.emptyState("No probe nodes connected.", "")
return m.emptyState("No probe nodes connected.", "Probes auto-register on connection.")
}
var headers []string