summaryrefslogtreecommitdiff
path: root/spec.md
diff options
context:
space:
mode:
authorPeter Stone <thepeterstone@gmail.com>2026-01-13 14:20:41 -1000
committerPeter Stone <thepeterstone@gmail.com>2026-01-13 14:20:41 -1000
commita7a9aa3dcfe4b90d9b32791c8313a0019ad11289 (patch)
treee04c67d6896275a773ad759d27820a1d445695a0 /spec.md
parente107192be5efb65807c7da3b6aa99ce3555944d0 (diff)
Implement Todoist write operations - Handlers & UI (Part 2)
Complete Todoist task creation and completion functionality: Handlers: - Update aggregateData to fetch and populate Projects - Add HandleCreateTask: creates task, refreshes list, re-renders - Add HandleCompleteTask: marks task complete, returns empty - Both handlers pass Projects to template for dropdown Routes: - Register POST /tasks for task creation - Register POST /tasks/complete for task completion UI (todoist-tasks.html): - Add Quick Add form with collapsible details element - Project selector dropdown (iterates over .Projects) - Content input field with validation - HTMX integration: hx-post, hx-target, hx-swap - Functional completion checkboxes on each task - Remove disabled attribute from checkboxes - Add todoist-task-item wrapper class for HTMX targeting - Glassmorphism styling for form Features: - Create Todoist tasks with optional project assignment - Mark tasks complete with single click (disappears) - Real-time task list updates without page reload - Seamless HTMX partial updates All tests pass. Full Todoist write operations now live in UI! Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Diffstat (limited to 'spec.md')
0 files changed, 0 insertions, 0 deletions