Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Input Control visualization (elastic#13314)
* react editor example * ensure props are not updated * use new stageEditorParams method to stage parameter changes * make component stateless * use terms_vis_editor component * get add button to work * update vis controller to display terms input controls * update componenent when query bar updates * add functional test * lay ground work for different control types in single visulization * make editors for range and text controls * text control * implement type ahead suggestor for text control * add range slider * some CSS work * add submit button, move control init functionallity under control_factory * add custom options for control types * provide buttons to move controls up and down * Make ControlEditor component and clean up styling of editor * styling work * multi select for terms dropdown control * add option to disable filter staging, only enable submit button when filters are staged * clean up range styling * rename top level vis folder * cleanup * move control type select out of each control editor * dark theme styling * use ui/public/filter_manager/lib/phrases.js to build phrases filter, add tests to range filter manager * use savedObjectsClient to get index patterns * remove text control and add id to controls for react tracking * ensure fields get updated when index pattern changes * update PropTypes for react 15.6.1 * update to latest react-select to avoid isMounted deprecation warnings * fix input controls functional test * rename termsControl to listControl to be more generic * add function test for clear button, refactor directory structure * functional tests for updateFiltersOnChange is true * fix react-select clipping problem in dashboard * try clicking option instead of pressing enter to set react-select value in functional tests * react-select css * clean up control_editor component, make ListControlEditor component be function * add jest test for vis_editor component and accessibility * add decimal places option to range slider * add jest test for InputControlVis component * add default to switch blocks, split editor into seperate tabs, use shallow in snapshot tests * fix race condition in field_select, update index_pattern_select to fetch indexPatterns on each filter * clean up control initialization * use htmlIdGenerator to avoid html element id conflicts * update functional test to support new editor tabs * finish jest tests for sub componenets * mark vis as experimental, refactor buttons for better usability * fix bug in list control where unable to select options containing numbers and options containing commas. Truncate display of long list options * fix chart types functional test * fix jest tests, add margin to action buttons * remove binds from render functions * experement with native input range sliders * Revert "experement with native input range sliders" This reverts commit aed599e. * Use Promise.resolve in tests and replace _createRequest with searchSource.fetch * add inputs to range control
- Loading branch information