security-dashboards-plugin icon indicating copy to clipboard operation
security-dashboards-plugin copied to clipboard

[BUG] Investigate and remove duplicate network calls

Open derek-ho opened this issue 1 year ago • 2 comments

What is the bug? The bug is multiple duplicate network calls being made on page load/refresh. We should look into these and remove extra ones or move them to a common place to re-use the information.

How can one reproduce the bug? Reload the page - you will see duplicate calls, ex: Screenshot 2024-03-27 at 9 49 28 AM

What is the expected behavior? Only have one of each call

What is your host/environment?

  • OS: [e.g. iOS]
  • Version [e.g. 22]
  • Plugins

Do you have any screenshots? If applicable, add screenshots to help explain your problem.

Do you have any additional context? Add any other context about the problem.

derek-ho avatar Mar 27 '24 13:03 derek-ho

[Triage] Hi @derek-ho, nice find here. From looking it seems like the dashboardsInfo, tenant, and account calls are duplicated. @derek-ho could you add a full list of any of the other requests which are being duplicated? Then when we have addressed each of those we can close this issue.

stephen-crawford avatar Apr 01 '24 15:04 stephen-crawford

The duplicates are to dashboardsinfo, authinfo, tenant at least for this page.

derek-ho avatar Apr 08 '24 15:04 derek-ho