Expand focused run panes and prioritize graph height

This commit is contained in:
2026-10-10 00:47:51 +01:00
parent 977af96e23
commit 2cc703b8a5
5 changed files with 93 additions and 5 deletions
+5
View File
@@ -336,6 +336,11 @@ func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
} else if msg.Type == protocol.Run || msg.Type == protocol.RunStarted {
accepted := m.runOpen && msg.RunDetail != nil && ((msg.Type == protocol.Run && msg.RunDetail.ID == m.requestedRunID) || (msg.Type == protocol.RunStarted && msg.ID == m.runStartRequest))
if accepted {
if m.runDetail == nil {
m.runGraphFocus = true
m.runDetailFocus = false
m.runGraphTop, m.runGraphPan = 0, 0
}
if msg.Type == protocol.RunStarted {
m.runStartRequest = ""
}