Dashboard pagination causes full page reloads on self-hosted Cap
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 88/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- nextjs, typescript
调研方向
先阅读 apps/web/app/(org)/dashboard/caps/components/CapPagination.tsx 和 packages/ui/src/components/Pagination.tsx,然后在 /dashboard/caps 复现该行为。更新分页导航,使页面切换时 dashboard shell 保持挂载,并验证点击页码和 Next/Previous 不再导致整页重新加载。
由索引模型根据 Issue 内容生成。
描述
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
- Open a self-hosted Cap Web instance and sign in.
- Have enough recordings in My Caps to display pagination.
- Navigate to
/dashboard/caps. - Click the next page number or Next/Previous.
- 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.tsxsupplies dashboard page URLs toPaginationLink,PaginationNext, andPaginationPrevious.- The shared
PaginationLinkrenders 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?
- 主要语言
- Rust
- 星标
- 22.5k
- 派生
- 1.9k
- 平均合并
- 6 小时 33 分钟
- 30 天内合并 PR
- 77
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
CapSoftware/Cap 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
CapSoftware/Cap#1714 · 3 条评论 ·
-
难度 3/5 1-2 天 新手友好度 67/100
CapSoftware/Cap#2324 · 1 条评论 ·
-
bug
难度 4/5 3-5 天 新手友好度 38/100
CapSoftware/Cap#2323 · 1 条评论 ·
-
bug
难度 3/5 1-2 天 新手友好度 35/100
CapSoftware/Cap#2311 · 2 条评论 ·
-
bug
难度 4/5 3-5 天 新手友好度 25/100
CapSoftware/Cap#2310 · 2 条评论 ·
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug
难度 2/5 1-3 小时 新手友好度 68/100
gitbutlerapp/gitbutler#15998 · 1 条评论 ·
-
bug triage:deciding
难度 1/5 1 小时以内 新手友好度 88/100
open-telemetry/otel-arrow#4132 ·
-
难度 2/5 1-3 小时 新手友好度 88/100
-
难度 2/5 1-3 小时 新手友好度 84/100