Dashboard pagination causes full page reloads on self-hosted Cap

Open Beginner friendly
#2,305 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
88/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
nextjs, typescript
Domain
frontend, web-dev

Research direction

Start by reading apps/web/app/(org)/dashboard/caps/components/CapPagination.tsx and packages/ui/src/components/Pagination.tsx, then reproduce the behavior at /dashboard/caps. Update pagination navigation so page changes keep the dashboard shell mounted, and verify that page-number and Next/Previous clicks no longer cause a full page reload.

Written by the indexing model from the issue text.

Description

Description

While testing a migration from Loom to self-hosted Cap, I noticed that pagination in the My Caps dashboard triggers a full page/app reload on every page change. This makes browsing a large video library feel sluggish.

Expected: pagination updates the video list using client-side navigation, keeping the dashboard shell mounted.

Actual: clicking a page number or Next/Previous reloads the whole page.

Reproduction
  1. Open a self-hosted Cap Web instance and sign in.
  2. Have enough recordings in My Caps to display pagination.
  3. Navigate to /dashboard/caps.
  4. Click the next page number or Next/Previous.
  5. Observe a full page reload rather than an in-app transition.
Additional Context
  • Cap version: ghcr.io/capsoftware/cap-web:latest, confirmed against the published image on September 17, 2026.
  • Image build date: September 7, 2026.

The current source appears to explain the behavior:

  • CapPagination.tsx supplies dashboard page URLs to PaginationLink, PaginationNext, and PaginationPrevious.
  • The shared PaginationLink renders an ordinary <a> element rather than using Next.js client-side navigation.

Could dashboard pagination use Next.js Link or equivalent client-side routing so changing pages does not reload the entire app?

Dominant language
Rust
Stars
22.5k
Forks
1.9k
Avg merge
6h 33m
Merged PRs (30d)
77

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from CapSoftware/Cap

All issues in CapSoftware/Cap

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.