Problem: Bible searches can return hundreds of results. Loading them all at once would be slow and overwhelming.
Solution: Paginated results with 50 per page and Prev/Next navigation.
Not included: Infinite scroll or "load more" pattern. This is traditional page-based pagination.
User flow:
Edge cases:
Pagination controls: Prev/Next buttons with range label, below the results list.
API params: page (1-based) and limit (default 50) passed to GET /api/search.
Query: LIMIT ${limit} OFFSET ${(page - 1) * limit} applied to the FTS5 query.
Files:
apps/web/src/routes/(app)/search/+page.svelte — pagination UI + stateCurrent: DONE Milestone: v1 Priority: Core — necessary for usable search
Dependencies: