feat: consolidate export, frontmatter, folder plugins into unified fs-sync plugin #2815
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
feat: consolidate export, frontmatter, folder plugins into unified fs-sync plugin
Summary
This PR consolidates three overlapping Tauri plugins (
export,frontmatter,folder) into a single unifiedplugins/fs-syncplugin, creating a single source of truth for filesystem operations.Changes:
crates/tiptap: Pure Rust crate for tiptap-to-markdown transformation (moved fromplugins/export/src/md/)plugins/fs-syncconsolidating all filesystem operations:write_json_batch,write_markdown_batch,write_frontmatter_batchcleanup_orphan_files,cleanup_orphan_dirslist_folders,create_folder,rename_folder,delete_folder,move_sessiondeserializecommand for parsing markdown with frontmatterplugins/export/,plugins/frontmatter/,plugins/folder/@hypr/plugin-fs-syncReview & Testing Checklist for Human
This is a large refactoring (101 files changed) that consolidates plugin functionality. Desktop tests pass (236 tests), but end-to-end verification is recommended.
grep -r "plugin-export\|plugin-frontmatter\|plugin-folder" apps/ packages/to ensure no old imports remainNotes
apps/webfailed due to missing browser installation in the dev environment (unrelated to this PR)exportJsonBatch→writeJsonBatch,serializeBatch→writeFrontmatterBatchFolderPluginExt→FsSyncPluginExtLink to Devin run: https://app.devin.ai/sessions/c6042d796620401d8058742013cd39fa
Requested by: yujonglee ([email protected]) / @yujonglee