summaryrefslogtreecommitdiff
path: root/internal/tui/commands.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/tui/commands.go')
-rw-r--r--internal/tui/commands.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/internal/tui/commands.go b/internal/tui/commands.go
index ad3255f..040df4b 100644
--- a/internal/tui/commands.go
+++ b/internal/tui/commands.go
@@ -20,6 +20,8 @@ type (
recheckBounds struct{}
openCreateClientModal struct{}
openCreateProjectModal struct{}
+ openHistoryFilterModal struct{}
+ updateHistoryFilter HistoryFilter
)
func navigate(forward bool) tea.Cmd {
@@ -98,3 +100,7 @@ func createClientModal() tea.Cmd {
func createProjectModal() tea.Cmd {
return func() tea.Msg { return openCreateProjectModal{} }
}
+
+func createHistoryFilterModal() tea.Cmd {
+ return func() tea.Msg { return openHistoryFilterModal{} }
+}