Fifteen-minute rounding

This commit is contained in:
Ian Keane 2025-12-01 13:31:53 -05:00
parent 7b6d24f955
commit f3dcd5acbc
2 changed files with 56 additions and 9 deletions

View file

@ -692,7 +692,8 @@ fn render_log_view(frame: &mut Frame, app: &App) {
LogViewDayOrder::ReverseChronological => "",
};
let title = format!("Watson Log - {} View ({}) [{}]", period_str, grouping_str, order_str);
let rounded_indicator = if app.log_view_rounded { " [ROUNDED]" } else { "" };
let title = format!("Watson Log - {} View ({}) [{}]{}", period_str, grouping_str, order_str, rounded_indicator);
let block = Block::default()
.title(title)
@ -939,6 +940,12 @@ fn render_log_view_help(frame: &mut Frame, app: &App) {
" - Days are shown in the chosen order",
" - Entries within each day are always chronological (earliest to latest)",
"",
"Display Mode:",
"- R: Toggle 15-minute rounding (for estimates/reports)",
" - When enabled, all times are rounded to nearest 15-minute interval",
" - Shows [ROUNDED] indicator in title bar",
" - Affects display and clipboard copy, does not modify Watson data",
"",
"Navigation:",
"- j/k or ↑/↓: Navigate selection",
" - At Entry level: Move to next/previous entry",