-
-
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
When sorting achievements, make level achievements last. #2643
base: develop
Are you sure you want to change the base?
Conversation
I don't think this is the right way to go. The achievement "Number" is supposed to be its evaluation order. I don't think this is a sorting issue at all. It is that line 143 in Also, according to the help on the "Achievements Manager" page the level achievements need to be evaluated first, not last. So that probably needs to be fixed. I think in general we need to kill the webwork2 achievements as they are, and start over. The design is to flawed to go forward. There really is no need for them to be Perl code executed in |
I went with this approach for updating the sorting order instead of changing the I can go with your proposal if you think it would be better to just support allowing level achievements to not be last, I just think this would cause the issue of students passing level boundaries and then not being awarded the correct level. I agree a newer approach to achievements could be useful, I was just trying to apply a bandaid to what we currently have. |
81ae183
to
f28f78e
Compare
I also updated the help to state level achievements are processed last, not first. |
Maybe this is clear but level achievements should be processed last. Because some other achievement you just earned might give you the last few achievement points you need to level up. I think if it is given that level achievements are coming last, then the use of |
I agree that the intent was always that level achievements should be sorted last. All this does is enforce that intent so users cannot accidentally order them incorrectly. |
Level achievements need to be processed last, and currently an instructor can edit achievement numbers which could place some achievements after the level achievements. Update the sortAchievements utility method to always place level achievements at the end of the list.
f28f78e
to
90a8fb3
Compare
Level achievements need to be processed last, and currently an instructor can edit achievement numbers which could place some achievements after the level achievements.
Update the sortAchievements utility method to always place level achievements at the end of the list.
This was brought up in the review of #2579.