Cosplayers page: sorting, pagination, and infinite scroll #86
Closed
opened 2026-07-11 11:07:02 +00:00 by Ai_Agent
·
0 comments
Labels
Clear labels
AI Gen
area:auth
area:backend
area:ci
area:db
area:frontend
area:shared
good first issue
Need Triage
page:admin-users
page:album-detail
page:albums
page:cosplayer-detail
page:cosplayers
page:home
page:jobs
page:login
page:photos
page:register
page:settings
page:stats
page:user
performance
priority:critical
priority:high
priority:low
priority:medium
type:docs
type:refactor
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
Autogenerated By AI
Authentication, JWT, refresh tokens
Lactose API (controllers, repos, services, models)
Docker, CI/CD, Gitea Actions
EF Core, migrations, pgvector
MilkStream WASM client (Blazor UI, SCSS, components)
Butter shared library (DTOs, enums, MIME types)
Good for new contributors
Needs to be categorized by a Human
Admin user management (/Users)
Album detail page (/albums/{id})
Albums list (/albums)
Cosplayer detail page (/cosplayer/{id})
Cosplayers list (/cosplayers)
Home page (/)
Background jobs page (/Jobs)
Login page (/login)
Photos page (/photos)
Register page (/Register)
Settings page (/Settings)
Statistics page (/Stats)
User profile page (/User/{id})
Performance or scalability concern
Blocker / must fix immediately
Must fix / urgent
Nice to have
Should fix
Documentation
Code cleanup or refactoring
Something is not working
This issue or pull request already exists
New feature
Need some help
Something is wrong
More information is needed
This won't be fixed
Milestone
No items
No Milestone
v1.0 - Initial Release
Projects
Clear projects
No projects
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: MilkyShots/MilkyShots#86
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Objective
Convert the Cosplayers listing page from loading all records at once to infinite scroll with server-side pagination, and add search/sort controls.
Dependencies
Current Problem
PersonController.GetAllloads ALL people into memory viaPersonRepository.GetAllVisible()which calls.ToList()then filters client-side. No pagination, no search, no sorting.Sort Options
namep.Namecreatedp.CreatedAtalbumsp.Albums.CountDefault:
nameASC (alphabetical).Search
UI
SortFilterBar.razorfrom the Albums PR)Backend Changes
IPersonRepository/PersonRepository— addSearchQuerymethod with sort/search/pagination, push access-level filtering to SQL where possiblePersonController.GetAll— acceptPersonSearchParametersDto, return paginated resultsPersonService.GetAllAsync— acceptpage,pageSize,search,sortBy,sortAscCloses