managarten/apps
Till-JS 937e3c02a0 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 14:11:17 +01:00
..
calendar 🐛 fix(docker): add shared-tags package to todo-web and calendar-web Dockerfiles 2025-12-10 02:57:44 +01:00
chat Merge pull request #14 from Memo-2023/till-dev 2025-12-10 02:47:58 +01:00
clock feat: major update with network graphs, themes, todo extensions, and more 2025-12-10 02:37:46 +01:00
contacts feat: major update with network graphs, themes, todo extensions, and more 2025-12-10 02:37:46 +01:00
context small linting fixes 2025-12-08 14:44:17 +01:00
manacore feat: major update with network graphs, themes, todo extensions, and more 2025-12-10 02:37:46 +01:00
manadeck feat: major update with network graphs, themes, todo extensions, and more 2025-12-10 02:37:46 +01:00
picture feat: major update with network graphs, themes, todo extensions, and more 2025-12-10 02:37:46 +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 14:11:17 +01:00
zitare feat: major update with network graphs, themes, todo extensions, and more 2025-12-10 02:37:46 +01:00