trinodb / trino-gateway

https://trinodb.github.io/trino-gateway/
Apache License 2.0
122 stars 47 forks source link

Fix UI element reordering in the `/cluster` WebUI #387

Closed oneonestar closed 1 week ago

oneonestar commented 2 weeks ago

Description

Fix #331

UI render the cluster elements using the result from /webapp/getAllBackends. The result from /webapp/getAllBackends doesn't guarantee the order of the clusters. Sorting the clusters before rendering solves the issue.

Release notes

(x) Release notes are required, with the following suggested text:

* Fix cluster reordering issue in the `/cluster` WebUI