summaryrefslogtreecommitdiff
path: root/issues/bug_001_template_rendering.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/bug_001_template_rendering.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/bug_001_template_rendering.md')
-rw-r--r--issues/bug_001_template_rendering.md17
1 files changed, 0 insertions, 17 deletions
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.