Replace admin user ban select with a toggle #1020

Merged
jimmyb merged 1 commit from codex/issue-1012-banned-toggle into master 2026-11-06 15:32:41 -06:00
Member

Replace the admin user edit form’s Banned select with a styled toggle.

A hidden N value makes unchecked submissions explicitly save the unbanned state, while checked submissions retain the existing Y value. The toggle preserves submitted state after validation errors and uses the existing controller, authorization, and ban behavior.

Verification: 72 feature tests passed (404 assertions), including toggle rendering, banning/unbanning, validation, admin authorization, profile fields, session invalidation, and Fider synchronization. Pint, PHPStan, frontend build, and diff checks passed.

Fixes #1012

Replace the admin user edit form’s Banned select with a styled toggle. A hidden N value makes unchecked submissions explicitly save the unbanned state, while checked submissions retain the existing Y value. The toggle preserves submitted state after validation errors and uses the existing controller, authorization, and ban behavior. Verification: 72 feature tests passed (404 assertions), including toggle rendering, banning/unbanning, validation, admin authorization, profile fields, session invalidation, and Fider synchronization. Pint, PHPStan, frontend build, and diff checks passed. Fixes #1012
Replace admin user ban select with a toggle
All checks were successful
linter / quality (pull_request) Successful in 4m35s
tests / ci (pull_request) Successful in 19m9s
6dd6f422e9
jimmyb merged commit ce26c706fb into master 2026-11-06 15:32:41 -06:00
jimmyb deleted branch codex/issue-1012-banned-toggle 2026-11-06 15:32:41 -06:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
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!1020
No description provided.