From ec8a9c0ea46dec7d26caa763e3adefcaf3fc7552 Mon Sep 17 00:00:00 2001 From: Peter Stone Date: Sun, 25 Jan 2026 11:56:29 -1000 Subject: Fix bugs and add bug management scripts Bug fixes: - #36: Hide recurring tasks until due day (add IsRecurring to Task/Atom) - Trello cards missing: change filter=visible to filter=open - Build fix: add missing fmt import in atom.go Infrastructure: - Add scripts/bugs and scripts/resolve-bug for DB bug tracking - Remove issues/ directory (bugs now tracked in DB) - Add timeline_logic_test.go Co-Authored-By: Claude Opus 4.5 --- SESSION_STATE.md | 50 ++++++++++++++++++++++---------------------------- 1 file changed, 22 insertions(+), 28 deletions(-) (limited to 'SESSION_STATE.md') diff --git a/SESSION_STATE.md b/SESSION_STATE.md index 091929d..5f68a3d 100644 --- a/SESSION_STATE.md +++ b/SESSION_STATE.md @@ -1,34 +1,28 @@ # Session State -**Active Task:** None +## Current Focus +Bug verification and fixes completed. -**Completed Tasks:** -- **Obsidian Removal:** ✅ -- **Authentication:** ✅ -- **VPS Deployment Preparation:** ✅ -- **Issue Batch (001-016):** ✅ - - 001: Hide future tasks behind fold - - 002: Modal menu for quick add/bug report - - 003: Fix tap to expand - - 005: Visual task timing differentiation - - 006: Reorder tasks by urgency - - 007: Fix outdated Todoist link - - 009: Keep completed tasks visible until refresh - - 010: Fix quick add timestamp (evening date bug) - - 015: Random landscape background - - 016: Click task to edit details +## Status +* [x] **Build Fix:** Added missing `fmt` import in `internal/models/atom.go` +* [x] **Bug Fix:** Trello cards missing - changed `filter=visible` to `filter=open` +* [x] **Bug Verification:** Resolved already-fixed bugs from DB (#24-27, #32, #39) +* [x] **Bug #36 Fixed:** Recurring tasks now hidden until due day + - Added `IsRecurring` field to Task model and Atom + - Updated Todoist API to parse `is_recurring` from due object + - Filter recurring future tasks from display -**Current Status:** [REVIEW_READY] +## Scripts Created +- `scripts/bugs` - List all bugs from production DB +- `scripts/resolve-bug ` - Resolve a bug by ID -**Files Modified:** -- `internal/api/todoist.go` - Updated URL format, added UpdateTask method -- `internal/api/interfaces.go` - Added UpdateTask to TodoistAPI interface -- `internal/handlers/handlers.go` - Added task detail/update handlers, completed task HTML response -- `internal/handlers/tabs.go` - Added urgency sorting, future task partitioning -- `internal/handlers/handlers_test.go` - Added UpdateTask mock -- `internal/models/atom.go` - Added IsFuture field -- `cmd/dashboard/main.go` - Added task detail/update routes -- `web/templates/index.html` - Added unified modal, task edit modal, random background -- `web/templates/partials/tasks-tab.html` - Checkbox complete, expand details, urgency styling, future fold +## Remaining Items (Feature Requests, not bugs) +- #12: Research task durations +- #28: Bugs as first-class atoms +- #30: Consistent background opacity +- #31: PlanToEat ingredients +- #33-38: Shopping/timeline features -**All Issues Complete - Ready for Review** +## Next Steps +* Deploy and verify recurring task fix +* Prioritize feature requests -- cgit v1.2.3