ENG-1976 Add schema export command to Obsidian - #1263
Open
trangdoan982 wants to merge 1 commit into
Open
Conversation
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
This was referenced Jul 29, 2026
trangdoan982
force-pushed
the
eng-2083-add-schema-selection-panel-ui-for-obsidian-exportimport
branch
2 times, most recently
from
July 29, 2026 02:58
f8e4b8d to
e9132f3
Compare
trangdoan982
force-pushed
the
eng-1976-add-schema-export-command-to-obsidian
branch
from
July 29, 2026 02:58
3af9adf to
f364d5a
Compare
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.
Summary
Adds the schema export command and settings entry point.
nativeJsonFileDialogs.ts— Electron-safe wrappers forshowSaveDialogandshowOpenDialog; both consumers (export and import) import from herespecExport.ts— serializes the vault's selected node types, relation types, relation triples, and templates into theDiscourseSchemaFileJSON formatExportSpecsModal.tsx— modal that rendersSchemaSelectionModalBody+SchemaSelectionPanel; user selects items to export then saves to a filesystem location via the native save dialogGeneralSettings.tsx— adds "Export discourse graph schema" entry to the settings UIregisterCommands.ts— registersexport-dg-schemacommand in the command paletteStack
PR 3 of 5 for FEE-840. Stacks on #1262.
Test plan
pnpm --filter @discourse-graphs/obsidian check-typespassesdg-schema-<vault>.jsonto the chosen filesystem location