-
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
* update jest tests as best as possible - found some bugs that need to be addressed * use EuiAccordion to hide/show control editor * set control editor to be open on load * small changes * fix editor jest tests * update visualization components to EUI * fix jest tests and updated range control to EUI * fix bug in range control input logic * fix button layout * fix dashboard grid resize test * add space between panels, change button order, switch to sort icons * remove style attribute from component, fix spelling of id
- Loading branch information
Showing
25 changed files
with
1,001 additions
and
824 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
98 changes: 36 additions & 62 deletions
98
...plugins/input_control_vis/public/components/editor/__snapshots__/options_tab.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 |
---|---|---|
@@ -1,67 +1,41 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`renders OptionsTab 1`] = ` | ||
<div> | ||
<div | ||
className="sidebar-item" | ||
<EuiForm> | ||
<EuiFormRow | ||
fullWidth={false} | ||
hasEmptyLabelSpace={false} | ||
id="updateFiltersOnChange" | ||
> | ||
<div | ||
className="vis-editor-agg-header" | ||
> | ||
<KuiFieldGroup | ||
isAlignedTop={false} | ||
> | ||
<KuiFieldGroupSection | ||
isWide={false} | ||
> | ||
<KuiCheckBoxLabel | ||
data-test-subj="inputControlEditorUpdateFiltersOnChangeCheckbox" | ||
isChecked={false} | ||
isDisabled={false} | ||
onChange={[Function]} | ||
text="Update Kibana filters on each change" | ||
/> | ||
</KuiFieldGroupSection> | ||
</KuiFieldGroup> | ||
</div> | ||
<div | ||
className="vis-editor-agg-header" | ||
> | ||
<KuiFieldGroup | ||
isAlignedTop={false} | ||
> | ||
<KuiFieldGroupSection | ||
isWide={false} | ||
> | ||
<KuiCheckBoxLabel | ||
data-test-subj="inputControlEditorUseTimeFilterCheckbox" | ||
isChecked={false} | ||
isDisabled={false} | ||
onChange={[Function]} | ||
text="Use time filter" | ||
/> | ||
</KuiFieldGroupSection> | ||
</KuiFieldGroup> | ||
</div> | ||
<div | ||
className="vis-editor-agg-header" | ||
> | ||
<KuiFieldGroup | ||
isAlignedTop={false} | ||
> | ||
<KuiFieldGroupSection | ||
isWide={false} | ||
> | ||
<KuiCheckBoxLabel | ||
data-test-subj="inputControlEditorPinFiltersCheckbox" | ||
isChecked={false} | ||
isDisabled={false} | ||
onChange={[Function]} | ||
text="Pin filters to global state" | ||
/> | ||
</KuiFieldGroupSection> | ||
</KuiFieldGroup> | ||
</div> | ||
</div> | ||
</div> | ||
<EuiSwitch | ||
checked={false} | ||
data-test-subj="inputControlEditorUpdateFiltersOnChangeCheckbox" | ||
label="Update Kibana filters on each change" | ||
onChange={[Function]} | ||
/> | ||
</EuiFormRow> | ||
<EuiFormRow | ||
fullWidth={false} | ||
hasEmptyLabelSpace={false} | ||
id="useTimeFilter" | ||
> | ||
<EuiSwitch | ||
checked={false} | ||
data-test-subj="inputControlEditorUseTimeFilterCheckbox" | ||
label="Use time filter" | ||
onChange={[Function]} | ||
/> | ||
</EuiFormRow> | ||
<EuiFormRow | ||
fullWidth={false} | ||
hasEmptyLabelSpace={false} | ||
id="pinFilters" | ||
> | ||
<EuiSwitch | ||
data-test-subj="inputControlEditorPinFiltersCheckbox" | ||
label="Pin filters to global state" | ||
onChange={[Function]} | ||
/> | ||
</EuiFormRow> | ||
</EuiForm> | ||
`; |
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
Oops, something went wrong.