opensearch-project / security-dashboards-plugin

🔐 Manage your internal users, roles, access control, and audit logs from OpenSearch Dashboards

Home Page:https://opensearch.org/docs/latest/security-plugin/index/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] Investigate and remove duplicate network calls

derek-ho opened this issue · 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.

[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.

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