Add 'view' page for log

This commit is contained in:
Ian Keane 2025-11-22 11:12:46 -05:00
parent cae499f3ee
commit 3220ff50cb
4 changed files with 194 additions and 15 deletions

View file

@ -20,6 +20,7 @@
- **Timer control**: `Enter` toggles the selected item. Starting a different item automatically stops the previous timer.
- **New entries**: `n` launches a modal (task name + optional project tag). Item is added to the current pane.
- **Project reassignment**: `p` opens a modal to change the project tag for the selected item.
- **Log viewing**: `v` opens Watson's log viewer with daily/weekly/monthly views. Use `d`/`w`/`m` to switch periods, `j`/`k` to scroll.
- **Deletion**: `d` removes the selected entry; no noisy status message.
- **Config editing**:
- `Ctrl+e` edits task config (`state.yaml`).
@ -55,6 +56,7 @@ Requires `watson` on your `PATH` with a configured workspace.
| `Enter` | Start/stop timer |
| `n` | New entry (task + optional project) |
| `p` | Reassign project for selected item |
| `v` | View Watson log (d/w/m for day/week/month) |
| `d` | Delete entry |
| `Ctrl+e` | Edit task config (`state.yaml`) |
| `c` | Edit app config (`config.yaml`) or show config help |