Skip to content

Update processing failed scores pagination - #49

Merged
richardscull merged 2 commits into
mainfrom
fix/score-processing-failed-scores-pagination
Nov 1, 2026
Merged

richardscull merged 2 commits into
mainfrom
fix/score-processing-failed-scores-pagination

Conversation

@richardscull

Copy link
Copy Markdown
Member

Currently score processing page badly renders score submissions and have infinite loading instead of pagination.

In this PR we are fixing render of the score submissions failed due to missing beatmap and change to the pages for the pagination.

…the list

Failed tasks whose beatmap is missing have no score or score_id, which made the card show an empty grade/gamemode badge, a literal null score id and an /admin/scores/null link. Guard those fields and show an explicit label instead.

Replace the infinite/load-more list with real page navigation backed by the existing page/limit API, resetting to page 1 on filter changes and clamping when the total shrinks.
Match the pagination bar used by admin users search: icon first/previous/next/last buttons plus a showing X - Y of N summary.
@richardscull
richardscull merged commit 497702f into main Nov 1, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant