Skip to content

feat(app): paginate activity list (fixes #160) - #268

Open
onajidavid87-web wants to merge 3 commits into
tributary-protocol:mainfrom
onajidavid87-web:main
Open

feat(app): paginate activity list (fixes #160)#268
onajidavid87-web wants to merge 3 commits into
tributary-protocol:mainfrom
onajidavid87-web:main

Conversation

@onajidavid87-web

@onajidavid87-web onajidavid87-web commented Jul 17, 2026

Copy link
Copy Markdown

Add usePagination hook with auto-reset and page clamping. Activity component now renders 10 items per page with Prev/Next controls. CSV export still covers all items.

Set up Vitest + Testing Library test infrastructure. Added 19 tests (10 hook unit tests, 9 component tests).
Closes #160

Checklist

  • cargo fmt --all and cargo clippy --all-targets -- -D warnings pass
  • cargo test passes
  • New behavior has tests
  • Linked issue, if there is one

Add usePagination hook with auto-reset and page clamping. Activity component now renders 10 items per page with Prev/Next controls. CSV export still covers all items.

Set up Vitest + Testing Library test infrastructure. Added 19 tests (10 hook unit tests, 9 component tests).
@Spagero763

Copy link
Copy Markdown
Contributor

web fails to build: Cannot find name 'useTranslation' in src/components/Activity.tsx:17. Looks like the useTranslation import is missing from that file.

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.

Paginate or virtualize the activity list

2 participants