trento icon indicating copy to clipboard operation
trento copied to clipboard

Optimize loading Check catalogs and settings in the UI

Open nelsonkopliku opened this issue 3 years ago • 0 comments

Loading the Connection settings and Checks selection in the Cluster Detail page is the result of 2 http requests the frontend makes to the APIs.

GET /api/checks/:clusterId/settings and GET /api/checks/catalog

Those requests are made at different points in time:

  • when the page is loaded
  • when we click on the settings button
  • when we close the modal without saving changes
  • after we saved the settings

we can reduce the number of http requests made at certain points when they're not strictly needed.

Let's define when those are needed and when we can avoid.

image

nelsonkopliku avatar Nov 12 '21 11:11 nelsonkopliku