From bc56642d3b6addce06c9acad407e611f65b6c88d Mon Sep 17 00:00:00 2001 From: Stu Leak Date: Sat, 10 Jan 2026 05:12:36 -0500 Subject: [PATCH] Open queue when clicking active history jobs --- main.go | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index 550d529..21d83a3 100644 --- a/main.go +++ b/main.go @@ -1970,10 +1970,17 @@ func (s *appState) showMainMenu() { } } + onHistoryClick := func(entry ui.HistoryEntry) { + if entry.Status == queue.JobStatusRunning || entry.Status == queue.JobStatusPending { + s.showQueue() + return + } + s.showHistoryDetails(entry) + } sidebar = ui.BuildHistorySidebar( s.historyEntries, activeJobs, - s.showHistoryDetails, + onHistoryClick, s.deleteHistoryEntry, s.clearHistoryEntries, s.historyTabIdx,