Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Controls] Options List Selection Management #113489

Closed
ThomThomson opened this issue Sep 29, 2021 · 1 comment · Fixed by #115122
Closed

[Controls] Options List Selection Management #113489

ThomThomson opened this issue Sep 29, 2021 · 1 comment · Fixed by #115122
Labels
Feature:Dashboard Dashboard related features Feature:Input Control Input controls visualization impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. loe:medium Medium Level of Effort Project:Controls Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas

Comments

@ThomThomson
Copy link
Contributor

Options List Control Selection Management

Users may need faster ways to manage or see their selections. Because the typeahead feature allows users to change what appears in the dropdown, and the full text of the entry can potentially be cut off due to the configured control sizing, situations could arise where a user no longer knows what they have selected.

There are three potential changes that we can make to the Options List Control Popover which will help users with this problem:

Show all vs. Show selected

A switch on the top right corner of the popover could allow the users to see only the checked items. Unchecking an item here would remove it from the list. When 0 selections are made, the switch would be greyed out and would automatically switch back to showing the available options.

Here is an example from App Search
Screen Shot 2021-09-29 at 6 06 09 PM

Provide a clear all selections button

A button that quickly clears all selections could be implemented which would allow the user to remove all selections without clicking on each one. This could potentially be implemented in two ways:

Hover mode on selection count The selection count could be made interactive: Hovering would transform the badge into warning color, and place an X icon - interacting would clear all selections. This is more implicit, but could be natural to users. It could potentially also suffer from being too easily pressed.

Screen Shot 2021-09-29 at 6 11 45 PM

Alternatively, a more explicit Clear selections button could be included in the top part of the Options list popover. This may be a better all around solution - but with less pizzaz.

Sort selections towards the top

If items that are selected were always sorted towards the top, users would have an easier time finding their selections.

  • We would need to consider how many selected items to show. If all selected items are shown when no search string is entered it could potentially force the user to scroll to see available (unselected) items when they are trying to select more, if many items are already selected.

  • When the user types a search string they might expect only matching selected items to be included in the dropdown.

@ThomThomson ThomThomson added Feature:Dashboard Dashboard related features Feature:Input Control Input controls visualization Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas loe:medium Medium Level of Effort impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. Project:Controls labels Sep 29, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-presentation (Team:Presentation)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Dashboard Dashboard related features Feature:Input Control Input controls visualization impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. loe:medium Medium Level of Effort Project:Controls Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants