diff options
| author | Peter Stone <thepeterstone@gmail.com> | 2026-01-13 09:10:20 -1000 |
|---|---|---|
| committer | Peter Stone <thepeterstone@gmail.com> | 2026-01-13 09:10:20 -1000 |
| commit | cb9577d586d9cb324b042a0c05d97d231f9c2e75 (patch) | |
| tree | fb3d644cb9db28b0110bdab421a69ef480b49dc4 /PHASE_2_SURGICAL_PLAN.md | |
| parent | fc4a3a0ea9a10c91b01f2b4e3857b367cb03ed78 (diff) | |
Implement Trello smart sorting by newest card activity
- Update GetBoards SQL query with LEFT JOIN and GROUP BY
- Sort by: 1) Has cards, 2) Newest card (MAX ID), 3) Board name
- Update GetBoardsWithCards to match SQL sorting behavior
- Leverage Trello ID chronological sortability (newer > older)
- Active boards with recent activity appear first
- All tests passing
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Diffstat (limited to 'PHASE_2_SURGICAL_PLAN.md')
| -rw-r--r-- | PHASE_2_SURGICAL_PLAN.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/PHASE_2_SURGICAL_PLAN.md b/PHASE_2_SURGICAL_PLAN.md index e300639..bd761e5 100644 --- a/PHASE_2_SURGICAL_PLAN.md +++ b/PHASE_2_SURGICAL_PLAN.md @@ -43,7 +43,7 @@ Refactor the frontend and router to support 4 distinct tabs. ``` ## 3. Trello: Smart Sorting & Logic -**Status:** [ ] Pending +**Status:** [x] Complete ```text Enhance Trello sorting in `internal/api/trello.go` and `internal/store/sqlite.go`. |
