GlListbox > Align header action with Pajamas specs
In gitlab-org/gitlab-services/design.gitlab.com!3346 (merged), we are making a few clarifications regarding a listbox's actions. Specifically, the action that can be added to the header becomes a bit more versatile. Currently, it only supports a "Reset" action. We'll want to change this to allow for any selection state change, which probably only includes "reset" and "select all" unless we are planning on doing funnier things like inverting the selection, but that's not GitLab UI's concern.
-
Make the resetButtonLabel
prop, and all associated code, more generic. -
Revisit the condition that shows/hide the button. We might want to remove some of the built-in logic to let the consumer control the visibility more. -
Keep dropdown open when a header action/button is clicked
Edited by Annabel Dunstone Gray