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:
@@ -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 () => ({
|
||||
|
||||
Reference in New Issue
Block a user