Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make monitoring Index tab sort Status by ascending/descending severity of Status #50394

Open
adoerrES opened this issue Nov 12, 2019 · 3 comments
Labels
bug Fixes for quality problems that affect the customer experience Feature:Stack Monitoring Team:Monitoring Stack Monitoring team

Comments

@adoerrES
Copy link

Describe the feature:
Kibana Monitoring sorting

Describe a specific use case for the feature:

In 7.4.1 a user expected that sorting indices by Status column on the Indices monitoring tab of Kibana would sort by status level e.g:

green (good),
yellow (worse),
red (worst)

...and vice versa. But it appears we sort the column alphabetically by color name (or some other way), so it is ordered:

yellow (worse),
red (worst),
green (good).

...and vice versa. Screenshot attached of the undesirable order.
Screen Shot 2019-11-08 at 1 44 51 PM

The user expected the sort to be ordered by the ascending/descending severity of status, not by the order of the color names, as it makes it hard to organize which indices are in a questionable/bad state.

@igoristic igoristic added the Team:Monitoring Stack Monitoring team label Nov 12, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/stack-monitoring (Team:Monitoring)

@igoristic
Copy link
Contributor

Worth noting that column's .sortable property can also take methods (besides booleans), so it might look something like this:

field: 'status',
sortable: ({ status }) => ({ gray: 1, green: 2, yellow: 3, red: 4 }[status]),
render:...

I guess this would apply to all columns that use <StatusIcon> directly (or as a child)

@igoristic igoristic added the enhancement New value added to drive a business result label Nov 12, 2019
@smith smith added bug Fixes for quality problems that affect the customer experience Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services and removed enhancement New value added to drive a business result Team:Monitoring Stack Monitoring team labels Feb 27, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/infra-monitoring-ui (Team:Infra Monitoring UI)

@smith smith added Team:Monitoring Stack Monitoring team and removed Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services labels Nov 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Stack Monitoring Team:Monitoring Stack Monitoring team
Projects
None yet
Development

No branches or pull requests

4 participants