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.
Python artificial-intelligencedagdata-sciencedata-visualizationdataflowdeveloper-toolsmachine-learningnotebookspipelinepythonreactivesqlweb-app
fix: download as yaml in WASM (#1549)
Myles Scolnick1610b4c8c186
diff --git a/frontend/src/components/debug/indicator.tsx b/frontend/src/components/debug/indicator.tsxindex 1d62e96014..402c54d77f 100644--- a/frontend/src/components/debug/indicator.tsx+++ b/frontend/src/components/debug/indicator.tsx@@ -5,7 +5,7 @@ export const TailwindIndicator = () => {}return (- <div className="fixed bottom-2 left-[60px] z-50 flex size-5 items-center justify-center rounded-lg bg-gray-800 py-3 px-4 font-mono text-xs text-white">+ <div className="fixed bottom-2 right-[60px] z-50 flex size-5 items-center justify-center rounded-lg bg-gray-800 py-3 px-4 font-mono text-xs text-white"><div className="block sm:hidden">xs</div><div className="hidden sm:block md:hidden lg:hidden xl:hidden 2xl:hidden">smdiff --git a/frontend/src/components/editor/chrome/wrapper/footer.tsx b/frontend/src/components/editor/chrome/wrapper/footer.tsxindex 16df110e9a..000fd818a6 100644--- a/frontend/src/components/editor/chrome/wrapper/footer.tsx+++ b/frontend/src/components/editor/chrome/wrapper/footer.tsx@@ -24,7 +24,7 @@ export const Footer: React.FC = () => {};return (- <footer className="h-10 py-2 bg-background flex items-center text-muted-foreground text-md pl-1 pr-4 border-t border-border select-none no-print text-sm shadow-[0_0_4px_1px_rgba(0,0,0,0.1)] z-50 divide-x">+ <footer className="h-10 py-2 bg-background flex items-center text-muted-foreground text-md pl-1 pr-4 border-t border-border select-none no-print text-sm shadow-[0_0_4px_1px_rgba(0,0,0,0.1)] z-50"><FooterItemtooltip="View errors"selected={selectedPanel === "errors"}@@ -65,6 +65,8 @@ export const Footer: React.FC = () => {</div></FooterItem>+ <div className="border-r border-border h-6 mx-1" />+<FooterItemtooltip={config.runtime.on_cell_change === "autorun"diff --git a/frontend/src/core/pyodide/worker/worker.ts b/frontend/src/core/pyodide/worker/worker.tsindex f3ad9ce701..cf75ca387f 100644--- a/frontend/src/core/pyodide/worker/worker.ts+++ b/frontend/src/core/pyodide/worker/worker.ts@@ -179,6 +179,18 @@ const requestHandler = createRPCRequestHandler({`);}+ // Special case to lazily install pyaml on export_markdown+ if (functionName === "export_markdown") {+ await self.pyodide.runPythonAsync(`+ import micropip++ try:+ import yaml+ except ModuleNotFoundError:+ await micropip.install("pyyaml")+ `);+ }+// Perform the function call to the Python bridgeconst bridge = await bridgeReady.promise;