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

Mark as complete fix again #9837

Conversation

nucleogenesis
Copy link
Member

Summary

Fixes issue that was merged in #9808 where the progress wasn't updating properly.

I've used the already existing "update progress" method which appears to do some other necessary business logic around properly updating. Also, it seems that the progress value must be a float because passing the int 1 resulted in it trying to update progress to 1.2 and it got mad.

References

Reviewer guidance

Code review should be pretty quick. For testing, please look at #9808 for more context.

@nucleogenesis nucleogenesis added TODO: needs review Waiting for review TODO: needs QA re-review For stale issues that need to be revisited labels Nov 16, 2022
@nucleogenesis nucleogenesis added this to the Planned Patch 7 milestone Nov 16, 2022
@nucleogenesis nucleogenesis changed the base branch from develop to release-v0.15.x November 16, 2022 17:20
Copy link
Member

@marcellamaki marcellamaki left a comment

Choose a reason for hiding this comment

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

This fixes the main problem of the option persisting, and the code looks fine, so this is good to merge. It doesn't address @pcenov's comment that

once it does disappear I'm still seeing the ellipsis button instead of directly showing the 'View information' icon to the right of the bookmarks icon

But for now, I think that can be non-blocking and can be addressed in a follow up issue, so that the other PRs that depend on rebasing on top of this can continue moving forward.

@rtibbles
Copy link
Member

once it does disappear I'm still seeing the ellipsis button instead of directly showing the 'View information' icon to the right of the bookmarks icon

I think this is probably best handled in #9830

@nucleogenesis nucleogenesis force-pushed the mark-as-complete-fix--again branch from dca8d28 to 2c70bb8 Compare November 16, 2022 21:02
@nucleogenesis nucleogenesis merged commit ae34cb2 into learningequality:release-v0.15.x Nov 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TODO: needs QA re-review For stale issues that need to be revisited TODO: needs review Waiting for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants