[New Platform Migration Phase I]: update dateHisogramInterval & parseEsInterval imports#42917
Merged
alexwizp merged 7 commits intoelastic:masterfrom Aug 13, 2019
Merged
Conversation
…EsInterval imports
Contributor
|
Pinging @elastic/kibana-app-arch |
Closed
3 tasks
Contributor
💔 Build Failed |
lizozom
reviewed
Aug 8, 2019
| import { | ||
| parseEsInterval, | ||
| } from 'ui/utils/parse_es_interval'; | ||
| } from '../../../../../../../../../src/legacy/core_plugins/data/public'; |
Contributor
Author
There was a problem hiding this comment.
=( but we should use relative imports now
Contributor
There was a problem hiding this comment.
Yeah, I know. Was just acknowledging that it's ugly.
lizozom
reviewed
Aug 8, 2019
| parseEsInterval, | ||
| ParsedInterval, | ||
| } from '../common/parse_es_interval'; | ||
| export * from '../common'; |
Contributor
💔 Build Failed |
Contributor
|
For the type of errors in your jest tests, I found this style of mocking very useful: |
Contributor
💚 Build Succeeded |
Contributor
💚 Build Succeeded |
joshdover
approved these changes
Aug 9, 2019
Contributor
joshdover
left a comment
There was a problem hiding this comment.
Changes to Core look fine 👍
rudolf
reviewed
Aug 9, 2019
Contributor
rudolf
left a comment
There was a problem hiding this comment.
Just a small error in the docs
Co-Authored-By: Rudolf Meijering <skaapgif@gmail.com>
Contributor
💚 Build Succeeded |
Contributor
|
Code LGTM. Didn't test because I'm unfamiliar with rollups (where these are mostly used). |
maryia-lapata
approved these changes
Aug 12, 2019
Contributor
💚 Build Succeeded |
lizozom
approved these changes
Aug 12, 2019
Contributor
lizozom
left a comment
There was a problem hiding this comment.
Tested in rollups and LGTM
alexwizp
added a commit
to alexwizp/kibana
that referenced
this pull request
Aug 13, 2019
…EsInterval imports (elastic#42917) * [New Platform Migration Phase I]: update dateHisogramInterval & parseEsInterval imports * fix tests * modify MIGRATION.md * Update src/core/MIGRATION.md Co-Authored-By: Rudolf Meijering <skaapgif@gmail.com> # Conflicts: # src/core/MIGRATION.md
jloleysens
added a commit
to jloleysens/kibana
that referenced
this pull request
Aug 13, 2019
…p-metrics-selectall * 'master' of github.com:elastic/kibana: (27 commits) [ML] Data Frames: Analytics job creation. (elastic#43102) [Vis Default editor] Fix issue with Rollup (elastic#42430) [Vis: Default editor] EUIficate Markdown tab (elastic#42677) [New Platform Migration Phase I]: update dateHisogramInterval & parseEsInterval imports (elastic#42917) [Infra UI] Add AWS metrics to node detail page (elastic#42153) update apm index pattern (elastic#43106) [SIEM] Toggle Column / Code Coverage and Cypress (elastic#42766) skip failing test (elastic#43163) [code] Add option to turn the go dependency download on/off. (elastic#43096) disable visual regression jobs Removed dead code (elastic#42774) fixes csv export of saved searches that have _source field (elastic#43123) Export missing Context types (elastic#43051) Update dependency supports-color to v7 (elastic#43064) switch to icon type string instead of node (elastic#43111) [Maps] Enable borders for icon symbols (elastic#43066) [ftr] enable visualRegression jobs (elastic#42989) [ML] Converting single to multi metric job (elastic#42532) fix(NA): dont clean dll module if it is a package json file (elastic#42904) [Logs UI] Add link from the sample web logs to the Logs UI (elastic#42635) ...
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Partially fix: #40553
Summary
In #39091,
dateHistogramInterval,parseEsIntervaland a few others were moved to the data plugin. However, imports fromui/public/utilswere not switched over.We need to update imports across Kibana so that we can remove
ui/public/utils/parse_es_intervalcompletely and consider Phase I "done" for this item.Checklist
Use
strikethroughsto remove checklist items you don't feel are applicable to this PR.For maintainers