-
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.
- Loading branch information
Showing
21 changed files
with
1,244 additions
and
601 deletions.
There are no files selected for viewing
601 changes: 387 additions & 214 deletions
601
src/ui/public/field_editor/__snapshots__/field_editor.test.js.snap
Large diffs are not rendered by default.
Oops, something went wrong.
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
134 changes: 0 additions & 134 deletions
134
...public/field_editor/components/scripting_call_outs/__snapshots__/help_flyout.test.js.snap
This file was deleted.
Oops, something went wrong.
113 changes: 0 additions & 113 deletions
113
src/ui/public/field_editor/components/scripting_call_outs/help_flyout.js
This file was deleted.
Oops, something went wrong.
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
48 changes: 48 additions & 0 deletions
48
src/ui/public/field_editor/components/scripting_help/__snapshots__/help_flyout.test.js.snap
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,48 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`ScriptingHelpFlyout should render normally 1`] = ` | ||
<EuiFlyout | ||
data-test-subj="scriptedFieldsHelpFlyout" | ||
hideCloseButton={false} | ||
onClose={[Function]} | ||
ownFocus={false} | ||
size="m" | ||
> | ||
<EuiFlyoutBody> | ||
<EuiTabbedContent | ||
initialSelectedTab={ | ||
Object { | ||
"content": <Unknown />, | ||
"data-test-subj": "syntaxTab", | ||
"id": "syntax", | ||
"name": "Syntax", | ||
} | ||
} | ||
tabs={ | ||
Array [ | ||
Object { | ||
"content": <Unknown />, | ||
"data-test-subj": "syntaxTab", | ||
"id": "syntax", | ||
"name": "Syntax", | ||
}, | ||
Object { | ||
"content": <TestScript | ||
executeScript={[Function]} | ||
indexPattern={Object {}} | ||
lang="painless" | ||
name="myScriptedField" | ||
script={undefined} | ||
/>, | ||
"data-test-subj": "testTab", | ||
"id": "test", | ||
"name": "Preview results", | ||
}, | ||
] | ||
} | ||
/> | ||
</EuiFlyoutBody> | ||
</EuiFlyout> | ||
`; | ||
|
||
exports[`ScriptingHelpFlyout should render nothing if not visible 1`] = `""`; |
Oops, something went wrong.