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: remove useSidebar to fix errors of SidebarWrapper when opening playground page #4767

Merged
merged 2 commits into from
Nov 22, 2024

Conversation

lucaseduoli
Copy link
Collaborator

This pull request includes several changes to improve the handling of the sidebar state in the frontend codebase. The main changes involve removing the useSidebar hook and replacing it with data attributes to manage the sidebar's open state.

Sidebar state management improvements:

Code cleanup:

@lucaseduoli lucaseduoli self-assigned this Nov 21, 2024
@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Nov 21, 2024
@github-actions github-actions bot added the bug Something isn't working label Nov 21, 2024
Copy link
Member

@Cristhianzl Cristhianzl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Nov 21, 2024
@Cristhianzl Cristhianzl enabled auto-merge (squash) November 21, 2024 21:18
@Cristhianzl Cristhianzl disabled auto-merge November 21, 2024 21:18
@ogabrielluiz ogabrielluiz merged commit 725a256 into main Nov 22, 2024
26 of 27 checks passed
@ogabrielluiz ogabrielluiz deleted the fix/usesidebar branch November 22, 2024 00:44
mieslep pushed a commit to mieslep/langflow that referenced this pull request Nov 22, 2024
…layground page (langflow-ai#4767)

* Added open to data of wrapper

* Fix PageComponent and Header to not use useSidebar anymore
diogocabral pushed a commit to headlinevc/langflow that referenced this pull request Nov 26, 2024
…layground page (langflow-ai#4767)

* Added open to data of wrapper

* Fix PageComponent and Header to not use useSidebar anymore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working lgtm This PR has been approved by a maintainer size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants