Update task task-063

This commit is contained in:
Jeff Emmett 2026-01-23 09:41:04 +01:00
parent 0a413813a6
commit fb3edce5a9
1 changed files with 15 additions and 1 deletions

View File

@ -1,9 +1,10 @@
---
id: task-063
title: Fix Obsidian vault storage overflow - store content in IndexedDB
status: In Progress
status: Done
assignee: []
created_date: '2026-01-22 20:03'
updated_date: '2026-01-23 08:41'
labels:
- bug
- obsidian
@ -21,3 +22,16 @@ The Obsidian vault browser is storing full note content in Automerge, causing ca
3. Clear existing vault data from Automerge for privacy
4. Load content on-demand when notes are opened
<!-- SECTION:DESCRIPTION:END -->
## Implementation Notes
<!-- SECTION:NOTES:BEGIN -->
Implementation complete:
- Created NoteContentStore (src/lib/noteContentStore.ts) for IndexedDB storage
- Added light record types (ObsidianObsNoteMeta, FolderNodeMeta, ObsidianVaultRecordLight)
- Modified saveVaultToAutomerge to save only metadata to Automerge, content to IndexedDB
- Added clearVaultFromAutomerge function
- Added on-demand content loading via loadNoteContentFromIDB
- Added 'Clear from Sync' button to UI
- TypeScript compiles cleanly, build succeeds
<!-- SECTION:NOTES:END -->