From 43c50084c6439d1b64db65ca8dddecb2d56d0366 Mon Sep 17 00:00:00 2001 From: vikingowl Date: Tue, 4 Nov 2025 23:17:33 +0100 Subject: [PATCH] feat: Implement Load More pagination for matches page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add pagination state management (matches, hasMore, nextPageTime) - Create loadMore() function to fetch and append next page of results - Replace placeholder "pagination coming soon" with functional Load More button - Add loading spinner during pagination requests - Show total matches count and "all loaded" message when complete - Use $effect to reset pagination state when filters change Completes Phase 5.2 pagination requirement from TODO.md. Users can now browse through large match lists efficiently. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- src/routes/matches/+page.svelte | 88 ++++++++++++++++++++++++++++----- 1 file changed, 77 insertions(+), 11 deletions(-) diff --git a/src/routes/matches/+page.svelte b/src/routes/matches/+page.svelte index d80787a..6933b9a 100644 --- a/src/routes/matches/+page.svelte +++ b/src/routes/matches/+page.svelte @@ -1,12 +1,14 @@ @@ -42,7 +89,13 @@ -
{ e.preventDefault(); handleSearch(); }} class="flex flex-col gap-4"> + { + e.preventDefault(); + handleSearch(); + }} + class="flex flex-col gap-4" + >