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

Feature/red 556 less click grading #494

Merged
merged 8 commits into from
Apr 28, 2021

Conversation

tommy-lettieri
Copy link
Collaborator

No description provided.

.gitignore Outdated
@@ -22,5 +22,5 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.vscode/*
# .vscode/*
Copy link
Collaborator

Choose a reason for hiding this comment

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

Remove don't comment!

}

if (_.isEmpty(topic.questions)) {
logger.error('GradingPage: nextProblem: empty questions');
Copy link
Collaborator

Choose a reason for hiding this comment

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

If the button is shown under these conditions, we should show users an error.

} else {
const problemIndex = _.findIndex(topic.questions, ['id', problemId]);
if (problemIndex < 0) {
logger.warn('GradingPage: nextProblem: problem not found');
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should this jump out and show the user an error?

>
Previous Problem
</Button>
<Button
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should this be hidden for students?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Good catch

@tommy-lettieri tommy-lettieri merged commit cafe25d into dev Apr 28, 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.

2 participants