Where
Future native-tree work; not currently triggered because onMoved listeners are deferred.
What
Spec §"Open questions":
Folder rename cost. Moving a top-level folder ("Research" → "Archive/Research") generates N PATCHes if N bookmarks live under it. Acceptable for hundreds of bookmarks. For thousands, may want a batched "rename folder" operation. Punt to v1.5.
Currently onMoved is a no-op (folder drift caught by hourly reconcile). When we implement onMoved-driven folder updates, a single user rename should produce one logical commit, not N.
Approach
Coalesce onMoved events during the 500ms debounce, detect rename patterns (same source-folder + same target-folder for many nodes), emit one renameFolder(from, to) mutation instead of N updateBookmark calls. Requires extending @gitmarks/core with a folder-rename mutation helper.
Tracked from
spec.md §"Open questions".
Where
Future native-tree work; not currently triggered because
onMovedlisteners are deferred.What
Spec §"Open questions":
Currently
onMovedis a no-op (folder drift caught by hourly reconcile). When we implementonMoved-driven folder updates, a single user rename should produce one logical commit, not N.Approach
Coalesce
onMovedevents during the 500ms debounce, detect rename patterns (same source-folder + same target-folder for many nodes), emit onerenameFolder(from, to)mutation instead of NupdateBookmarkcalls. Requires extending@gitmarks/corewith a folder-rename mutation helper.Tracked from
spec.md§"Open questions".