-
Notifications
You must be signed in to change notification settings - Fork 774
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 error message when downloading submissions that has > 5k results #3442
Conversation
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.
Minor changes required, rest Looks good to me 👍
...pp/components/challenge/challengeviewallsubmissions/challengeviewallsubmissions.component.ts
Outdated
Show resolved
Hide resolved
...pp/components/challenge/challengeviewallsubmissions/challengeviewallsubmissions.component.ts
Outdated
Show resolved
Hide resolved
@@ -309,7 +309,7 @@ ${phase}/submission?participant_team__team_name=${participantTeamName}`; | |||
} | |||
|
|||
/** | |||
* Challenge Submission Counts | |||
* Challenge Submission Counts of the participant Team |
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.
Can we please revert this change as it's required for this PR
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.
We were using this url on the submissions page, but this was confusing whether it was for all submissions or submissions for a particular team that's why I have modified it to make it more descriptive.
@gautamjajoo we should show this in a card on the |
@Ram81 The card would be like the |
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.
@gautamjajoo can you fix the message card style. It doesn't look consistent with other cards that we show to hosts on the challenge page.
@Ram81 Updated card: |
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.
@gautamjajoo can you increase the top, bottom and left padding for the message. For style reference you can create a new challenge on frontend v1 and go to challenge overview page to see how we show instructions currently.
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.
LGTM
When downloading results for a phase that has > 5k results, an error is shown to use the
get_all_submissions API
to download the results.Also, removed the code where we are fetching the number of submissions of the participant Team on
all-submissions
page since we do not need it here.@Ram81 @Kajol-Kumari