Skip to content

Pagination Part 2 - #308

Merged
willchen96 merged 6 commits into
Open-Legal-Products:mainfrom
amay0048:pagination-2
Aug 12, 2026
Merged

Pagination Part 2#308
willchen96 merged 6 commits into
Open-Legal-Products:mainfrom
amay0048:pagination-2

Conversation

@amay0048

Copy link
Copy Markdown
Contributor

Summary

This implements pagination across the remaining main list views.

Why / Motivation

This lets the UI support larger datasets through loading parts of the data set as needed for the view.

Changes

The pagination pattern approved in the first branch has been implemented across the other views. The exception is the file view which loads folder child content when clicked, rather than using a batching call with scroll.

Tradeoffs & risks

Similar considerations to the previous design pass for the initial pagination implementation. Re: files - if there are large sets of files in the root or in a single folder, the current solution will be sub-optimal, as it fetches these in a single hit.

How verified

Verified with local smoke testing on the ui using seed data generated with sql scripts.

Checklist

  • [ x] Ran the relevant build/test command for the area changed.
  • [ x] Reviewed git diff and removed unrelated changes.
  • [ x] Updated docs / env examples if setup, config, or behavior changed.
  • [ x] No secrets, API keys, real documents, or .env files committed.

@willchen96
willchen96 marked this pull request as ready for review August 12, 2026 09:43
@willchen96
willchen96 merged commit 26f4597 into Open-Legal-Products:main Aug 12, 2026
9 checks passed
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.

2 participants