super-productivity/packages/plugin-dev/sync-md/src
Johannes Millan f329a60079 fix(sync-md): fix subtask cleanup when tasks change parents
- Add tracking for tasks that change parents during sync operations
- Clean up old parent's subTaskIds when tasks are moved to different parents or root level
- Group cleanup operations by parent to prevent overwriting updates
- Add comprehensive test suite for subtask cleanup scenarios

This fixes the issue where tasks moved from being subtasks to root-level tasks
would still be referenced in their old parent's subTaskIds array, causing
task duplication in the UI.

Resolves the replication error where subtasks appeared both as root tasks
and as children of their original parent.
2025-07-11 17:00:30 +02:00
..
assets feat(sync-md): new approach and make it work better 2025-07-07 18:39:14 +02:00
background fix(sync-md): fix subtask cleanup when tasks change parents 2025-07-11 17:00:30 +02:00
shared feat(syncMd): implement core markdown sync plugin with bidirectional synchronization 2025-07-10 14:55:44 +02:00
ui feat(syncMd): implement core markdown sync plugin with bidirectional synchronization 2025-07-10 14:55:44 +02:00
index.ts feat(syncMd): implement core markdown sync plugin with bidirectional synchronization 2025-07-10 14:55:44 +02:00
manifest.json feat(sync-md): new approach and make it work better 2025-07-07 18:39:14 +02:00
setupTests.ts feat(syncMd): add comprehensive test suite and development configuration 2025-07-10 14:56:19 +02:00
types.d.ts feat(syncMd): implement core markdown sync plugin with bidirectional synchronization 2025-07-10 14:55:44 +02:00