Some checks failed
CD / Smoke tests against Test (push) Blocked by required conditions
CD / Deploy to Test (push) Blocked by required conditions
CD / Promote to Int (push) Blocked by required conditions
CI / Lint, typecheck, test (push) Failing after 1m0s
CI / Auth e2e pack (push) Has been skipped
CI / Import/export fidelity gate (push) Has been skipped
CI / Build container images (push) Has been skipped
CD / Build and push images (push) Has been cancelled
An admin-only 'Import an Obsidian vault' section on the pond settings page opens a dialog with everything the #117 endpoint expects: the ZIP, an indented mount-parent picker over the page tree (the MovePageDialog pattern), a multi-select over the pond's label tree, and the frontmatter radio (strip / keep as code block). Submit uploads and polls the job with a vault-sized budget (600 x 1 s), then invalidates pages, graph, phantom-links, and labels so the sidebar tree, graph, and pickers show the import without a reload — and links to the mount page. apiUploadFile now takes extra multipart fields (the options JSON); existing callers are unchanged. e2e import-vault.spec.ts: an admin imports the fixture vault through the dialog and the app shows the folder tree under the mount page, a rewritten Obsidian link navigates to the right page, the embedded image renders, and the nested tag labels exist next to the dialog's extra label; a plain editor gets no section at all. 3x flake-free locally (CI wiring lands with #119). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
33 lines
1.0 KiB
JSON
33 lines
1.0 KiB
JSON
{
|
|
"action": "Import document",
|
|
"hint": "Word (.docx), OpenDocument (.odt) or Markdown (.md)",
|
|
"status": {
|
|
"uploading": "Uploading…",
|
|
"queued": "Queued…",
|
|
"converting": "Converting…",
|
|
"done": "Imported",
|
|
"failed": "Import failed"
|
|
},
|
|
"retry": "Retry",
|
|
"dismiss": "Dismiss",
|
|
"panelLabel": "Document imports",
|
|
"vault": {
|
|
"title": "Import an Obsidian vault",
|
|
"hint": "Upload a ZIP of a whole vault: folders become subpages, Obsidian tags become labels, and [[wikilinks]] keep working.",
|
|
"action": "Import vault…",
|
|
"file": "Vault archive (.zip)",
|
|
"parent": "Mount under",
|
|
"parentRoot": "Top level",
|
|
"labels": "Additional labels for every imported page",
|
|
"frontmatter": "YAML frontmatter",
|
|
"frontmatterStrip": "Remove it",
|
|
"frontmatterPreserve": "Keep it as a code block",
|
|
"start": "Start import",
|
|
"running": "Importing…",
|
|
"cancel": "Cancel",
|
|
"done": "The vault was imported.",
|
|
"doneLink": "Open the imported pages",
|
|
"close": "Close"
|
|
}
|
|
}
|