-
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 Editor] First round of UX improvements #69381
Merged
jloleysens
merged 26 commits into
elastic:master
from
jloleysens:ingest-pipelines/editor-dropzone-refinement
Jun 26, 2020
Merged
Changes from 19 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
114f141
First round of UX tweaks
jloleysens 34e313f
Updated the on-failure pipeline description copy
jloleysens 1328c24
Merge branch 'master' into ingest-pipelines/editor-dropzone-refinement
elasticmachine 7edd5ba
Properly encode URI component pipeline names
jloleysens 448c882
use xjson editor in flyout
jloleysens 110e5cf
also hide the test flyout if we are editing a component
jloleysens b4ef7a8
add much stronger dimming effect when in edit mode
jloleysens 9c44d87
also added dimming effect to moving state
jloleysens 5326b25
remove box shadow if dimmed
jloleysens 1017792
add tooltips to dropzones
jloleysens 1c4e4f2
Merge branch 'master' of github.com:elastic/kibana into ingest-pipeli…
jloleysens fe68f96
fix CITs after master merge
jloleysens 7f25e6a
Merge branch 'master' into ingest-pipelines/editor-dropzone-refinement
elasticmachine 6ac957f
fix nested rendering of processors tree
jloleysens 97096f1
Merge branch 'master' into ingest-pipelines/editor-dropzone-refinement
elasticmachine 3e0de4d
only show the tooltip when the dropzone is unavaiable and visible
jloleysens a7fe179
keep white background on dim
jloleysens 66cc71d
hide controls when moving
jloleysens b4ea683
fix on blur bug
jloleysens c38f0dd
Merge branch 'master' into ingest-pipelines/editor-dropzone-refinement
elasticmachine 4c92d86
Rename variables and prefix booleans with "is"
jloleysens 95f9a04
Remove box shadow on all nested tree items
jloleysens bf5338a
use classNames as it is intended to be used
jloleysens 22c4288
Refactor SCSS values to variables
jloleysens 7c0afb8
Added cancel move button
jloleysens 8ffad8c
Fixes for monaco XJSON grammar parser and update form copy
jloleysens 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
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
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
34 changes: 29 additions & 5 deletions
34
...rs_editor/components/pipeline_processors_editor_item/pipeline_processors_editor_item.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,17 +1,41 @@ | ||
.pipelineProcessorsEditor__item { | ||
transition: border-color 1s; | ||
min-height: 50px; | ||
&--selected { | ||
border: 1px solid $euiColorPrimary; | ||
} | ||
|
||
&--displayNone { | ||
display: none; | ||
} | ||
|
||
&--dimmed { | ||
box-shadow: none; | ||
} | ||
|
||
&__textContainer { | ||
padding: 4px; | ||
border-radius: 2px; | ||
|
||
transition: border-color .3s; | ||
border: 2px solid #FFF; | ||
transition: border-color 0.3s; | ||
border: 2px solid transparent; | ||
|
||
&:hover { | ||
border: 2px solid $euiColorLightShade; | ||
&--notEditing { | ||
&:hover { | ||
border: 2px solid $euiColorLightShade; | ||
} | ||
} | ||
} | ||
|
||
&__description { | ||
overflow-x: hidden; | ||
white-space: nowrap; | ||
text-overflow: ellipsis; | ||
max-width: 600px; | ||
} | ||
|
||
&__textInput { | ||
height: 21px; | ||
min-width: 100px; | ||
min-width: 150px; | ||
} | ||
} |
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.
Out of curiosity, what are the scenarios in which there wouldn't be a model?
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.
This is quite specific to how monaco works, and tbh I am not entirely certain 😅 . They do provide types that support this claim and I have seen that, on occasion, at runtime when editing the model is unavailable.
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.
Thanks for explaining! Might be worth leaving a comment in the code with this info.