initialMerge now builds its task data with mergeTaskData (syncRules.ts), which adds completedAt in ISO when the task has one. After remapping the local Inbox, it sets lastSyncAt to SYNC_EPOCH and pulls the whole account, so the merging device receives the other devices' data and the server side effects of the merge (archived Inbox, moved tasks). A failed pull leaves lastSyncAt at SYNC_EPOCH and the next fullSync retries it. Refs #150 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| components | ||
| db | ||
| hooks | ||
| i18n | ||
| lib | ||
| services | ||
| shared | ||
| stores | ||
| theme | ||
| widgets | ||
| global.css | ||