rusackas commented on pull request #14486:
URL: https://github.com/apache/superset/pull/14486#issuecomment-834654966


   > > It is possible to add a tooltip to the "+4..." pill to display all 
remaining items?
   > 
   > @ktmud I liked the idea. If we have few values it's easy to check the 
remaining items. If we have a bunch of values the user can click on the select 
and search for a specific value.
   
   It seems that where this gets difficult is not when we're in a `+4` 
situation, but when we're in a `+104` situation. 
   
   For _most_ use cases, I'd bet the select menu isn't absurdly long, and the 
list of checked/selected items isn't absurdly long either. In that case, 
clicking the `+𝒙` and popping open the select menu to view/add/remove items 
from the selection seems perfectly acceptable.
   
   However, with LOTS of selections from LOTS of options (let's say, cities in 
the US... and you've selected 90 of them) then we have a bigger problem. For 
_that_ I see multiple potential approaches:
   
   1) When you click the `+𝒙` it opens the select menu, with two new features:
    • Selected items at the top
    • A search input to find a specific option to (de)select
    • A tooltip on the `+𝒙` to show a lightweight list of items contained 
therein
   
   2) Leave the select menu as-is (maybe add the search anyway), but add an 
interactive popover to the `+𝒙` item.
    • Popover would contain the remaining list of selected values.
    • Each value in that list would have a little 🅧 button next to it to remove 
the selection, just like the other tag/label selections  that precede the `+𝒙`
   
   3) Both?
   
   Not sure if this makes sense - happy to draw up wireframes if it helps 
explain (perhaps with @mihir174)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to