From 43a0dcbd6617ccf28abfbb50b98bf9fbf8383835 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 28 Jun 2025 10:54:37 +0300 Subject: feat: implement detailed task view with improved readability MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add new task detail view accessible via Enter key - Show all task fields in vertical layout with full descriptions - Implement search functionality within task detail view - Use lighter text colors for better readability (252 for values, 250 for descriptions) - Add ESC/Q key handlers to return to table view - Keep 'i' key for original expand/edit functionality 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- internal/ui/table.go | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'internal/ui/table.go') 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(), -- cgit v1.2.3