Dynamic loading is mandatory even if the catalog were small. - [x] `first` + `after` Relay-style connection - [x] `IntersectionObserver` prefetches the next page - [x] a real `Load more` **button** alongside it - infinite scroll alone is a keyboard trap - [x] Apollo `typePolicies` merge concatenates edges on `fetchMore` **Acceptance:** paging 20 at a time through 100k albums stays fast and never returns an already-seen album. ## Two of these are done The connection landed with the M2 server. `searchAlbums` takes `first` and `after`, returns `edges { cursor node }` and `pageInfo { hasNextPage endCursor }`, and uses keyset cursors with an `id` tiebreak rather than `OFFSET`, so page 5000 costs the same as page 1. Cursors are validated against the requested sort and rejected if they belong to a different one. The Apollo merge is in `client/src/api/client.ts`: `typePolicies` with `keyArgs: ['input']` and a `merge` that concatenates edges, tested in `client/src/api/client.test.ts`. What is left is the interaction: `IntersectionObserver` prefetch and the `Load more` button. `App.test.tsx` currently asserts the button is **not** present, so that expectation has to change when it lands. ## The acceptance line needs the big catalog 100k albums come from `pnpm db:seed:large`, which is local and takes `ALBUM_COUNT`. That is a local Postgres job, so this does not need the VM. "Never returns an already-seen album" is a cursor property, not a throughput one. Worth testing with a sort that has many ties, since that is where a missing `id` tiebreak shows up as duplicates. ## Overlap with #19 #19 says any change to query, filter or sort drops the cursor and goes back to page one. Same cursor, two issues. Agree on who owns it when both are in flight.