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

WLF and Menu: Storing of states #240

Merged
merged 12 commits into from
Aug 25, 2022

Conversation

rubenthoms
Copy link
Collaborator

@rubenthoms rubenthoms commented Aug 17, 2022

This PR introduces storing of WLF (active plugin, active view, settings drawer toggle state, opened settings groups) and Menu (open settings group which contains current page when initially loading) states in the browser's local storage. Moreover, if no URL path is given, the first page of the Webviz app is automatically opened.

Last but not least, settings groups do now remain open when other groups are toggled (independent state).

@rubenthoms rubenthoms added the enhancement New feature or request label Aug 17, 2022
@rubenthoms rubenthoms self-assigned this Aug 17, 2022
@rubenthoms
Copy link
Collaborator Author

Fixes equinor/webviz-config#605.

Copy link
Collaborator

@HansKallekleiv HansKallekleiv left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Collaborator

@jorgenherje jorgenherje left a comment

Choose a reason for hiding this comment

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

Looks good to me! Tested and verified 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done 🏁
Development

Successfully merging this pull request may close these issues.

3 participants