1
0
Fork
You've already forked rainlog
0

Extend TUI: auto-sizing panel, responsive bar count, and add/edit rain records #6

Manually merged
marvin8 merged 12 commits from feat/issue-5-tui-enhancements into main 2026年07月01日 03:40:40 +02:00

Add four improvements to the interactive TUI:

  • Stats panel auto-sizes to content width (width:auto), giving the chart more horizontal space
  • Bar count computed from terminal width on startup and resize; +/- for manual override; 'a' to reset to auto
  • 'n' key opens a modal to add a new rain record, with optional backfill of zero-rain days
  • 's' key (daily view only) enters select mode for bar navigation; 'e' key opens edit modal, pre-populated from selection

Closes #5

Add four improvements to the interactive TUI: - Stats panel auto-sizes to content width (width:auto), giving the chart more horizontal space - Bar count computed from terminal width on startup and resize; +/- for manual override; 'a' to reset to auto - 'n' key opens a modal to add a new rain record, with optional backfill of zero-rain days - 's' key (daily view only) enters select mode for bar navigation; 'e' key opens edit modal, pre-populated from selection Closes #5
🐛 guard backfill loop; catch duplicate-date insert; add submit-path tests
Some checks failed
ci/woodpecker/pr/checks Pipeline failed
294051e180
add visible Save button to AddRainModal and EditRainModal
Some checks failed
ci/woodpecker/pr/checks Pipeline failed
315a4662db
♻️ extract _compute_colors and _merge_tentative_entries to reduce complexity
Some checks failed
ci/woodpecker/pr/checks Pipeline failed
a7df6ac24d
🔧 drop python 3.10 support
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ff61233917
marvin8 manually merged commit 1da36c7b0b into main 2026年07月01日 03:40:40 +02:00
marvin8 deleted branch feat/issue-5-tui-enhancements 2026年07月01日 03:42:16 +02:00
Sign in to join this conversation.
No reviewers
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
marvin8/rainlog!6
Reference in a new issue
marvin8/rainlog
No description provided.
Delete branch "feat/issue-5-tui-enhancements"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?