-
Notifications
You must be signed in to change notification settings - Fork 858
Description
β¨ Summary
Following different "unification" (one-ification?) initiatives organization-wide (like One Discover), an idea has come up to also try and unify the Select Control offering in EUI.
The purpose of this epic is to define the API (exact or direction) of such "OneSelect" component, to enable its development.
β Problem or Opportunity
There are 4 different select-kind of controls in EUI: Basic select, Super select, Combobox and Selectable; yet some use cases are not covered, and it can be confusing for folks (for designers as well, not only developers) to decide which one might be the best options for they use case.
A recent example of a use case not covered by the available options is multiple selection with a customizable input (screenshot below). The workaround involved using EuiPopover with a custom button and EuiSelectable.
π― Value
Should improve cross-product consistency (e.g. having 3 different popovers on a single toolbar in Kibana is not desirable).
Should also heavily improve design/code parity and design/development workflows.
π― Urgency
It's causing friction among consumers and maintainers but also not contributing to overall product consistency.
π§ Feasibility & Direction
We need to do: (a) research, in order to have clarity in terms of requirements (b) deliver a plan with an API that is long-lasting and fulfills all requirements
β Open Questions to answer
~
Related
- [EuiComboBox] Rebuild with EuiSelectableΒ #2841
- https://github.com/elastic/eui-private/discussions/342
- The Ultimate Guide to EUI Selection ComponentsΒ #7049
- Define customizable
<select>
Β whatwg/html#10548 / https://developer.chrome.com/blog/a-customizable-select
Notes/ideas
- Benchmark other design systems/components libraries (we could define a "standard" list of systems we want to benchmark against)