Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

add version to UI dropdown (#866)

Myles Scolnick67fecafdbfe3
diff --git a/frontend/src/components/editor/controls/notebook-menu-dropdown.tsx b/frontend/src/components/editor/controls/notebook-menu-dropdown.tsx
index 7f210005bd..598d295781 100644
--- a/frontend/src/components/editor/controls/notebook-menu-dropdown.tsx
+++ b/frontend/src/components/editor/controls/notebook-menu-dropdown.tsx
@@ -16,6 +16,7 @@ import {
import { renderMinimalShortcut } from "../../shortcuts/renderShortcut";
import { useNotebookActions } from "../actions/useNotebookActions";
import { ActionButton } from "../actions/types";
+import { getMarimoVersion } from "@/core/dom/marimo-tag";
export const NotebookMenuDropdown: React.FC = () => {
const actions = useNotebookActions();
@@ -90,6 +91,10 @@ export const NotebookMenuDropdown: React.FC = () => {
</React.Fragment>
);
})}
+ <DropdownMenuSeparator />
+ <div className="flex-1 px-2 text-xs text-muted-foreground">
+ <span>Version: {getMarimoVersion()}</span>
+ </div>
</DropdownMenuContent>
</DropdownMenu>
);