ElasticHQ / elasticsearch-HQ

Monitoring and Management Web Application for ElasticSearch instances and clusters.

Home Page:http://www.elastichq.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

node free space table sorting does not respect units

dekimsey opened this issue · comments

General information

  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux
  • ElasticHQ Version: 3.5.12
  • Elasticsearch Version: 6.8
  • Python version (ignore is using docker image):
  • Browser Vendor and Version (if applicable): Firefox

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. ;-)