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

[Discover] Reimplement $route.reload when index pattern changes #59877

Conversation

kertal
Copy link
Member

@kertal kertal commented Mar 11, 2020

Summary

In #57175 there was a change implemented when you switch index pattern. Before this PR the route was reloaded, after that PR, the change was just applied to state with additional logic to fetch the new index pattern. While testing #59423 I found a problem, that when you switch to another index pattern, the field list isn't cleared, new fields are added. Also when switching to a rollup pattern, no results where displayed. When I refreshed the page, I could see rollup data.

Bildschirmfoto 2020-03-11 um 10 39 33

So I decided to undo this change for now.

@kertal
Copy link
Member Author

kertal commented Mar 11, 2020

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

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

@kertal kertal self-assigned this Mar 11, 2020
@kertal kertal added the Team:Visualizations Visualization editors, elastic-charts and infrastructure label Mar 11, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

@kertal kertal added Feature:NP Migration release_note:skip Skip the PR/issue when compiling release notes v7.7.0 v8.0.0 labels Mar 11, 2020
@kertal kertal marked this pull request as ready for review March 11, 2020 17:17
@kertal kertal requested review from a team and flash1293 March 11, 2020 17:17
@kertal kertal added this to In progress in Kibana-app-np-migration via automation Mar 12, 2020
Copy link
Contributor

@flash1293 flash1293 left a comment

Choose a reason for hiding this comment

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

Tested and works, LGTM

@kertal kertal merged commit 5eb8bb1 into elastic:master Mar 12, 2020
Kibana-app-np-migration automation moved this from In progress to Done Mar 12, 2020
gmmorris added a commit to gmmorris/kibana that referenced this pull request Mar 12, 2020
* master: (45 commits)
  skip flaky suite (elastic#59717)
  UI Metrics use findAll to retrieve all Saved Objects (elastic#59891)
  [Discover] Migrate Context mocha tests to use Jest (elastic#59658)
  [Maps] Move redux reducers and store logic to NP (elastic#58294)
  rebalance x-pack groups (elastic#58930)
  [Discover] Reimplement $route.reload when index pattern changes (elastic#59877)
  [Upgrade Assistant Meta] Breaking changes issue template (elastic#59745)
  Skip CI based on changes in PR (elastic#59939)
  [ML] Transforms: Replace KqlFilterBar with QueryStringInput. (elastic#59723)
  [ML] Functional tests - stabilize date_nanos test (elastic#59986)
  [ML] Typescripting client side endpoint functions (elastic#59928)
  a11y tests on adding columns to discover table (elastic#59375)
  fix graph plugin config path (elastic#59540)
  fix vega config issues (elastic#59737)
  [Upgrade Assistant] Open And Close Slight Refactor (elastic#59890)
  [ML] Adding shared services to ml setup contract (elastic#59730)
  [Visualize] Fix linked search behavior (elastic#59690)
  [ML] Register NP ML plugin for Kibana management section. (elastic#59762)
  [Lens] Adds using queries/filters for field existence endpoint (elastic#59033)
  Delete FilterStateManager and QueryFilter :-D (elastic#59872)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:NP Migration release_note:skip Skip the PR/issue when compiling release notes Team:Visualizations Visualization editors, elastic-charts and infrastructure v7.7.0 v8.0.0
Projects
Development

Successfully merging this pull request may close these issues.

None yet

4 participants