super-productivity/packages/plugin-dev/sync-md/src/background/sync
Johannes Millan a72f3aa2b9 fix(sync-md): prevent parent-child relationship duplication in task sync
- Fix issue where subtasks were being duplicated under multiple parents
- Only include parentId in create operations when it's not null
- Update tests to expect undefined instead of null for tasks without parents
- Add comprehensive test suite for parent-child duplication scenarios

The bug was caused by explicitly passing parentId: null in create operations,
which the API interpreted differently than omitting the field entirely.
2025-07-11 16:38:19 +02:00
..
file-watcher.ts feat(syncMd): implement core markdown sync plugin with bidirectional synchronization 2025-07-10 14:55:44 +02:00
generate-task-operations.ts fix(sync-md): prevent parent-child relationship duplication in task sync 2025-07-11 16:38:19 +02:00
markdown-parser.spec.ts fix(sync-md): fix failing tests after parser changes 2025-07-10 19:17:41 +02:00
markdown-parser.ts fix(sync-md): fix failing tests after parser changes 2025-07-10 19:17:41 +02:00
md-to-sp.ts fix(sync-md): remove extra blank lines between tasks in markdown output 2025-07-10 18:46:01 +02:00
sp-to-md.spec.ts fix(sync-md): remove extra blank lines between tasks in markdown output 2025-07-10 18:46:01 +02:00
sp-to-md.ts fix(sync-md): remove extra blank lines between tasks in markdown output 2025-07-10 18:46:01 +02:00
sync-manager.ts fix(sync-md): sync file changes immediately when window is focused 2025-07-11 16:11:58 +02:00
types.ts chore(sync-md): add test utilities and error scenario tests 2025-07-11 15:40:48 +02:00
verify-sync.ts feat(syncMd): implement core markdown sync plugin with bidirectional synchronization 2025-07-10 14:55:44 +02:00