Show game usage counts on admin edit screen #989

Merged
jimmyb merged 1 commit from codex/issue-937-admin-game-usage-counts into master 2026-10-19 12:37:44 -05:00
Member

Show distinct-user counts for Lists, Wishlists, and Favorites at the bottom of the admin game-edit form.

This gives staff an aggregate usage summary before disabling or replacing a game. Counts exclude soft-deleted associations, display zeros, and reveal no associated user details. Existing authorization and edit workflows are preserved.

Verification:

  • 26 focused and admin-game regression tests passed (266 assertions).
  • Pint, PHPStan, frontend build, and diff checks passed.
  • Coverage includes populated and empty counts, duplicate users, removed associations, other games, disabled games, privacy, and unauthorized access.

Fixes #937

Show distinct-user counts for Lists, Wishlists, and Favorites at the bottom of the admin game-edit form. This gives staff an aggregate usage summary before disabling or replacing a game. Counts exclude soft-deleted associations, display zeros, and reveal no associated user details. Existing authorization and edit workflows are preserved. Verification: - 26 focused and admin-game regression tests passed (266 assertions). - Pint, PHPStan, frontend build, and diff checks passed. - Coverage includes populated and empty counts, duplicate users, removed associations, other games, disabled games, privacy, and unauthorized access. Fixes #937
jimmyb force-pushed codex/issue-937-admin-game-usage-counts from dbdc333d79
All checks were successful
linter / quality (pull_request) Successful in 4m25s
tests / ci (pull_request) Successful in 12m35s
to 58cf5eefe7
All checks were successful
linter / quality (pull_request) Successful in 4m38s
tests / ci (pull_request) Successful in 11m14s
2026-10-19 12:21:46 -05:00
Compare
jimmyb merged commit 7cdee59c63 into master 2026-10-19 12:37:44 -05:00
jimmyb deleted branch codex/issue-937-admin-game-usage-counts 2026-10-19 12:37:45 -05:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
MyVideoGameList/myvideogamelist.com!989
No description provided.