website-www icon indicating copy to clipboard operation
website-www copied to clipboard

[Live-Site] Add pagination to the kickout logs

Open satyam73 opened this issue 1 year ago • 0 comments

Issue Description

We have to add pagination to the frontend kickout logs section and change the polling interval to 10 secs.

Expected Behavior

The pagination should be there to fetch the logs in chunks and not as a whole. It will help in:

  • Efficiently querying the db with some chunks getting queried each time.
  • Help in efficiently rendering them in frontend.

This issue has two parts:

  • [ ] Add pagination to the logs API.
  • [ ] Add polling interval to 10 seconds.

Current Behavior

Currently there is no pagination on the events logs API on frontend.

Screenshots

N/A

Reproducibility

  • [ ] This issue is reproducible
  • [ ] This issue is not reproducible

Steps to Reproduce

  • Go to /live site with host role.
  • Go to logs tab to see the issue.

Severity/Priority

  • [ ] Critical
  • [ ] High
  • [ ] Medium
  • [ ] Low

Additional Information

  • Logs tab only show to host.

Checklist

  • [ ] I have read and followed the project's code of conduct.
  • [ ] I have searched for similar issues before creating this one.
  • [ ] I have provided all the necessary information to understand and reproduce the issue.
  • [ ] I am willing to contribute to the resolution of this issue.

Thank you for contributing to our project! We appreciate your help in improving it.

satyam73 avatar Nov 23 '23 08:11 satyam73