Commit Graph

10 Commits

Author SHA1 Message Date
5950eb16d9 feat: surface newly-created subtasks standalone in New Today
When a subtask is created today, it now appears as its own item
in the New Today section with the parent task shown as context
("under #PARENT_ID Parent Name"). Also still rendered inline
under the parent in Needs Work.

Requires API change: children now include created_at.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-17 08:35:50 +02:00
d74595b89a feat: show actionable subtasks inline under parent task
When a parent is waitingfortesting/willdemo/etc but has actionable
subtasks, the API now categorises the parent as actionable. This
commit renders those subtasks as indented, clickable items under
the parent so they can be opened with a click in the TUI.

Fixes: subtasks like #3097 not surfacing when parent (#2590) is
waitingfortesting.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-17 08:33:48 +02:00
730f572806 feat: click task numbers to open detail view
Click on any #NNNN task number in the briefing to load its
full detail view. Uses SGR mouse protocol for accurate click
position, strips ANSI to find task IDs in visible text.
Tolerates clicks within 5 chars of the # symbol.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-13 13:40:19 +02:00
365c9118bf fix: robust terminal size detection + resize handling
- Try ioctl on stdin/stdout/stderr, then /dev/tty, then os/shutil
- Add SIGWINCH handler to re-render on terminal resize
- Clamp scroll position after resize

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-13 13:37:16 +02:00
b67cf4c1bd fix: fill full terminal width — pad all lines to cols
Every line now pads to the full terminal width so there are
no gaps. Empty lines below content are filled with spaces.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-13 13:35:31 +02:00
de98efde3c feat: full TUI viewer — scroll, refresh, task lookup without leaving
Replaced curses/less pager with raw terminal TUI:
- Alternate screen buffer with full ANSI color support
- Arrow keys / j/k / PgUp/PgDn / mouse scroll to navigate
- r = refresh in-place (re-fetches, resets to top)
- : = type a task number to view details inline
- b = back to briefing from task view
- q = quit
- Space = page down
- Status bar with scroll percentage

No need to exit and re-enter — everything happens in one view.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-13 13:32:40 +02:00
a344a9032d feat: render briefing in pager (less) — starts at top, scroll down
Output now pipes through less -R so the calendar and summary
are always visible at the top. Scroll down for waiting tasks,
done, and commits. Press q to get to the interactive prompt.
On refresh (r), the pager opens again from the top.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-13 13:28:16 +02:00
0b4e06eb04 feat: clear screen before render so briefing starts at top
No more scrolling up after refresh — the screen clears and
the calendar/summary is always visible at the top.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-13 13:25:39 +02:00
182644976c feat: add refresh command to interactive mode
Type 'r' in the interactive prompt to re-fetch and re-render
the full briefing without exiting. Refactored main() to
separate fetch/render from the interactive loop.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-13 13:23:46 +02:00
9189896d4a Initial commit — briefing CLI tool
Terminal dashboard for Nodie daily/weekly work summaries with:
- Color-coded task display with creation dates and "days ago" format
- NEW badge highlighting for tasks created today
- Grouped sections: New Today, Needs Work, Waiting, Done
- Interactive mode: type a task number to see full details
- Calendar rendering with NOW/DONE/NEXT markers
- Git commit summary per repo

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-13 13:00:08 +02:00