Repository navigation
Conversation
Admins can suspend/unsuspend users from the /dev page. Suspended users are blocked from all round-session actions at the API level and see a non-dismissible dialog on the site telling them to reach out on Discord or by email. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Toggling DNF keeps the recorded time so the change stays reversible; un-DNFing a solve with no time is rejected. Recomputes the round session's cached avg/isDnf when a submitted solve's status changes. Also fixes bySingle leaderboard ordering to sort by isDnf before timeMs, matching personal-record/global-record — previously relied on implicit NULLS LAST which no longer holds now that a DNF'd solve can keep a non-null timeMs. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/dev; suspended users are blocked from round-session actions at the API level and see a non-dismissible dialog telling them to reach out on Discord/email./dev. Toggling keeps the recorded time (reversible); un-DNFing a solve with no time is rejected. Recomputes the round session's cached avg/isDnf when a submitted solve's status changes.bySingleleaderboard ordering to sort byisDnfbeforetimeMs(previously relied on implicit NULLS LAST, which broke once a DNF'd solve can keep a non-null timeMs).Test plan
bun run format:checkbun run lint:checkbun run type:checkRisk
Low — new admin-only endpoints plus one leaderboard query ordering fix.
Related
N/A
🤖 Generated with Claude Code