summaryrefslogtreecommitdiff
path: root/issues/phase3_step3_trello_ui.md
diff options
context:
space:
mode:
authorPeter Stone <thepeterstone@gmail.com>2026-01-19 09:11:04 -1000
committerPeter Stone <thepeterstone@gmail.com>2026-01-19 09:11:04 -1000
commit2215aaa458b318edb16337ab56cf658117023eb4 (patch)
tree73dc62cb8ed385e8ab5d255825b03ffb8845b27e /issues/phase3_step3_trello_ui.md
parent791034f1b588bf679f45a0f89168515fcbde66d5 (diff)
Implement Unified Quick Add for Tasks tab (Phase 3 Step 8)
Add Quick Add form to create Todoist tasks or Trello cards directly from the Tasks tab with optional due date support. Features: - HandleUnifiedAdd handler with due date parsing - HandleGetListsOptions for dynamic Trello list loading - Quick Add form with source toggle (Todoist/Trello) - Date picker for due dates - HX-Trigger refresh after successful creation - Pass boards to tasks-tab template for board selector Cleanup: - Remove resolved issue tracking files Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat (limited to 'issues/phase3_step3_trello_ui.md')
-rw-r--r--issues/phase3_step3_trello_ui.md36
1 files changed, 0 insertions, 36 deletions
diff --git a/issues/phase3_step3_trello_ui.md b/issues/phase3_step3_trello_ui.md
deleted file mode 100644
index 92dd8a5..0000000
--- a/issues/phase3_step3_trello_ui.md
+++ /dev/null
@@ -1,36 +0,0 @@
-# Phase 3 Step 3: Trello UI & Handlers
-
-**Status:** Open
-**Priority:** High
-**Created:** 2024-05-22
-
-## Description
-Implement the UI and backend handlers to enable creating and completing Trello cards directly from the dashboard.
-
-## Requirements
-
-### 1. UI Updates
-* **Refactor:** Extract individual board rendering into a new partial `web/templates/partials/trello-board.html`.
-* **Add Card:** Add a "Quick Add" form to each board (using `<details>` for simplicity) that allows selecting a List and entering a Name.
-* **Complete Card:** Add a checkbox to each card that marks it as complete (archives/closes it).
-
-### 2. Backend Handlers
-* `HandleCreateCard`:
- * POST `/cards`
- * Params: `board_id`, `list_id`, `name`
- * Action: Call `CreateCard` API.
- * Response: Re-render the specific board partial with updated data.
-* `HandleCompleteCard`:
- * POST `/cards/complete`
- * Params: `card_id`
- * Action: Call `UpdateCard` API (set `closed=true`).
- * Response: Empty string (removes the card from UI via HTMX).
-
-### 3. Routing
-* Register the new routes in `cmd/dashboard/main.go`.
-
-## Implementation Plan
-1. Create `web/templates/partials/trello-board.html`.
-2. Update `web/templates/partials/trello-boards.html`.
-3. Implement handlers in `internal/handlers/handlers.go`.
-4. Register routes in `cmd/dashboard/main.go`.