rerun-io / rerun

Visualize streams of multimodal data. Free, fast, easy to use, and simple to integrate. Built in Rust.
https://rerun.io/
Apache License 2.0
6.62k stars 335 forks source link

Displayed "merged" view of multi-selection in the selection panel #4251

Open abey79 opened 1 year ago

abey79 commented 1 year ago

We currently support multi-selection. When multiple items are selected, their respective state and properties are displayed one after the other in the Selection Panel.

I'm proposing to consider an alternative where, instead, a single, merged view would be shown. This view would include the union of all states and properties of all selected items, with controls supporting a "mixed" state. For a given property, if all selected items share the same value, the control would display it. Otherwise, the control would display a "mixed" state.

For example, tristate checkbox are sometimes used for that purpose: image

Pros

Cons

abey79 commented 1 year ago

@Wumpf states:

it’s fairly common to have a mode for both: Show up to n elements side by side selected or (usually the default!) merge them into a “single multiselect” that allows you to edit all of them at once