First set of changes for Notebooks removal. (#1816)

* First set of changes for Notebooks removal.

* Fix unit test snapshots.
This commit is contained in:
jawelton74
2024-04-29 15:46:24 -07:00
committed by GitHub
parent 92246144f7
commit b023250e67
15 changed files with 11 additions and 2242 deletions

View File

@@ -245,7 +245,6 @@ export function downloadItem(
},
"Cancel",
undefined,
container.getDownloadModalConent(name),
);
}
export async function downloadNotebookItem(
@@ -278,7 +277,6 @@ export async function downloadNotebookItem(
metadata.untrusted = true;
}
await container.importAndOpenContent(data.name, JSON.stringify(notebook));
logConsoleInfo(`Successfully downloaded ${data.name} to ${useNotebook.getState().notebookFolderName}`);
const increaseDownloadResponse = await junoClient.increaseNotebookDownloadCount(data.id);