Repository navigation
[Reporting] refactor routes files and helpers - #30111
Merged
Merged
Conversation
Contributor
💔 Build Failed |
joelgriffith
reviewed
Feb 5, 2019
Contributor
|
This is a nice cleanup... what do you think about doing TS for some of this (at least the newer modules)? |
Member
Author
|
@joelgriffith sure, I can put some of the changes in as TS. I'm hunting down a failing unit test, and then I'll pick that up |
tsullivan
commented
Feb 6, 2019
| import _ from 'lodash'; | ||
|
|
||
| export function createFlattenHit(fields, metaFields, conflictedTypesFields) { | ||
| export function createFlattenHit(fields, metaFields, conflictedTypesFields = []) { |
Member
Author
There was a problem hiding this comment.
Whoops, looks like there was a unit test expecting this to cause a failure
Contributor
💔 Build Failed |
Contributor
💔 Build Failed |
Contributor
💔 Build Failed |
Contributor
💔 Build Failed |
Contributor
💔 Build Failed |
Member
Author
|
retest |
Contributor
💔 Build Failed |
Contributor
💔 Build Failed |
Contributor
💔 Build Failed |
Contributor
💔 Build Failed |
Contributor
💚 Build Succeeded |
| @@ -7,8 +7,7 @@ | |||
| import { resolve } from 'path'; | |||
| import { UI_SETTINGS_CUSTOM_PDF_LOGO } from './common/constants'; | |||
| import { mirrorPluginStatus } from '../../server/lib/mirror_plugin_status'; | |||
Contributor
There was a problem hiding this comment.
Nice consolidation here
joelgriffith
approved these changes
Feb 12, 2019
joelgriffith
left a comment
Contributor
There was a problem hiding this comment.
Lovin' that TS flavor! LGTM
tsullivan
added a commit
to tsullivan/kibana
that referenced
this pull request
Feb 12, 2019
* remove unused file * refactor routes files and helpers * default empty array for conflictedTypesFields * minor prettier * remove some unrelated diff * some typescript conversions * more typescripts * more typscript * jobtype is a string * revert some logic change * set payload.headers to undefined + not mutate * fix jest import
This was referenced Feb 12, 2019
tsullivan
added a commit
to tsullivan/kibana
that referenced
this pull request
Feb 12, 2019
* remove unused file * refactor routes files and helpers * default empty array for conflictedTypesFields * minor prettier * remove some unrelated diff * some typescript conversions * more typescripts * more typscript * jobtype is a string * revert some logic change * set payload.headers to undefined + not mutate * fix jest import
tsullivan
added a commit
that referenced
this pull request
Feb 13, 2019
* remove unused file * refactor routes files and helpers * default empty array for conflictedTypesFields * minor prettier * remove some unrelated diff * some typescript conversions * more typescripts * more typscript * jobtype is a string * revert some logic change * set payload.headers to undefined + not mutate * fix jest import
patrykkopycinski
pushed a commit
to patrykkopycinski/kibana
that referenced
this pull request
May 6, 2026
* remove unused file * refactor routes files and helpers * default empty array for conflictedTypesFields * minor prettier * remove some unrelated diff * some typescript conversions * more typescripts * more typscript * jobtype is a string * revert some logic change * set payload.headers to undefined + not mutate * fix jest import
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.
server/routesget_absolute_timeWIP: Hold off until #29977 is merged