You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As we're slowly starting to roll out new versions of existing components, we want to start gathering feedback on what changes, improvements, and new features we'd like to see applied to such components.
While we initially focused on Tooltip (shipped), Tabs (almost ready), and DropdownMenu (still WIP), we think that the next batch of components that we'll focus on is going to be CustomSelectControl, ComboboxControl and FormTokenField.
We see these three components as related:
CustomSelectControl is the first component in the group that we'll focus on, since it is the simplest of the three;
ComoboxControl will come after, since it kind of builds on CustomSelectControl and adds a text input to search through the options;
FormTokenField will be the last component of the group, as it's the most complex, and kinda builds on top of ComboboxControl, adding the token "chips".
Note
Given how closely related to each other these components are, I believe that we should consider designing those three components together.
Tip
Also, please note that at this point in time, we can't offer estimates of when we'd be able to start working on those components, as we're still going through a learning phase with the DropdownMenu rewrite.
Feedback
I will update this section as we gather feedback.
Make the token component support non-text elements, like images (source)
Make the token component support non-text elements, like images (source)
Either via slot + subcomponents, or via a function/render prop? Same as CustomSelectControl V2 with renderSelectedValue
Context
As we're slowly starting to roll out new versions of existing components, we want to start gathering feedback on what changes, improvements, and new features we'd like to see applied to such components.
While we initially focused on
Tooltip(shipped),Tabs(almost ready), andDropdownMenu(still WIP), we think that the next batch of components that we'll focus on is going to beCustomSelectControl,ComboboxControlandFormTokenField.We see these three components as related:
CustomSelectControlis the first component in the group that we'll focus on, since it is the simplest of the three;ComoboxControlwill come after, since it kind of builds onCustomSelectControland adds a text input to search through the options;FormTokenFieldwill be the last component of the group, as it's the most complex, and kinda builds on top ofComboboxControl, adding the token "chips".Note
Given how closely related to each other these components are, I believe that we should consider designing those three components together.
Tip
Also, please note that at this point in time, we can't offer estimates of when we'd be able to start working on those components, as we're still going through a learning phase with the
DropdownMenurewrite.Feedback
I will update this section as we gather feedback.
CustomSelectControlV2 withrenderSelectedValueFormTokenFieldsuggestions to use keywords #33334)maxLength#42773FormTokenFieldto be selected and copied #35940cc @WordPress/gutenberg-components @WordPress/gutenberg-design