feat(notebooks): manage and author notebooks in the web UI (#9)

Add atomic, versioned notebook mutations, a searchable folder tree, and editor insertion forms. Validate notebook paths and symlink roots and retain drafts after external changes.

Add yaml as a direct web dependency, reusing the existing workspace library for comment-preserving frontmatter edits.
This commit is contained in:
Florian Schmidt
2026-11-16 10:16:43 +01:00
parent 4fe7e4e376
commit 911387264b
22 changed files with 1302 additions and 23 deletions
+9
View File
@@ -31,6 +31,15 @@ const artifactUrl = URL.createObjectURL(
}),
);
export const mockApi: Api = {
create: async () => {
throw new Error("Notebook management requires a live workspace");
},
move: async () => {
throw new Error("Notebook management requires a live workspace");
},
deleteNotebook: async () => {
throw new Error("Notebook management requires a live workspace");
},
me: async () => ({ authenticated: true }),
login: async () => undefined,
list: async () => ({