From 70dcaa2f10591ae76d908c93980babe205e4a884 Mon Sep 17 00:00:00 2001 From: T Date: Tue, 19 Aug 2025 12:12:54 -0600 Subject: [f] key on projects box to filter the history view to the selected client or project --- internal/tui/commands.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'internal/tui/commands.go') diff --git a/internal/tui/commands.go b/internal/tui/commands.go index 66a0c4d..4fdd9e0 100644 --- a/internal/tui/commands.go +++ b/internal/tui/commands.go @@ -23,6 +23,7 @@ type ( openTimeEntryEditor struct{} openContractorEditor struct{} openClientOrProjectEditor struct{} + filterHistoryByProjectBox struct{} openModalUnchanged struct{} openDeleteConfirmation struct{} recheckBounds struct{} @@ -110,6 +111,10 @@ func editClientOrProject() tea.Cmd { return func() tea.Msg { return openClientOrProjectEditor{} } } +func filterHistoryFromProjectBox() tea.Cmd { + return func() tea.Msg { return filterHistoryByProjectBox{} } +} + func reOpenModal() tea.Cmd { return func() tea.Msg { return openModalUnchanged{} } } -- cgit v1.2.3