Page MenuHomePhabricator

[Statistics] Order labels the same way as in the Segmentation View
Open, NormalPublic

Description

As mentioned in D906, it would be nice if the ordering of labels in the Statistics View was based on the one in the Segmentation View. At the moment, labels are ordered based on their label value.
For example, when you have a segmentation with

  • Group 0
    • Label 1
  • Group 1
    • Label 2

and add a new label to Group 0, it will look like this:

  • Group 0
    • Label 1
    • Label 3
  • Group 1
    • Label 2

However, when this segmentation is selected in the Statistics View, the labels will be ordered as:

  • Label 1
  • Label 2
  • Label 3

which can lead to confusion, especially with more diverse label names.

Event Timeline

s434n triaged this task as Normal priority.Mar 14 2024, 2:21 PM
s434n created this task.