feat(tui): add state change history view with outage duration #55
@@ -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]
|
||||||
|
|||||||
Reference in New Issue
Block a user