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

Remove left over "refresh index pattern" message from Discover #85018

Merged
merged 3 commits into from
Dec 5, 2020

Conversation

timroes
Copy link
Contributor

@timroes timroes commented Dec 4, 2020

Summary

As of #82223 the field cache in index patterns no longer exists. This removes the warning from Discover for unmapped fields that the user should refresh their index pattern.

We also decided not to show another message, since showing unmapped fields will be gone in the future from discover (since we want to make usage of the fields API), thus we'll simply not show this message.

This also solves the issue that the message shows in a couple of invalid cases (like parent nested fields)... since it's gone now.

Checklist

Delete any items that are not applicable to this PR.

For maintainers

@timroes timroes added Feature:Discover Discover Application Team:Visualizations Visualization editors, elastic-charts and infrastructure v8.0.0 release_note:skip Skip the PR/issue when compiling release notes v7.11.0 labels Dec 4, 2020
@timroes timroes requested review from kertal, majagrubic and a team December 4, 2020 13:45
@elasticmachine
Copy link
Contributor

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

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
discover 313 312 -1

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
discover 82.2KB 81.1KB -1.1KB

History

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

Copy link
Contributor

@majagrubic majagrubic left a comment

Choose a reason for hiding this comment

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

Tested in Chrome on Mac OSX.

@timroes timroes merged commit 2f32754 into elastic:master Dec 5, 2020
@timroes timroes deleted the discover/cleanup-index-refresh-msg branch December 5, 2020 09:43
timroes pushed a commit to timroes/kibana that referenced this pull request Dec 5, 2020
…ic#85018)

* Remove the unmapped field refresh warning

* Remove unneeded translations

* Remove old imports
timroes pushed a commit that referenced this pull request Dec 6, 2020
… (#85092)

* Remove the unmapped field refresh warning

* Remove unneeded translations

* Remove old imports
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Discover Discover Application release_note:skip Skip the PR/issue when compiling release notes Team:Visualizations Visualization editors, elastic-charts and infrastructure v7.11.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants