Skip to content

[Epic] Unification of select controlsΒ #8808

@acstll

Description

@acstll

✨ 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.

Image

🎯 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

Notes/ideas

  • Benchmark other design systems/components libraries (we could define a "standard" list of systems we want to benchmark against)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions