Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions frontend/src/components/editor/actions/useNotebookActions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,18 @@ export function useNotebookActions() {
});
},
},
{
icon: <MarimoPlusIcon size={14} strokeWidth={1.5} />,
label: "Create molab notebook",
Comment thread
Light2Dark marked this conversation as resolved.
handle: async () => {
const code = await readCode();
const url = createShareableLink({
code: code.contents,
baseUrl: `${Constants.molab}/new`,
});
window.open(url, "_blank");
Comment thread
Light2Dark marked this conversation as resolved.
Comment thread
Light2Dark marked this conversation as resolved.
},
},
],
},

Expand Down
1 change: 1 addition & 0 deletions frontend/src/core/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export const Constants = {
discordLink: "https://marimo.io/discord?ref=notebook",
docsPage: "https://docs.marimo.io",
youtube: "https://www.youtube.com/@marimo-team",
molab: "https://molab.marimo.io",
Comment thread
Light2Dark marked this conversation as resolved.
};

export const KnownQueryParams = {
Expand Down
Loading