feat(tui): add state change history view with outage duration #55

Merged
lerko merged 5 commits from feat/state-history-view into main 2026-06-04 16:44:32 +00:00
Showing only changes of commit 9e15b369d3 - Show all commits
+2
View File
@@ -246,6 +246,8 @@ func (m *Model) handleDetailKey(msg tea.KeyMsg) (tea.Model, tea.Cmd) {
switch msg.String() { switch msg.String() {
case "i", "esc": case "i", "esc":
m.state = stateDashboard m.state = stateDashboard
case "e":
return m.handleEditItem()
case "h": case "h":
if m.cursor < len(m.sites) { if m.cursor < len(m.sites) {
site := m.sites[m.cursor] site := m.sites[m.cursor]