-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…0076) * First round of UX tweaks - Fixed potential text overflow issue on descriptions - Removed border around text input when editing description * Updated the on-failure pipeline description copy * Properly encode URI component pipeline names * use xjson editor in flyout * also hide the test flyout if we are editing a component * add much stronger dimming effect when in edit mode * also added dimming effect to moving state * remove box shadow if dimmed * add tooltips to dropzones * fix CITs after master merge * fix nested rendering of processors tree * only show the tooltip when the dropzone is unavaiable and visible * keep white background on dim * hide controls when moving * fix on blur bug * Rename variables and prefix booleans with "is" * Remove box shadow on all nested tree items * use classNames as it is intended to be used * Refactor SCSS values to variables * Added cancel move button - also hide the description in move mode when it is empty - update and refactor some shared sass variables - some number of sass changes to make labels play nice in move mode - changed the logic to not render the buttons when in move mode instead of display: none on them. The issue is with the tooltip not hiding when when we change to move mode and the mouse event "leave" does get through the tooltip element causing tooltips to hang even though the mouse has left them. * Fixes for monaco XJSON grammar parser and update form copy - Monaco XJSON worker was not handling trailing whitespace - Update copy in the processor configuration form Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
- Loading branch information
1 parent
0a901a8
commit e9e72a8
Showing
25 changed files
with
511 additions
and
316 deletions.
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
2 changes: 2 additions & 0 deletions
2
...ipelines/public/application/components/pipeline_processors_editor/components/_shared.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,2 @@ | ||
$dropZoneZIndex: 1; /* Prevent the next item down from obscuring the button */ | ||
$cancelButtonZIndex: 2; |
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
50 changes: 45 additions & 5 deletions
50
...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,57 @@ | ||
@import '../shared'; | ||
|
||
.pipelineProcessorsEditor__item { | ||
transition: border-color 1s; | ||
min-height: 50px; | ||
&--selected { | ||
border: 1px solid $euiColorPrimary; | ||
} | ||
|
||
&--displayNone { | ||
display: none; | ||
} | ||
|
||
&--dimmed { | ||
box-shadow: none; | ||
} | ||
|
||
// Remove the box-shadow on all nested items | ||
.pipelineProcessorsEditor__item { | ||
box-shadow: none !important; | ||
} | ||
|
||
&__processorTypeLabel { | ||
line-height: $euiButtonHeightSmall; | ||
} | ||
|
||
&__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; | ||
} | ||
|
||
&__cancelMoveButton { | ||
// Ensure that the cancel button is above the drop zones | ||
z-index: $cancelButtonZIndex; | ||
} | ||
} |
Oops, something went wrong.