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

Support collapsing side navigation via ChromeStart #190354

Closed
TattdCodeMonkey opened this issue Aug 12, 2024 · 1 comment · Fixed by #193192
Closed

Support collapsing side navigation via ChromeStart #190354

TattdCodeMonkey opened this issue Aug 12, 2024 · 1 comment · Fixed by #193192
Assignees
Labels
Feature:Chrome Core's Chrome UI (sidenav, header, breadcrumbs) Team:SharedUX Team label for AppEx-SharedUX (formerly Global Experience) v8.16.0

Comments

@TattdCodeMonkey
Copy link
Contributor

Describe the feature:

There is currently a way to check the state of the side nav using getIsSideNavCollapsed$() from the ChromeStart object. But there is not a way to change the state from another plugin. It would be nice to have an accompanying function to either toggle the side nav, or better for my use case below a setIsSideNavCollapsed(value: boolean) to manually close the side nav from another plugin.

Describe a specific use case for the feature:

We are in the planning process for a new focused onboarding flow for Search users and would like to start with the side nav collapsed but still available if the user wants to open it then navigate to another page. We would use this feature to ensure the side nav is collapsed when loading the onboarding page.

@TattdCodeMonkey TattdCodeMonkey added Team:SharedUX Team label for AppEx-SharedUX (formerly Global Experience) v8.16.0 labels Aug 12, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/appex-sharedux (Team:SharedUX)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Chrome Core's Chrome UI (sidenav, header, breadcrumbs) Team:SharedUX Team label for AppEx-SharedUX (formerly Global Experience) v8.16.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants