Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: implement sidebar state persistence using cookies #1122

Draft
wants to merge 21 commits into
base: canary
Choose a base branch
from

Conversation

drudge
Copy link
Contributor

@drudge drudge commented Jan 16, 2025

  • Add server component wrapper to read sidebar state cookie
  • Update layouts to use wrapper component for cookie-based persistence
  • Modify Page component to accept defaultOpen prop
  • Follow shadcn docs pattern for cookie-based state persistence

DJKnaeckebrot and others added 21 commits January 13, 2025 11:53
…bar_animation

refactor(sidebar): improve animation
…sidebar-fixes

fix(style): clean up sidebar related style issue
fix: fixed missing cluster side item
Postgres -> Mongo
- Add server component wrapper to read sidebar state cookie
- Update layouts to use wrapper component for cookie-based persistence
- Modify Page component to accept defaultOpen prop
- Follow shadcn docs pattern for cookie-based state persistence

Co-Authored-By: Nicholas Penree <nick@penree.com>
Co-Authored-By: Nicholas Penree <nick@penree.com>
Co-Authored-By: Nicholas Penree <nick@penree.com>
Co-Authored-By: Nicholas Penree <nick@penree.com>
Co-Authored-By: Nicholas Penree <nick@penree.com>
Co-Authored-By: Nicholas Penree <nick@penree.com>
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.

7 participants