summaryrefslogtreecommitdiff
path: root/internal/tui/app.go
diff options
context:
space:
mode:
authorT <t@tjp.lol>2025-08-06 16:56:46 -0600
committerT <t@tjp.lol>2025-08-07 08:33:49 -0600
commit4843deb9cfa6d91282c5124ec025c636137e9e94 (patch)
tree180dc226e7dcdbbba8ea6ecabba821f4bdb64949 /internal/tui/app.go
parentd75bd93385bf3b54ada84c3d45011d7f8efc1f80 (diff)
Enhanced date range parsing with more flexible input formats
- Added support for 'this week' and 'this month' date ranges - Added support for month names (e.g., 'february', 'july') with automatic year detection - Added support for 'month year' format (e.g., 'july 2023', 'feb 2022') - Enhanced help text and examples for all report commands - Added comprehensive test coverage for date range parsing - Fixed timezone handling in TUI history display - Minor code style improvements
Diffstat (limited to 'internal/tui/app.go')
-rw-r--r--internal/tui/app.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/tui/app.go b/internal/tui/app.go
index c94adfd..28f04dc 100644
--- a/internal/tui/app.go
+++ b/internal/tui/app.go
@@ -189,7 +189,7 @@ func (m AppModel) View() string {
// Projects box bottom-left
projectsBoxWidth := timerBoxWidth
- projectsBoxHeight := (contentHeight / 2)
+ projectsBoxHeight := contentHeight - timerBoxHeight
// History box right side full height
historyBoxWidth := m.width - projectsBoxWidth