From 2215aaa458b318edb16337ab56cf658117023eb4 Mon Sep 17 00:00:00 2001 From: Peter Stone Date: Mon, 19 Jan 2026 09:11:04 -1000 Subject: 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 --- issues/bug_001_template_rendering.md | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 issues/bug_001_template_rendering.md (limited to 'issues/bug_001_template_rendering.md') diff --git a/issues/bug_001_template_rendering.md b/issues/bug_001_template_rendering.md deleted file mode 100644 index 61a8022..0000000 --- a/issues/bug_001_template_rendering.md +++ /dev/null @@ -1,17 +0,0 @@ -# Bug 001: Template Error in Notes Tab - -**Status:** Resolved -**Severity:** High (Runtime Panic/Error) -**Component:** Frontend/Handlers - -## Description -The `notes-tab` template attempts to render the `error-banner` partial, which expects an `.Errors` field in the data context. However, the `HandleNotes` handler was passing an anonymous struct containing only `Notes`, causing a template execution error. - -## Root Cause -Mismatch between template expectation (`{{.Errors}}`) and handler data structure (`struct { Notes []models.Note }`). - -## Fix -Updated `HandleNotes` in `internal/handlers/tabs.go` to include `Errors []string` in the data struct passed to the template. - -## Verification -A reproduction test case `internal/handlers/template_test.go` was created to verify that the `notes-tab` template can be successfully executed with the updated data structure. -- cgit v1.2.3