-
Notifications
You must be signed in to change notification settings - Fork 263
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
Show list of submissions on public and team scoreboards when clicking on a cell #2918
base: main
Are you sure you want to change the base?
Show list of submissions on public and team scoreboards when clicking on a cell #2918
Conversation
…d time of a contest
🔍 Existing Issues For ReviewYour pull request is modifying functions with the following pre-existing issues: 📄 File: webapp/src/Controller/PublicController.php
Did you find this useful? React with a 👍 or 👎 |
Co-authored-by: MCJ Vasseur <[email protected]>
Co-authored-by: MCJ Vasseur <[email protected]>
Is it reasonable to see the specific judging results (during the contest) (rather than AC and RJ) on the public list? The current API cannot obtain the specific results without admin/jury role. This seems to provide additional information to the team. |
Through which API endpoint can a team (or the public) see the exact verdicts (e.g. TLE) through the API for submissions of other teams? |
The judgement API is public info for all submissions pre-freeze, which shows this information. |
@nickygerritsen I think @cubercsl 's comment is that we show more in the API than here, so we should also include that info. I would rather consider it a bug in the API if we would show more, than to expose it here. Regardless, I don't actually think we expose more since you only have access to the judgements endpoint when authenticated and as a team you get only info about your own submissions. Try running something like this:
@cubercsl let me know if you are thinking of a different endpoint since this one is behaving like it should. |
Wait but then we do show more in the UI now, since you can see TLE for other teams in the pop-up. Should we change it to show only accepted / rejected / pending? |
Argh, and rereading the comment above, this was exactly what @cubercsl mentioned. So ignore my previous comments and we should change this to Accepted and Rejected or similar. |
Note that the API not being publicly accessible is not in line with the ICPC contest access policy, but I do agree we should be in sync between API and UI. Will fix |
Co-authored-by: Jaap Eldering <[email protected]>
Also drop time tie breaker column.
$submissions = $this->submissionService->getSubmissionList( | ||
[$contest->getCid() => $contest], | ||
new SubmissionRestriction(valid: true), | ||
paginated: false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For long running contests we would still get a long list?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For one team? We would if the team submits a lot. We can add this behind an option if this becomes a problem.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is the modal scrollable?
Co-authored-by: MCJ Vasseur <[email protected]>
Co-authored-by: MCJ Vasseur <[email protected]>
Co-authored-by: MCJ Vasseur <[email protected]>
@nickygerritsen can I squash it or will you force push yourself? |
You do it, that's fine |
Fixes #2427