Skip to content

Audit log page makes unncessary API requests #11016

@deansheather

Description

@deansheather

Changing the page number on the audit logs page on the dashboard sends multiple requests to the backend for audit log entries.

It seems like it requests the previous page, the current page, and the next page. The following screenshot were the requests sent after clicking on page 2:
image

The audit log endpoint is not cheap so we should not be hitting it unnecessarily. If the frontend actually does need 75 entries then it should probably just set the limit query param to 75.

Metadata

Metadata

Assignees

Labels

s4Internal bugs (e.g. test flakes), extreme edge cases, and bug riskssiteArea: frontend dashboard

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions