rerun icon indicating copy to clipboard operation
rerun copied to clipboard

Make whether labels are shown a configurable property

Open jleibs opened this issue 2 years ago • 4 comments

We currently have hard-coded threshold of 30 labels for whether to show labels.

These values should just govern a threshold, but whether we show labels our not should be configurable via the UI.

jleibs avatar Sep 25 '23 19:09 jleibs

Related to

  • https://github.com/rerun-io/rerun/issues/4266

Wumpf avatar Jul 03 '24 16:07 Wumpf

Adding a bit of context since this comes up more and more often now: The limit is in place for usecases where labels should show only on hover, most typically this is an issue with large point clouds where it wouldn't make sense to show all labels at once.

I propose to introduce a ShowLabels boolean component that internally has a visualizer-dependent fallback that accounts for this very issue. This may not be the final solution we want to arrive here (e.g. independent archetype is still on the table https://github.com/rerun-io/rerun/issues/4266), but it would be fairly easy to implement and solves the problem at hand that various users run into!

Wumpf avatar Jul 23 '24 07:07 Wumpf

This sounds great -- let's do it.

jleibs avatar Jul 24 '24 18:07 jleibs

Maybe something for @kpreid

emilk avatar Aug 05 '24 14:08 emilk