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.

improvement: make footer more visible (#554)

Akshay Agrawal72adc453813c
diff --git a/frontend/src/components/editor/chrome/wrapper/footer.tsx b/frontend/src/components/editor/chrome/wrapper/footer.tsx
index f67b11bfcb..f34c307b84 100644
--- a/frontend/src/components/editor/chrome/wrapper/footer.tsx
+++ b/frontend/src/components/editor/chrome/wrapper/footer.tsx
@@ -23,14 +23,14 @@ export const Footer: React.FC = () => {
const errorCount = useAtomValue(cellErrorCount);
return (
- <footer className="h-10 py-2 bg-background flex items-center text-muted-foreground text-md px-6 border-t border-border select-none no-print text-sm">
+ <footer className="h-10 py-2 bg-background flex items-center text-muted-foreground text-md px-4 border-t border-border select-none no-print text-sm shadow-[0_0_4px_1px_rgba(0,0,0,0.1)] z-50">
<FooterItem
tooltip="View errors"
selected={selectedPanel === "errors"}
onClick={() => openApplication("errors")}
>
<XCircleIcon
- className={cn("h-4 w-4 mr-1", {
+ className={cn("h-5 w-5 mr-1", {
"text-destructive": errorCount > 0,
})}
/>
@@ -41,50 +41,52 @@ export const Footer: React.FC = () => {
selected={selectedPanel === "variables"}
onClick={() => openApplication("variables")}
>
- <CircleEqualIcon className={cn("h-4 w-4")} />
+ <CircleEqualIcon className={cn("h-5 w-5 ")} />
</FooterItem>
<FooterItem
tooltip="View outline"
selected={selectedPanel === "outline"}
onClick={() => openApplication("outline")}
>
- <ScrollTextIcon className={cn("h-4 w-4")} />
+ <ScrollTextIcon className={cn("h-5 w-5")} />
</FooterItem>
<FooterItem
tooltip="Explore dependencies"
selected={selectedPanel === "dependencies"}
onClick={() => openApplication("dependencies")}
>
- <NetworkIcon className={cn("h-4 w-4")} />
+ <NetworkIcon className={cn("h-5 w-5")} />
</FooterItem>
<FooterItem
tooltip="Notebook logs"
selected={selectedPanel === "logs"}
onClick={() => openApplication("logs")}
>
- <FileTextIcon className={cn("h-4 w-4")} />
+ <FileTextIcon className={cn("h-5 w-5")} />
</FooterItem>
+
+ <FeedbackButton>
+ <FooterItem tooltip="Send feedback!" selected={false}>
+ <MessageCircleQuestionIcon className="h-5 w-5" />
+ </FooterItem>
+ </FeedbackButton>
+
<div className="mx-auto" />
+
<FooterItem
tooltip="Move panel to the left"
selected={panelLocation === "left"}
onClick={() => changePanelLocation("left")}
>
- <PanelLeftIcon className="h-4 w-4" />
+ <PanelLeftIcon className="h-5 w-5" />
</FooterItem>
<FooterItem
tooltip="Move panel to the bottom"
selected={panelLocation === "bottom"}
onClick={() => changePanelLocation("bottom")}
>
- <PanelBottomIcon className="h-4 w-4" />
+ <PanelBottomIcon className="h-5 w-5" />
</FooterItem>
-
- <FeedbackButton>
- <FooterItem tooltip="Send feedback!" selected={false}>
- <MessageCircleQuestionIcon className="h-4 w-4" />
- </FooterItem>
- </FeedbackButton>
</footer>
);
};