kibana/test
Felix Stürmer eb40f7d249 Factor out column manipulation in the doc table (#11006)
Backports PR #10681

* Factor out column manipulation in the doc table

This refactoring effort turns the implicit manipulation of the set of
columns that was scattered throughout the doc table and the field
chooser into explicit function calls. This brings with it the following
improvements:

* The column manipulation code is not duplicated (DRY)
* The controller stays in control (IOC)
* If the required functions are not provided by the controller,
  manipulation of the columns is disabled.

Additionally, the `discover_field` now uses a properly isolated scope
instead of accessing inherited properties of the scope.

* Make filter addition and removal in tests more reliable

* Change function name to plural, move up ng-if

* Remove inconsistent variable initialization

* Fix function name typo

* Save the state in the action instead of a $watch
2017-04-04 01:02:09 +02:00
..
dev_certs [devServer] include self-signed certificates for testing 2016-01-19 14:19:25 -07:00
fixtures [backport/5.x] [eslint] enable no-undef rule - #10825 (#10846) 2017-03-22 11:13:19 -07:00
functional Backport: [5.x] Geocentroid / tilemap bug fixes (#10927) 2017-03-29 14:52:46 -04:00
screenshots/baseline Update baseline screenshots with loaded CSS. 2016-06-14 09:37:05 -07:00
scripts build: always run build task in jenkins (#10695) 2017-03-03 13:21:06 -05:00
support Factor out column manipulation in the doc table (#11006) 2017-04-04 01:02:09 +02:00
unit/api [backport/5.x] [eslint] enable no-undef rule - #10825 (#10846) 2017-03-22 11:13:19 -07:00
utils [backport/5.x] [eslint] enable no-undef rule - #10825 (#10846) 2017-03-22 11:13:19 -07:00
visual_regression [backport/5.x] [eslint] enable no-undef rule - #10825 (#10846) 2017-03-22 11:13:19 -07:00
intern.js Try to fix another staleElementReference in data table test 2016-07-01 17:40:01 -05:00
intern_api.js Add a new GET script languages API endpoint 2016-08-29 11:26:27 -04:00
intern_visual_regression.js Create visual_regression test suite. 2016-06-21 20:50:55 -07:00
mocha.opts [mochaOpts] use full option name 2016-01-13 16:51:29 -07:00
mocha_setup.js babel 6 upgrade (#9702) (#10278) 2017-02-10 02:14:06 -07:00
server_config.js Show event context (#10513) 2017-02-22 19:06:02 +01:00
shield.js Port #8880 to master Support Cloud testing (#8917) 2016-11-01 11:27:51 -05:00