Skip to content

Changed fetch request when submit button is pressed #74

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

Merged
merged 12 commits into from
Mar 22, 2021
Merged

Conversation

BLNDLYBLV
Copy link
Contributor

No description provided.

Comment on lines +15 to +16
yield call(SubmissionFetch.lockCode);
yield put(NotificationActions.success('Code Locked'));
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ElzaCS @ram2091999 @bestinbthomas Is lockcode something you sill want?
Doesn't it clutter the submitbar?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. The code used for matches with other players that affect their rating, should be saved separately. If a user is on the leaderboard, they should be ready to be challenged by another player. In such a situation, if a user is in the middle of improvising their code, the latest submitted code would be used for the match.

@bestinbthomas bestinbthomas merged commit 91efea5 into master Mar 22, 2021
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

Successfully merging this pull request may close these issues.

5 participants