Skip to content

fix(frontend): use CSS transition for sidebar collapse instead of unm…#11

Merged
shuveb merged 3 commits intomainfrom
unified-chat-component
Mar 6, 2026
Merged

fix(frontend): use CSS transition for sidebar collapse instead of unm…#11
shuveb merged 3 commits intomainfrom
unified-chat-component

Conversation

@shuveb
Copy link
Contributor

@shuveb shuveb commented Mar 6, 2026

…ount

Keep sidebar components mounted when collapsed (w-0 + overflow-hidden) instead of returning null. This prevents data re-fetching on re-expand and adds a smooth 200ms slide animation.

What

Why

How

Can this PR break any existing features. If yes, please list possible items. If no, please explain why. (PS: Admins do not merge the PR without this section filled)

Database Migrations

Env Config

Relevant Docs

Related Issues or PRs

Dependencies Versions

Notes on Testing

Screenshots

Checklist

I have read and understood the Contribution Guidelines.

shuveb and others added 3 commits March 3, 2026 08:20
…ount

Keep sidebar components mounted when collapsed (w-0 + overflow-hidden)
instead of returning null. This prevents data re-fetching on re-expand
and adds a smooth 200ms slide animation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
# Conflicts:
#	frontend/components/sidebar/AppSidebar.tsx
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@shuveb shuveb merged commit ff58bc1 into main Mar 6, 2026
2 checks passed
@shuveb shuveb deleted the unified-chat-component branch March 6, 2026 09:44
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