Skip to content

[7.x] [State Management] State syncing utilities (#53582)#54454

Merged
Dosant merged 2 commits intoelastic:7.xfrom
Dosant:backport/7.x/pr-53582
Jan 13, 2020
Merged

[7.x] [State Management] State syncing utilities (#53582)#54454
Dosant merged 2 commits intoelastic:7.xfrom
Dosant:backport/7.x/pr-53582

Conversation

@Dosant
Copy link
Copy Markdown
Contributor

@Dosant Dosant commented Jan 10, 2020

Backports the following commits to 7.x:

Today, apps rely on AppState and GlobalState in the ui/state_management module to deal with internal (app) and shared (global) state. These classes give apps an ability to read/write state, when is then synced to the URL as well as sessionStorage. They also react to changes in the URL and automatically update state & emit events when changes occur.

This PR introduces new state synching utilities, which together with state containers src/plugins/kibana_utils/public/state_containers will be a replacement for AppState and GlobalState in New Platform.
@Dosant Dosant added the backport This PR is a backport of another PR label Jan 10, 2020
@Dosant
Copy link
Copy Markdown
Contributor Author

Dosant commented Jan 13, 2020

@elasticmachine merge upstream

@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@Dosant Dosant merged commit 5f52cf0 into elastic:7.x Jan 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants