Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Multi-Blind N points rankings filter #55

Open
dmint789 opened this issue Oct 13, 2024 · 2 comments
Open

Add Multi-Blind N points rankings filter #55

dmint789 opened this issue Oct 13, 2024 · 2 comments
Assignees

Comments

@dmint789
Copy link
Collaborator

We should add a number input (FormNumberInput.tsx) to all Multi-Blind rankings pages (event.format === EventFormat.Multi). This input should allow all integer numbers from 2 to infinity. On the onBlur event of this input, the user should be redirected to the rankings page with a new filter applied to it: ?multiPoints=.... The backend should then filter out all results that have a different number of points.

Keep in mind that CC stores multi results with up to 9999 points, and centiseconds are saved too. shared_helpers/interfaces/Result.ts includes some details, and utilityFunctions.test.ts has some examples of Multi-Blind attempts, as stored in the CC database.

Example: to get all 10 points results, look for attempts >= 998900000000000 and < 999000000000000.

@dmint789 dmint789 assigned dmint789 and unassigned dmint789 Oct 13, 2024
@dmint789
Copy link
Collaborator Author

@maxidragon you want to do this one?

@maxidragon
Copy link
Contributor

Yeah, you can assign it to me

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

No branches or pull requests

2 participants