summaryrefslogtreecommitdiff
path: root/internal/ui/table.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-06-25 17:54:48 +0300
committerPaul Buetow <paul@buetow.org>2026-06-25 17:54:48 +0300
commitcb36d8f78ce688db6f74cac57e7c10cd334e5f6e (patch)
treee774d78b0203e4c138d521d62ca89b1126399169 /internal/ui/table.go
parent2c59b030590d99970b15f1d84158da72ddc28310 (diff)
Fix rq0 detail identity by UUID
Diffstat (limited to 'internal/ui/table.go')
-rw-r--r--internal/ui/table.go19
1 files changed, 10 insertions, 9 deletions
diff --git a/internal/ui/table.go b/internal/ui/table.go
index 69e8dff..29ec388 100644
--- a/internal/ui/table.go
+++ b/internal/ui/table.go
@@ -82,15 +82,16 @@ type searchState struct {
// Blink fields here are separate from blinkState because they drive a
// per-field highlight inside the detail view rather than a table row.
type detailViewState struct {
- showTaskDetail bool
- currentTaskDetailID int
- detailSearching bool
- detailSearchInput textinput.Model
- detailSearchRegex *regexp.Regexp
- detailFieldIndex int // currently selected field (-1 = none)
- detailBlinkField int // field currently blinking (-1 = none)
- detailBlinkOn bool // whether the blink is currently on
- detailBlinkCount int // number of blink cycles completed so far
+ showTaskDetail bool
+ currentTaskDetailUUID string
+ currentTaskDetailFallbackID int
+ detailSearching bool
+ detailSearchInput textinput.Model
+ detailSearchRegex *regexp.Regexp
+ detailFieldIndex int // currently selected field (-1 = none)
+ detailBlinkField int // field currently blinking (-1 = none)
+ detailBlinkOn bool // whether the blink is currently on
+ detailBlinkCount int // number of blink cycles completed so far
}
// ultraState holds the state for the ultra mode task list and its search UI.