kibana/src
Trevor Pierce dba055c654
Replace Inspector's EuiPopover with EuiComboBox (#113566)
* Replacing EuiPopover with EuiComboBox

* The combobox will help alleviate issues when the list of options is very long

* Refactoring the Combobox to listen for change events

* Added an onChange handler
* Renamed the method to render the combobox
* Commented out additional blocks of code before final refactor

* Finished refactoring the Request Selector to use EUI Combobox

* Removed three helper methods for the EUIPopover.
  * `togglePopover()`
  * `closePopover()`
  * `renderRequestDropdownItem()`
* Removed the local state object and interface (no longer needed)
* Renamed the const `options` to `selectedOptions` in `handleSelectd()`
  method to better reflect where the options array was coming from.

* Updating tests and translations

* Fixed the inspector functional test to use comboBox service
* Removed two unused translations

* Updating Combobox options to pass data-test-sub string

* Updated two tests for Combobox single option
* Updated the test expectations to the default string
* Both tests were looking for a named string instead of a default
  message

* Adding error handling to Inspector combobox
* Checking for the item status code
* Adding a " (failed)" message if the status code returns `2`
* Updating test to look for "Chart_data" instead of "Chartdata"

* Updating two tests to validate single combobox options
* Added helper method to check default text against combobox options
* Added helper method to get the selected combobox option
* Checking two inspector instances using helpers

* Adding a defensive check to helper method.

* Correct a type error in test return

* Adding back translated failLabel

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Nathan L Smith <smith@nlsmith.com>
2021-10-18 11:41:53 -05:00
..
cli Add API integration tests for Interactive Setup. (#111879) 2021-10-14 20:14:01 +02:00
cli_encryption_keys [DX] Upgrade prettier to v2.4.0 (#112359) 2021-09-19 22:34:30 -07:00
cli_keystore [keystore] Fix input masking (#108415) 2021-08-16 17:08:17 -05:00
cli_plugin [plugin cli] Remove settings argument from warnings log (#101824) 2021-06-10 12:03:37 -05:00
cli_verification_code Verification code CLI (#111707) 2021-09-14 21:58:25 +01:00
core Update security deprecation messages (#115241) 2021-10-18 11:34:13 -04:00
dev Prevent Spaces from being disabled (#115283) 2021-10-18 16:17:04 +01:00
docs
fixtures/telemetry_collectors [maps] remove xpack.maps.showMapVisualizationTypes (#105979) 2021-08-24 10:46:40 -06:00
plugins Replace Inspector's EuiPopover with EuiComboBox (#113566) 2021-10-18 11:41:53 -05:00
setup_node_env Bump node to 16.11.1 (#110684) 2021-10-16 16:21:58 -05:00