-
-
Notifications
You must be signed in to change notification settings - Fork 165
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
adjustments to date extension achievement items #2467
base: develop
Are you sure you want to change the base?
adjustments to date extension achievement items #2467
Conversation
I noticed I'd overlooked |
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.
Looking at the code I noticed a few things that I think could be cleaned up.
44dded1
to
b90be6b
Compare
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.
Looks okay to me.
b90be6b
to
c43a105
Compare
…ter the close date
I fixed the conflicts and added to the descriptions. |
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.
I was testing using these achievement rewards with this pull request and got exceptions because the after
method is not imported.
Oh, I wonder if it was there before, but I resolved those |
OK, |
Yeah, I think it was. I thought this worked when I tested it before. |
I noticed another issue when testing the Edit: I see now that the issue is that this tries to use the |
3de9464
to
19ef16a
Compare
Co-authored-by: Glenn Rice <[email protected]>
19ef16a
to
e34631c
Compare
Looks good now. Thanks for making those changes. |
This addresses some issues I've had in practice with these achievement items.
And then there is
ExtendDueDateGW
. This is not used by the default set of achievements, so I wonder if anyone even uses it. If anyone does use it, they are likely power users with extensive understanding of achievements. I started editing this one to make the same changes, but this reward item makes little sense to me in the first place. It adds 24 hours to a test template set, which seems perfectly reasonable to me. But it also adds 24 hours to every test version. So a student who activated a test that was only supposed to be 1 hour long could use this and have the test open for 25 hours. And it seems like that is not the best idea. Along with extending the template set by 24 hours, maybe just granting the student an additional test version would be good? Anyway, aside from introducing the constant for 24 hours in seconds, I did not change that one.