jupyterlab-celltags
jupyterlab-celltags copied to clipboard
Looking for input on multiple selection in celltags 1.0
Hi all,
The new version of celltags, currently in progress, will have an updated UI in which clicking on a tag automatically selects the corresponding cells within the notebook (currently, an additional button must be pressed to perform this action). Here is an idea of what this might look like:
I am hoping to get some insight on what users would expect/prefer to happen if, with a tag already selected ("assert"), they clicked another tag (e.g., bootstrap). The main 3 possibilities I am considering are:
- Completely deselects the first tag and only considers the newly clicked tag
- Selects in the document the union of cells (i.e., any cell tagged with either of the tags.)
- Selects in the document the intersection of cells (any cell tagged with both tags). Thanks for your input! @ellisonbg
I would say that for a left-click it should be option 1. However pressing a modifier should probably change this behavior, such that e.g. left-clicking while holding down shift would select the union. I don't know if it is necessary to have option 3 available with a modifier. The best way to handle this, I think, would be to add user settings, such that users who want this behavior can enable it and choose the appropriate modifier(s) if multiple behaviors are enabled.
I agree with @bjtho08 ! left-click = select 1, shift + left-click = select multiple