Problem
The Vouch page fetches all vouch requests and active vouches at once with no pagination. As the platform grows, mentors with many requests/active vouches will experience slow page loads.
User impact: Slow page load for mentors with many vouch requests.
Root Cause
The vouch service and page were built without pagination support.
What To Build
- Add
page and limit params to vouching.service.ts:getVouchRequests() and getActiveVouches()
- Add pagination controls to the Vouch page for both sections
- Add loading state during page transitions
Files To Touch
src/pages/Vouch.tsx — add pagination
src/services/vouching.service.ts — add pagination params
Acceptance Criteria
Mandatory Checks
Problem
The Vouch page fetches all vouch requests and active vouches at once with no pagination. As the platform grows, mentors with many requests/active vouches will experience slow page loads.
User impact: Slow page load for mentors with many vouch requests.
Root Cause
The vouch service and page were built without pagination support.
What To Build
pageandlimitparams tovouching.service.ts:getVouchRequests()andgetActiveVouches()Files To Touch
src/pages/Vouch.tsx— add paginationsrc/services/vouching.service.ts— add pagination paramsAcceptance Criteria
Mandatory Checks