orppst / pst-gui

web based front end for the tool
Mozilla Public License 2.0
0 stars 0 forks source link

Manager View: create 'ReviewedProposals' from 'SubmittedProposals' #147

Closed DJWalker42 closed 1 month ago

DJWalker42 commented 1 month ago

We require a way to create a 'ReviewedProposal' for each 'SubmittedProposal' in the Cycle. To keep things simple, this could be initially a user action button per 'SubmittedProposal'. This button's function would call the appropriate API function to create the 'ReviewedProposal', which creates said object with the following members: 'successful' to false, 'reviewsCompleteDate' to the posix epoch (DB has a non-null constraint on Dates), an empty list of 'ProposalReviews', and a reference to the particular 'SubmittedProposal'. Notice that to assign 'Reviewers' to the 'ReviewedProposal' requires a separate API call to add 'ProposalReviews' to the list; a 'ProposalReview' object contains a reference to the 'Reviewer' i.e., one 'Reviewer' per 'ProposalReview' (see issue #124)

DJWalker42 commented 1 month ago

Underlying data model has changed, removing the 'ReviewedProposal' class, making this issue invalid.