diff options
Diffstat (limited to 'internal/ui/table.go')
| -rw-r--r-- | internal/ui/table.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/internal/ui/table.go b/internal/ui/table.go index 7a1e179..b863c30 100644 --- a/internal/ui/table.go +++ b/internal/ui/table.go @@ -120,6 +120,13 @@ type Model struct { disco bool // disco mode changes theme on every task modification statusMsg string // temporary status message shown in status bar + + // Task detail view fields + showTaskDetail bool + currentTaskDetail *task.Task + detailSearching bool + detailSearchInput textinput.Model + detailSearchRegex *regexp.Regexp } // editDoneMsg is emitted when the external editor process finishes. @@ -395,6 +402,9 @@ func (m Model) View() string { if m.showHelp { return m.renderHelpScreen() } + if m.showTaskDetail { + return m.renderTaskDetail() + } view := lipgloss.JoinVertical(lipgloss.Left, m.topStatusLine(), m.tbl.View(), |
