From 9207fc104f0203b54b01ca0515a187ef158ccd32 Mon Sep 17 00:00:00 2001 From: George Parker Date: Sat, 24 Jan 2026 08:35:56 -0700 Subject: [PATCH] Move Raw JSON button to the user/assistant+time row, and make the header a bit more responsive --- .gitignore | 1 + frontend/src/components/layout/AppHeader.tsx | 10 +--- frontend/src/pages/HomeDashboard.tsx | 63 ++++++++++---------- 3 files changed, 34 insertions(+), 40 deletions(-) diff --git a/.gitignore b/.gitignore index 6bda4db..37e2b2c 100644 --- a/.gitignore +++ b/.gitignore @@ -27,6 +27,7 @@ frontend/public/pdf.worker.min.mjs *.sw? target +ratarget # Gemini CLI Desktop test artifacts .gemini-cli-desktop/ diff --git a/frontend/src/components/layout/AppHeader.tsx b/frontend/src/components/layout/AppHeader.tsx index 2025d4d..b7d5360 100644 --- a/frontend/src/components/layout/AppHeader.tsx +++ b/frontend/src/components/layout/AppHeader.tsx @@ -33,9 +33,9 @@ export const AppHeader: React.FC = ({ return (
-
+
{/* Left section - Sidebar trigger + Desktop Logo */} -
+
= ({ )}
- - {/* Center section - Empty spacer */} -
- {/* Right section - Settings + Directory Toggle + Piebald branding */} -
+
{onOpenSettings && ( + + + + + {t("dashboard.rawJsonTitle")} + + +
+ +
+
+
<> @@ -99,7 +126,7 @@ export const HomeDashboard: React.FC = () => { return message.parts.map((msgPart, partIndex) => (
@@ -130,7 +157,7 @@ ${part.thinking}`; {msgPart.type === "thinking" ? ( ) : msgPart.type === "text" ? ( -
+
) : msgPart.type === "toolCall" ? ( @@ -173,36 +200,6 @@ ${part.thinking}`; )); })()} - - {/* Info button for raw JSON */} -
- - - - - - - - {t("dashboard.rawJsonTitle")} - - -
- -
-
-
-
))}