[EuiComboBox] Clean duplicated values before adding them#8335
[EuiComboBox] Clean duplicated values before adding them#8335tkajtoch merged 7 commits intoelastic:mainfrom
Conversation
| @@ -0,0 +1,3 @@ | |||
| **Bug fixes** | |||
|
|
|||
| - Fixed `EuiComboBox` by cleaning duplicated values when having a delimiter prop. | |||
There was a problem hiding this comment.
While this certainly could be classified as a bug fix, I think we should mark it as a breaking change. This is something customer applications might've been aware of and use in specific ways
|
We should wait to merge this until after next week's release. Next week's release will already be quite large. |
|
Hey @JasonStoltz , sure. Feel free to approve the PR once the release is finished. |
|
FYI I updated the changelog type to |
|
Hi @tkajtoch Thanks, no problem! |
|
We'll merge this PR and release the changes in the next hour :) |
|
Preview staging links for this PR:
|
💚 Build Succeeded
History
|
tkajtoch
left a comment
There was a problem hiding this comment.
Changes look and work great. Thanks for the contribution!
`99.4.0-borealis.0` ⏩ `100.0.0` [Questions? Please see our Kibana upgrade FAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams) --- First of all, 💯 🎉! > [!Warning] > Please note that the [public changelog for EUI v100.0.0](https://github.com/elastic/eui/releases/tag/v100.0.0) is longer than what's included below. > > Kibana has been using Borealis-specific builds of EUI since November last year (suffixed with `-borealis.X`), which were built from a just-merged EUI feature branch. > Since that feature branch just got merged and released with EUI v100.0.0, **the public changelog differs from what Kibana should be concerned about** due to updating from a custom Borealis-enabled version of EUI. > > You can find the list of all (one 👀) changes made between version `99.4.0-borealis.0` and `100.0.0` below. ## [`v100.0.0`](https://github.com/elastic/eui/releases/v100.0.0) **Bug fixes** - Fixed `EuiComboBox` by cleaning duplicated values when having a delimiter prop. ([#8335](elastic/eui#8335)) Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
`99.4.0-borealis.0` ⏩ `100.0.0` [Questions? Please see our Kibana upgrade FAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams) --- First of all, 💯 🎉! > [!Warning] > Please note that the [public changelog for EUI v100.0.0](https://github.com/elastic/eui/releases/tag/v100.0.0) is longer than what's included below. > > Kibana has been using Borealis-specific builds of EUI since November last year (suffixed with `-borealis.X`), which were built from a just-merged EUI feature branch. > Since that feature branch just got merged and released with EUI v100.0.0, **the public changelog differs from what Kibana should be concerned about** due to updating from a custom Borealis-enabled version of EUI. > > You can find the list of all (one 👀) changes made between version `99.4.0-borealis.0` and `100.0.0` below. ## [`v100.0.0`](https://github.com/elastic/eui/releases/v100.0.0) **Bug fixes** - Fixed `EuiComboBox` by cleaning duplicated values when having a delimiter prop. ([elastic#8335](elastic/eui#8335)) Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> (cherry picked from commit 18fa931)
# Backport This is a manual backport of #212974 and #213292 --- `99.3.0-classic.0` ⏩ `100.0.0-classic.0` [Questions? Please see our Kibana upgrade FAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams) --- ## [`v100.0.0`](https://github.com/elastic/eui/releases/v100.0.0) **Bug fixes** - Fixed `EuiComboBox` by cleaning duplicated values when having a delimiter prop. ([#8335](elastic/eui#8335)) ## [`v99.4.0`](https://github.com/elastic/eui/releases/v99.4.0) - Minor design updates to `EuiCollapsibleNavBeta` ([#8332](elastic/eui#8332)) - Allow section without a title - Second-level icons should be horizontally aligned with the top-level icon - Turn off text truncation for nav items - Added `quickSelectButtonProps` to `EuiSuperDatePicker` ([#8380](elastic/eui#8380)) **Bug fixes** - Fixed a bug in `EuiHeader` where the navigation of `EuiCollapsibleNavBeta` would render below the `EuiFlyout`'s overlay ([#8325](elastic/eui#8325)) **Accessibility** - Improved the accessibility of `EuiComboBox` by adding `aria-setsize` and `aria-posinset` to ensure correct information is provided for its virtualized listbox ([#8333](elastic/eui#8333)) - Improved the `EuiAccordionTrigger`'s screen reader UX by passed `aria-hidden` to the `EuiAccordionArrow` to avoid duplicated announcements by screen readers. ([#8342](elastic/eui#8342)) --------- Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
`99.4.0-borealis.0` ⏩ `100.0.0` [Questions? Please see our Kibana upgrade FAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams) --- First of all, 💯 🎉! > [!Warning] > Please note that the [public changelog for EUI v100.0.0](https://github.com/elastic/eui/releases/tag/v100.0.0) is longer than what's included below. > > Kibana has been using Borealis-specific builds of EUI since November last year (suffixed with `-borealis.X`), which were built from a just-merged EUI feature branch. > Since that feature branch just got merged and released with EUI v100.0.0, **the public changelog differs from what Kibana should be concerned about** due to updating from a custom Borealis-enabled version of EUI. > > You can find the list of all (one 👀) changes made between version `99.4.0-borealis.0` and `100.0.0` below. ## [`v100.0.0`](https://github.com/elastic/eui/releases/v100.0.0) **Bug fixes** - Fixed `EuiComboBox` by cleaning duplicated values when having a delimiter prop. ([elastic#8335](elastic/eui#8335)) Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Summary
Closes #8334
This PR updates EuiComboBox by cleaning duplicated values when having a delimiter prop.
QA
Demo
demo.mov
General checklist
Added documentationProps have proper autodocs (using@defaultif default values are missing) and playground togglesChecked Code Sandbox works for any docs examplesIf applicable, added the breaking change issue label (and filled out the breaking change checklist)If applicable, file an issue to update EUI's Figma library with any corresponding UI changes. (This is an internal repo, if you are external to Elastic, ask a maintainer to submit this request)