[Perf][Blog][Angular] List loads ALL posts and filters client-side — backend pagination discarded, no pagination UI (epic #705) #710

Open
opened 2026-07-19 01:15:24 +00:00 by spikerj · 0 comments
Owner

Epic #705. BlogService.getAllBlogPosts() receives the backend's paginated {data, pagination} response and throws the pagination metadata away; blog-list-component loads everything and filters by status client-side. Fine at closed-alpha scale, degrades linearly with content growth (each post card also renders media grids + comments).

Shape: thread page/pageSize/status through to GET /posts (the endpoint already supports filtering/pagination server-side), keep the signal store per-page, add a paginator (or infinite scroll) to the list. The status filter probably moves to the "My posts" view (#708) — the public list may only need published+newest-first.

Epic #705. `BlogService.getAllBlogPosts()` receives the backend's paginated `{data, pagination}` response and **throws the pagination metadata away**; `blog-list-component` loads everything and filters by status client-side. Fine at closed-alpha scale, degrades linearly with content growth (each post card also renders media grids + comments). **Shape:** thread `page`/`pageSize`/`status` through to `GET /posts` (the endpoint already supports filtering/pagination server-side), keep the signal store per-page, add a paginator (or infinite scroll) to the list. The status filter probably moves to the "My posts" view (#708) — the public list may only need published+newest-first.
Sign in to join this conversation.