managarten/apps/todo
Till-JS d8f1bbbbce fix(todo-backend): implement recurrence handling and fix N+1 query
- Implement recurring task handling using rrule library
  - createNextOccurrence() creates next task instance when completing recurring task
  - calculateNextStartDate() maintains offset between start/due dates
  - Copies labels, subtasks (reset), and metadata to new occurrence
  - Respects recurrenceEndDate limit

- Fix N+1 query problem for task labels
  - Replace individual loadTaskLabels() calls with batch loadTaskLabelsBatch()
  - Reduces database queries from O(2n) to O(2) for task lists
  - Uses Maps for O(1) lookups when combining tasks with labels

- Add Jest test coverage (25 tests)
  - CRUD operations, task status changes, recurrence
  - Special queries (inbox, today, completed)
  - Batch loading efficiency verification

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-10 21:12:06 +01:00
..
apps fix(todo-backend): implement recurrence handling and fix N+1 query 2025-12-10 21:12:06 +01:00
docs feat(todo): add task metadata fields and mana page 2025-12-09 14:29:56 +01:00
packages/shared feat(todo): add multiple kanban boards with task editing features 2025-12-09 14:41:50 +01:00
CLAUDE.md fix(todo): use TEXT for user_id columns (Better Auth compatibility) 2025-12-09 16:24:22 +01:00
package.json feat(contacts): add import/export with Google Contacts integration 2025-12-03 15:54:31 +01:00