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: don't unhide when markdown is empty (#3049)
Myles Scolnick0ee0ded315ad
diff --git a/frontend/src/components/editor/Cell.tsx b/frontend/src/components/editor/Cell.tsxindex 21a26ae8dc..7fa58a519b 100644--- a/frontend/src/components/editor/Cell.tsx+++ b/frontend/src/components/editor/Cell.tsx@@ -378,21 +378,6 @@ const CellComponent = (const hasOutput = !isOutputEmpty(output);- const unhideCode = useEvent(() => {- // Fire-and-forget save- void saveCellConfig({ configs: { [cellId]: { hide_code: false } } });- updateCellConfig({ cellId, config: { hide_code: false } });-- // focus the editor- editorView.current?.focus();- return false;- });-- // When markdown cell is hidden & output is cleared, show the code editor- if (isMarkdownCodeHidden && !hasOutput) {- unhideCode();- }-const outputArea = hasOutput && (<div className="relative" onDoubleClick={showHiddenMarkdownCode}><div className="absolute top-5 -left-8 z-10 print:hidden">