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
feat: replace logo with back button for notebooks in gallery mode (#8099)
Péter Gyarmati740e2bc87415
diff --git a/frontend/src/core/run-app.tsx b/frontend/src/core/run-app.tsxindex 990e47672a..52c4bd9e9b 100644--- a/frontend/src/core/run-app.tsx+++ b/frontend/src/core/run-app.tsx@@ -1,11 +1,14 @@/* Copyright 2026 Marimo. All rights reserved. */import { useAtomValue } from "jotai";+import { ArrowLeftIcon } from "lucide-react";import { useEffect } from "react";import { AppContainer } from "@/components/editor/app-container";import { AppHeader } from "@/components/editor/header/app-header";import { Spinner } from "@/components/icons/spinner";+import { buttonVariants } from "@/components/ui/button";import { DelayMount } from "@/components/utils/delay-mount";+import { cn } from "@/utils/cn";import { CellsRenderer } from "../components/editor/renderers/cells-renderer";import { notebookIsRunningAtom, useCellActions } from "./cells/cells";import type { AppConfig } from "./config/config-schema";@@ -75,15 +78,19 @@ export const RunApp: React.FC<AppProps> = ({ appConfig }) => {isRunning={isRunning}width={appConfig.width}>- <AppHeader connection={connection} className={"sm:pt-8"}>+ <AppHeader connection={connection} className="sm:pt-8">{galleryHref && (- <div className="flex items-center px-6 pt-4">+ <div className="flex items-center px-6 pt-4 sm:-mt-8"><ahref={galleryHref}aria-label="Back to gallery"- className="inline-flex items-center"+ className={cn(+ buttonVariants({ variant: "text", size: "sm" }),+ "gap-2 px-0 text-muted-foreground hover:text-foreground",+ )}>- <img src="logo.png" alt="marimo logo" className="h-6 w-auto" />+ <ArrowLeftIcon className="size-4" aria-hidden={true} />+ <span>Back</span></a></div>)}