~ knotless Search/
↑↓ move↵ open⇧↵ all results

chadtmiller.com/knotless

git that lives in your Atmosphere account

knotless.dev
1 collaborator

knotless 0.17.0 Latest 2 packages, 1 image

1
10

Paginate the commits page

Closed
Closed chadtmiller.com opened this issue 1 comment
kind/featurearea/web

The commits page currently renders the full history in one go, which gets slow and unwieldy on repos with a long history.

Proposal

  • Show a fixed page size (e.g. 50 commits) per page.
  • Add next/previous navigation, ideally cursor-based (start from a commit SHA) rather than offset-based so links stay stable as new commits land.
  • Keep the current branch/ref in the URL alongside the cursor.

Acceptance

  • Large repos load the commits page quickly.
  • Paging forward and back works and is linkable.

Done. The commits page takes a cursor and passes it to listCommits, with an "Older commits" button at the end of the list (web/src/routes/[authority]/[repo]/commits/[...rest]).