From 5e570fb32e7e02e604f33a0a1253002c713c36e9 Mon Sep 17 00:00:00 2001 From: Brad Harris Date: Mon, 9 Mar 2026 22:32:58 -0600 Subject: [PATCH 1/2] Animate header logo visibility based on sidebar state Show the Dispatch logo in the header only when the agent sidebar is closed, using a width + opacity transition that matches the sidebar's 300ms ease-out timing for a smooth slide-fade effect. Co-Authored-By: Claude Opus 4.6 --- web/src/components/app/app-header.tsx | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/web/src/components/app/app-header.tsx b/web/src/components/app/app-header.tsx index dc7154f7..fd575231 100644 --- a/web/src/components/app/app-header.tsx +++ b/web/src/components/app/app-header.tsx @@ -42,7 +42,20 @@ export function AppHeader({ ) : null} - {!isMobile ? Dispatch logo : null} + {!isMobile ? ( +
+ Dispatch logo +
+ ) : null} {showHeaderStatus ? ( From f5bafc8618fd13b8d8903990668f9f1a9c7b65d6 Mon Sep 17 00:00:00 2001 From: Brad Harris Date: Mon, 9 Mar 2026 22:35:35 -0600 Subject: [PATCH 2/2] Improve header logo animation with translate + delay Use translateX + opacity instead of width transitions for a more noticeable slide-fade effect. Add 150ms delay when appearing so the logo slides in after the sidebar has partially collapsed. Co-Authored-By: Claude Opus 4.6 --- web/src/components/app/app-header.tsx | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/web/src/components/app/app-header.tsx b/web/src/components/app/app-header.tsx index fd575231..eb15bab2 100644 --- a/web/src/components/app/app-header.tsx +++ b/web/src/components/app/app-header.tsx @@ -36,26 +36,32 @@ export function AppHeader({ }: AppHeaderProps): JSX.Element { return (
-
- {(!leftOpen || isMobile) ? ( - - ) : null} - {!isMobile ? ( +
+ {isMobile ? ( + !leftOpen ? ( + + ) : null + ) : (
+ Dispatch logo
- ) : null} + )}
{showHeaderStatus ? (