Skip to content

Conversation

@jasperbruin
Copy link
Contributor

@jasperbruin jasperbruin commented Jan 13, 2026

Implements table pagination in SnapshotsListTemplate component to address performance issues when displaying 1000+ reports. Previously, the UI rendered all reports at once causing significant slowdown with large datasets.
Changes:

  • Add pagination state management (page, rowsPerPage)
  • Implement paginatedSnapshots to slice filtered results
  • Add TablePagination component with custom navigation controls
  • Reset pagination when filters change

Fixes #1795

Implements table pagination in SnapshotsListTemplate component to address performance issues when displaying 1000+ reports. Previously, the UI rendered all reports at once causing significant slowdown with large datasets.
Changes:

Fixes evidentlyai#1795
@jasperbruin jasperbruin changed the title Add pagination to reports table to fix UI performance fix: Add pagination to reports table to fix UI performance Jan 14, 2026
@DimaAmega
Copy link
Collaborator

Hello @jasperbruin

Thanks for your contribution

In General LGTM! But I think it would be better to have TablePagination above the list as well (see the screenshot below).
Implement this, and I'll merge

image

@DimaAmega DimaAmega merged commit ccf2641 into evidentlyai:main Jan 22, 2026
12 checks passed
@DimaAmega
Copy link
Collaborator

DimaAmega commented Jan 22, 2026

Note: you need to run full-build (see here) and commit it as well to actually apply the changes.

By the way, i should update our contributing docs to include this requirement
But right now i will do this in separate PR!
Thanks!

@jasperbruin
Copy link
Contributor Author

Thank you @DimaAmega! I will do that in the future :).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

UI Performance Issue with Large Number of Reports (5000+)

2 participants