Repository navigation
Sync through the mdbase desktop app with the new SDK - #30
Merged
Merged
Conversation
mdbase-test-vault/ is a small local collection (book, person and note types) with valid records, one record that breaks every rule of its type, and one typed only by its path. A unit test validates it so it keeps meaning what its notes say.
Replace the connect-sync beta.120 directory mirror with the mdbase desktop app's sync. The plugin no longer syncs files itself: it signs in, turns sync on (Cloud copy or Private), adds collections from a link, and shows live status and decisions through the app's command-line tool and the SDK's localhost link (@mdbase-dev/sdk thin-client, loaded on demand, no wasm). - Sync tab: plain-words status from one summary shared with the status bar and settings; setup with Cloud copy or Private; add a collection from a link (an empty vault becomes the collection, otherwise a new folder); sign-in with a copyable link; offline, stopped app, waiting for approval, declined link and broken sign-in each say what to do. - Files changed in two places are listed with Keep this computer's / Use the other version / Keep both; merges mdbase made on its own are listed as changes to check, with a way to use the other value. - Edits from other devices land in open notes without moving the cursor. - Settings: sign out and disconnect behind confirmations, app location. - Mobile keeps types and validation; sync says it needs a computer. - Remove the mirror engine, sync history, preview/review, attachment and exclusion settings, and their styles, docs and tests (about 20k lines). - main.js drops from 829 KB to 691 KB (213 KB gzip).
Signing in again on the same computer breaks sync there until the server fix (mdbase-connect #973) ships, so the settings Sign out button is hidden until then. A Private collection can't be approved on a second computer yet: setup and join say so, and a second computer shows that plainly instead of waiting for an approval that can't come.
This was referenced Oct 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Replaces the connect-sync beta.120 directory mirror with the mdbase desktop app's sync. The plugin no longer syncs files itself. It signs in, turns sync on (Cloud copy or Private), adds collections from a link, and shows live status and decisions. It does this through the app's
mdbase --jsontool and the SDK's localhost link (@mdbase-dev/sdk/thin-client, vendored tarball, loaded on demand, no wasm).This changes sign-in and how the plugin connects to the app. The plugin holds no credentials: it shells out to the
mdbasetool and uses the SDK thin-client link.What changes for people
Size
main.jsdrops from 829,487 B to 690,599 B raw (213 KB gzip).check:mobilepasses.Testing
check:mobilepass.Supersedes #29 and #12.