Feat v0.4.5 editor modes + document outline
All checks were successful
CI/CD / detect-changes (pull_request) Successful in 3s
CI/CD / test-frontend (pull_request) Successful in 5s
CI/CD / test-go-pg (pull_request) Successful in 2m37s
CI/CD / test-sqlite (pull_request) Successful in 2m45s
CI/CD / build-and-deploy (pull_request) Successful in 1m32s

Tri-state viewMode (rendered/edit/split) replaces binary preview toggle.
Split view uses CSS grid with synced scroll. Document outline panel parses
headings and supports click-to-scroll in both CM6 and preview. Mode
preference persisted to localStorage. Notes package bumped to v0.6.0.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-29 20:40:22 +00:00
parent cee65c4136
commit db9d630399
7 changed files with 248 additions and 24 deletions

View File

@@ -6,9 +6,9 @@
"route": "/s/notes",
"auth": "authenticated",
"layout": "single",
"version": "0.5.0",
"version": "0.6.0",
"icon": "📝",
"description": "Markdown notes surface with rich editor, folders, tags, backlinks, and import/export.",
"description": "Markdown notes surface with rich editor, folders, tags, backlinks, import/export, and document outline.",
"author": "switchboard",
"permissions": ["db.write"],
@@ -92,6 +92,12 @@
"label": "Default View",
"description": "Default note list view: recent or pinned",
"default": "recent"
},
"editor_mode": {
"type": "string",
"label": "Default Editor Mode",
"description": "How notes open: rendered (read-only preview), edit (CodeMirror editor), or split (side-by-side)",
"default": "rendered"
}
}
}