-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove react-select from kibana #18876
Conversation
d6967b4
to
742f1a0
Compare
💔 Build Failed |
💔 Build Failed |
9c849d4
to
fa629f3
Compare
💔 Build Failed |
7d39e77
to
9a450dc
Compare
💚 Build Succeeded |
344884d
to
b82070b
Compare
💔 Build Failed |
b82070b
to
1e07f0f
Compare
💚 Build Succeeded |
I find EuiComboBox a bit weird when there is only one value allowed in it. Maybe a separate clean up that could be done in EUI directly... Hitting the |
I wish we had better tests for TSVB stuff, most of these calculations mean nothing to me so I can only compare against existing version. Anyway, I think I notice something that changed and is wrong in this version. The |
if (pipeline) { | ||
note = ( | ||
<span className="vis_editor__agg_select-note"> | ||
(requires child aggregation) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this isn't migrated to the new code. We okay with that? I'd say the pros far outweigh the cons on losing this little help text, just want to point it out.
options={durationOutputOptions} | ||
<EuiComboBox | ||
isClearable={false} | ||
options={durationInputOptions} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any reason why you changed this from outputOptions to inputOptions? Looks like previously we didn't want pico,nano or micro as an output option (no idea why...)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was removed by accident. I will replace with the original options list.
@stacey-gammon That is a bug introduced in the latest version of EUI(elastic/eui#829). I have a PR out that will fix the problem so the |
@stacey-gammon Looks like I was not setting |
💔 Build Failed |
looks like unrelated functional test error
jenkins, test this |
💚 Build Succeeded |
b332b5c
to
bd10dec
Compare
💚 Build Succeeded |
@stacey-gammon I have updated kibana with a new version of EUI that fixes the problems you found. This PR is ready for another look |
await input.clearValue(); | ||
await input.type(value); | ||
await find.clickByCssSelector('.euiComboBoxOption'); | ||
await this.closeComboBoxOptionsList(comboBox); | ||
await remote.pressKeys('\uE004'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉 I like when we can remove stuff like that :D
bd10dec
to
d1c3a2d
Compare
💔 Build Failed |
Looks like unrelated discover test failure
jenkins, test this |
cc @Bargs ^^ looks like that flaky discover test was hit above, if you want to take a look at the debug output. |
Don't worry about that test too much, I removed the test altogether in the Inspector PR already, since it relied on a the spy panel in discover which doesn't exist anymore. |
💚 Build Succeeded |
* remove react-select from AggSelect * update field_select to use EuiComboBox * metric_select * moving_average * percentile * series_agg * std_deviation * removing some more react-select instances * icon_select and group_by_select * gauge type * markdown * set isClearable prop * remove react-select from timeseries config * remove react-select from timeseries panel options * remove react select from terms * remove react-select from table config * remove react-select from data_format_picker * fix create_select_handler mocha test * remove react-select from kibana * update tsvb functional tests * set isDisabled prop on EuiComboBox where disabld prop was set for Select * use durationOutputOptions for duration 'to' options
* remove react-select from AggSelect * update field_select to use EuiComboBox * metric_select * moving_average * percentile * series_agg * std_deviation * removing some more react-select instances * icon_select and group_by_select * gauge type * markdown * set isClearable prop * remove react-select from timeseries config * remove react-select from timeseries panel options * remove react select from terms * remove react-select from table config * remove react-select from data_format_picker * fix create_select_handler mocha test * remove react-select from kibana * update tsvb functional tests * set isDisabled prop on EuiComboBox where disabld prop was set for Select * use durationOutputOptions for duration 'to' options
Replace react-select with EuiComboBox in TSVB