This repository was archived by the owner on Jun 5, 2025. It is now read-only.
This repository was archived by the owner on Jun 5, 2025. It is now read-only.
Add pagination to endpoints that read entire tables (alerts/messages) #1020
Closed
Description
@danbarr has made frequent reports that the dashboard is very slow to load on his machine, including here stacklok/codegate-ui#300
The root cause is that his local DB has been in use since December, and has thousands of records in the alerts & messages table.
The request here is to devise a method of pagination for /alerts
& /messages
and implement it. I'm not sure that this ranks highly against our other priorities, but recording it for posterity.