implementing dependency management in tui

This commit is contained in:
viljarb
2026-03-24 19:57:45 +01:00
parent 47f1cf8d09
commit 802d379de8
12 changed files with 701 additions and 15 deletions

View File

@@ -123,6 +123,12 @@ func (m *Model) handleKeyPressMsg(msg tea.KeyPressMsg) tea.Cmd {
m.logAction("tui started editing assignee")
}
case m.notInModalMsgWithKey(msg, m.keyMap.ManageDependencies):
if selected := m.issueList.SelectedItem(); selected.ID != "" {
cmd = m.startManageDependencies(selected)
m.logAction("tui opened dependencies management")
}
case m.notInModalMsgWithKey(msg, m.keyMap.AddComment):
if selected := m.issueList.SelectedItem(); selected.ID != "" {
cmd = m.startAddComment(selected)