Skip to content

Animate header logo on sidebar toggle#10

Merged
selfcontained merged 2 commits into
mainfrom
feature/header-logo-sidebar-toggle
Mar 10, 2026
Merged

Animate header logo on sidebar toggle#10
selfcontained merged 2 commits into
mainfrom
feature/header-logo-sidebar-toggle

Conversation

@selfcontained

Copy link
Copy Markdown
Owner

Summary

  • Hide the Dispatch logo in the header when the agent sidebar is open (since the sidebar already shows it)
  • Slide/fade the logo into the header with a 300ms ease-out transition when the sidebar collapses, matching existing sidebar animation timing
  • Uses CSS width + opacity transition on a wrapper div for a clean slide-fade effect

Test plan

  • Open the app with the sidebar open — header should have no logo
  • Close the sidebar — logo should smoothly slide and fade into the header
  • Re-open the sidebar — logo should smoothly slide and fade out of the header
  • Verify on mobile — logo should not appear in the header (unchanged behavior)

🤖 Generated with Claude Code

selfcontained and others added 2 commits March 9, 2026 22:32
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 <[email protected]>
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 <[email protected]>
@selfcontained
selfcontained merged commit 9798565 into main Mar 10, 2026
1 check passed
@selfcontained
selfcontained deleted the feature/header-logo-sidebar-toggle branch April 9, 2026 03:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant