Closed dave-mills closed 1 year ago
Update:
lft
property that's changed by the ReorderOperation.I'm not going to fix the status here, because after a discussion with Emily we're going to modify the assessment status and how it is presented anyway, so we'll do that in a separate PR.
Thank you Dave.
I checkout dev branch, get latest code. Performed testing successfully for review readlines and assess project. Then checkout this branch, get latest code. Run migration files.
Below please find my testing result FYI.
Main menu
Performed below testing with positive result:
A very minor question, should we be consistent in menu item name and CRUD panel name?
Project CRUD panel, list view, added new button "Assess Additional Criteria".
In database, corresponding additional_criteria_assessment records for existing assessments also created automatically after adding a new additional criteria.
In additional criteria 1, I ticked custom score tags then saved
When I come back from additional criteria 2 to additional criteria 1, my ticked custom score tags are not ticked...
I performed testing for adding custom score tags.
Additional criteria 2, it does not have any score tag. Custom score tag can be added successfully.
Additioanl criteria 1, it has two score tags. Custom score tag cannot be added.
Oops - I somehow managed to put that example / custom example save outside the foreach loop inm the AssessCustomOperation before committing. Thanks for finding that.
Should be all fixed in the latest commit - tested just now locally and I was able to properly save + retrieve examples + custom examples for multiple additional criteria.
Thank you Dave.
I got latest code and run migration files again. Then performed same testings with positive result. All mentioned items fixed.
I think it is good to merge it into dev branch now.
This PR fixes #40. It adds a new "Custom"
AssessmentCriteria
model.AssessCustomOperation
trait - cloned from theAssessOperation
trait and adapted to use the AssessmentCriteria instead of the Principle model.NOTE: I suggest merging in the previous #54 first as it'll make it easier to review this branch.
TODO: