Skip to content
New issue

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

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

Already on GitHub? # to your account

Fixes #66 added user/progress mock endpoint #129

Conversation

ayushjain94
Copy link
Collaborator

@ayushjain94 ayushjain94 commented Oct 2, 2020

Creating a new pull request as I made a force push in previous PR and it got closed. I have incorporated all the changes suggested in the reviews.

closes #66

Copy link
Collaborator

@vegetabill vegetabill left a comment

Choose a reason for hiding this comment

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

Thanks for cleaning up the diff and formatting. There's just a few small improvements and I think it's ready to merge!

Comment on lines +65 to +67
$('.container').css('height', $(window).height());
$(window).on('resize', function () {
$('.container').css('height', $(window).height());
Copy link
Collaborator

Choose a reason for hiding this comment

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

These lines were deleted in a merge, but git must not have detected it, so please remove from this PR.

Comment on lines +49 to +52
if (!response.ok) {
const message = `An error has occured: ${response.status}`;
console.error(message)
return 1
Copy link
Collaborator

Choose a reason for hiding this comment

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

Not sure if you missed the other PR comment but the return 1 won't work because the next step is expecting a userProgress object

@vegetabill
Copy link
Collaborator

Hi @ayushjain94 did you have a chance to look at the last review for this?

@vegetabill
Copy link
Collaborator

Closed due to inactivity.

@vegetabill vegetabill closed this Oct 26, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

First GET request: /user/progress
2 participants