managarten/apps
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
..
calendar 🐛 fix(auth): enable automatic token refresh across all web apps 2025-12-10 20:52:29 +01:00
chat 🐛 fix(auth): enable automatic token refresh across all web apps 2025-12-10 20:52:29 +01:00
clock 🐛 fix(auth): enable automatic token refresh across all web apps 2025-12-10 20:52:29 +01:00
contacts 🐛 fix(auth): enable automatic token refresh across all web apps 2025-12-10 20:52:29 +01:00
context small linting fixes 2025-12-08 14:44:17 +01:00
manacore 🐛 fix(auth): enable automatic token refresh across all web apps 2025-12-10 20:52:29 +01:00
manadeck 🐛 fix(auth): enable automatic token refresh across all web apps 2025-12-10 20:52:29 +01:00
picture 🐛 fix(auth): enable automatic token refresh across all web apps 2025-12-10 20:52:29 +01:00
quote/apps fix lint 2025-12-04 00:32:13 +01:00
todo fix(todo-backend): implement recurrence handling and fix N+1 query 2025-12-10 21:12:06 +01:00
zitare 🐛 fix(auth): enable automatic token refresh across all web apps 2025-12-10 20:52:29 +01:00