-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Move StubIndexPattern to data plugin and convert to TS. #78518
Merged
lukeelmers
merged 2 commits into
elastic:master
from
lukeelmers:fix/move-stub-index-pattern
Sep 28, 2020
Merged
Move StubIndexPattern to data plugin and convert to TS. #78518
lukeelmers
merged 2 commits into
elastic:master
from
lukeelmers:fix/move-stub-index-pattern
Sep 28, 2020
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Pinging @elastic/kibana-app-arch (Team:AppArch) |
@elasticmachine merge upstream |
mattkime
approved these changes
Sep 26, 2020
kertal
approved these changes
Sep 28, 2020
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code LGTM, KibanaApp Codeowner review, just tests were adapted, didn't checkout
@elasticmachine merge upstream |
💚 Build SucceededMetrics [docs]
History
To update your PR or re-run it, just comment with: |
lukeelmers
added a commit
to lukeelmers/kibana
that referenced
this pull request
Sep 28, 2020
# Conflicts: # src/test_utils/public/stub_index_pattern.js
lukeelmers
added a commit
that referenced
this pull request
Sep 28, 2020
gmmorris
added a commit
to gmmorris/kibana
that referenced
this pull request
Sep 28, 2020
* master: Fix APM lodash imports (elastic#78438) Add deprecated message to tile_map and region_map visualizations. (elastic#77683) Fix Lens smokescreen flaky tests (elastic#78566) updated discover with alt text (elastic#77660) Fix types (elastic#78619) Update tutorial-visualizing.asciidoc (elastic#76977) Update tutorial-discovering.asciidoc (elastic#76976) [Search] Error notification alignment (elastic#77788) Update tutorial-define-index.asciidoc (elastic#76975) [Lens] Fieldless operations (elastic#78080) [Usage Collection] [schema] Explicit "array" definition (elastic#78141) Update tutorial-define-index.asciidoc (elastic#76973) Fix --no-basepath references in doc (elastic#78570) Move StubIndexPattern to data plugin and convert to TS. (elastic#78518) Index pattern class - remove unused methods (elastic#78538) [Security Solution] [ALL] Eliminates all console.error and console.warn from Jest output (elastic#78523) [Actions] avoids setting a default dedupKey on PagerDuty (elastic#77773) First stab at developer-focussed saved objects docs (elastic#71430) remove unnecessary config validations (elastic#78527)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
chore
Feature:Data Views
Data Views code and UI - index patterns before 8.0
release_note:skip
Skip the PR/issue when compiling release notes
review
v7.10.0
v8.0.0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Part of #76355
src/test_utils
previously had a dependency on the data plugin (viaStubIndexPattern
). This PR relocatesStubIndexPattern
to the data plugin to remove this dependency.I've also converted it to TypeScript and created a
getStubIndexPattern
factory function to facilitate easier typing.Ideally we would get rid of
StubIndexPattern
altogether, but this would require some work on the data plugin's jest mocks to provide a more detailed mock index pattern. I've created an issue to address this here, but for the time being am simply moving the existing stub over to get rid of the dependency.cc @restrry