Skip to content

[Lens] Improve sorting for aggs with custom labels #88172

@dej611

Description

@dej611

Describe the feature:

Currently the range sorting works leveraging the interval/range informations about lower and upper boundaries.
But ranges can have also custom labels, and ignoring them may be confusing:

Screenshot 2021-01-13 at 14 37 19

It would be nice to have a defined strategy for ranges with custom labels (which can also be the current one to ignore he label btw).
The same applies also for filter aggs with custom labels:

Screenshot 2021-01-13 at 14 40 02

In this case the query string is used for sorting, but it has the same confusing behaviour.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature:LensTeam:VisualizationsTeam label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t//enhancementNew value added to drive a business resultimpact:needs-assessmentProduct and/or Engineering needs to evaluate the impact of the change.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions