-
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
[Ingest pipelines] Test pipeline enhancements #74964
Merged
alisonelizabeth
merged 17 commits into
elastic:master
from
alisonelizabeth:feature/test_pipeline_enhancements
Aug 20, 2020
Merged
Changes from 14 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
9ce8258
test pipeline enhancements
alisonelizabeth 3f8a5af
Merge branch 'master' of github.com:elastic/kibana into feature/test_…
alisonelizabeth b211198
stopping point
alisonelizabeth a2ed870
Merge branch 'master' of github.com:elastic/kibana into feature/test_…
alisonelizabeth 894ba23
fix TS
alisonelizabeth 1f2ca4a
cleanup
alisonelizabeth d60d447
rerun similation on processor state change + more cleanup
alisonelizabeth 74e6f40
fix i18n, css, code comments + cleanup
alisonelizabeth d69698f
Merge branch 'master' of github.com:elastic/kibana into feature/test_…
alisonelizabeth bf07747
Merge branch 'master' of github.com:elastic/kibana into feature/test_…
alisonelizabeth 8144d97
update tests
alisonelizabeth c4c40c0
remove unused file
alisonelizabeth a7c92b9
fix regression with rerunning complete output
alisonelizabeth 759a000
rename const
alisonelizabeth 66a6ff3
address review feedback
alisonelizabeth 17ee1f3
Merge branch 'master' of github.com:elastic/kibana into feature/test_…
alisonelizabeth bde5092
reset processor output on error
alisonelizabeth File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
8 changes: 8 additions & 0 deletions
8
...k/plugins/ingest_pipelines/public/application/components/pipeline_form/pipeline_form.scss
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
.pipelineProcessorsEditor { | ||
margin-bottom: $euiSizeXL; | ||
|
||
&__container { | ||
background-color: $euiColorLightestShade; | ||
} | ||
|
||
&__onFailureTitle { | ||
padding-left: $euiSizeS; | ||
} | ||
} |
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
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
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
3 changes: 3 additions & 0 deletions
3
...mponents/pipeline_processors_editor/components/documents_dropdown/documents_dropdown.scss
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.documentsDropdown__selectContainer { | ||
max-width: 200px; | ||
} |
Oops, something went wrong.
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.
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.
I see the TestPipelineContext is available to
processors_header.tsx
but I think it might provide a slightly better decoupling betweenprocessors_header
andpipeline_processors_editor
:pipeline_processors_editor
to just export<ManageDocumentsButton />
component (I made this up but it would wrapDocumentsDropdown
andAddDocumentsButton
) which contains the logic for showing/hiding the flyoutuseTestPipelineContext
from within new 👆🏻 button componentpipeline_processors_editor
(call tosetCurrentTestPipelineData
).DocumentsDropdown
,AddDocumentsButton
,TestPipelineFlyout
andTestPipelineFlyoutTab
from pipeline processors exports.Not major, but I believe this would be cleaner. WDYT?
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.
Great point. I agree; I think this would be cleaner. I think I may have started in this direction, but can't remember now why I pivoted 🤔 . I'll look into refactoring this.
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.
I ended up creating a component called
TestPipelineActions
that renders the add documents button/documents dropdown and the output button. The pipeline processor editor exports this as well as theDocumentsDropdown
, since the dropdown is also reused in the output tab of each processor. Let me know what you think!