Skip to content

Comments

[7.x] [Discover] Migrate AppState/GlobalState to new app state helpers (#57175)#59687

Merged
kertal merged 1 commit intoelastic:7.xfrom
kertal:backport/7.x/pr-57175
Mar 10, 2020
Merged

[7.x] [Discover] Migrate AppState/GlobalState to new app state helpers (#57175)#59687
kertal merged 1 commit intoelastic:7.xfrom
kertal:backport/7.x/pr-57175

Conversation

@kertal
Copy link
Member

@kertal kertal commented Mar 9, 2020

Backports the following commits to 7.x:

…stic#57175)

* Replace AppState

* Replace GlobalState

* Adapt functional test

* Sync initial app state to URL

* Add jest tests

* Refactoring to use use-default-behaviors="true" in kbn-top-nav

* Cleanup code remove unnecessary imports and variables

* Refactor to use syncQueryStateWithUrl & stopSyncingQueryAppStateWithStateContainer

* Remove discoverPersistedState

* Allow indexPattern switch without $route.reload()

* Remove timeRangeObj because it's not needed

* Create new getDefaultQuery in data plugin

* Simplify check for null in sync_state_with_url.ts

* Remove unused stateMonitorFactory

Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
@kertal kertal added the backport This PR is a backport of another PR label Mar 9, 2020
@kertal
Copy link
Member Author

kertal commented Mar 10, 2020

jenkins, test this

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

History

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

@kertal kertal merged commit b8b7bbb into elastic:7.x Mar 10, 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.

2 participants