generated from eblume/project-template
feat(tui): heph-tui T2c — guided add + reschedule (§8.1)
A single-line input modal (centered popup, Esc cancels, Enter submits) drives the two input-requiring gestures: - a: guided capture — title → attention (o/r/b, blank=white) → do-date (today/tomorrow/+3d, blank=none). If a project is the current sidebar selection, the task is filed there (Todoist's add-within-project). - e: reschedule the highlighted task's do-date (blank clears it). Parse errors keep the input step (typed text isn't lost) and show in the status line. Shared client-side date/recurrence parsing (datespec) moved from the heph CLI into hephd's lib so both the CLI and TUI use one parser; heph-core stays clock-pure. The CLI now uses hephd::datespec (no behavior change; its tests moved with it). Tests: add-flow + reschedule unit tests against a recording fake (asserting the collected title/attention/project and the clear-on-blank double-option), plus real-daemon integration tests that guided-add surfaces a task and reschedule sets the do_date. 171 workspace tests; clippy/fmt clean. With done/drop/skip/attention/blue (T2a) + nvim handoff (T2b), all four day-one daily-driver gestures now land. NL single-line quick-add + search are T3. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
ae2eff401c
commit
8f10287a7f
1 changed files with 0 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue