ElasticHQ / elasticsearch-HQ

Monitoring and Management Web Application for ElasticSearch instances and clusters.
http://www.elastichq.org
Other
4.96k stars 528 forks source link

node free space table sorting does not respect units #532

Open dekimsey opened 3 years ago

dekimsey commented 3 years ago

General information

Issue Description

The free space column in the Nodes list doesn't handle units correctly. The sorting is ... ineffective. I looked at adding the necessary ts configuration but I wasn't sure what direction it should be done (in the Javascript as a comparison function on table-sorter, or instead have the cat API to request raw numbers and make the ui add the units instead). Also, I'm not a react person, so there'd be a learning curve.

Source Code / Logs

image

Be Patient

I have a day job. ;-)