[feat] Project reviews #177
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
We want to introduce a new feature in the back office of Goteo: Project Reviews. We believe to have condensed most of the work that platform moderators do regarding a project's given work-load into an streamlined cycle of reviews.
When a project owner believes they are ready for campaign they can submit their project for review. A moderator picks up the responsibility and checks the health and fitness of the project. In v3 this was a loose process, where few actions where built into the system like rejection or acceptance, but dialog between reviewer and reviewed was largely done via mail.
We want to allow most of that review process to happen inside the platform.
ProjectReviewresources hold the relationship between a reviewer, the thing being reviewed and the full picture of the review process.ProjectReviewArearesources allow the reviewer to split their focus of the review across specific topics and allow them to score the overall health of the project based in a "traffic light" risk score: low, mid and high risks.ProjectReviewCommentresources represent the conversation that the reviewer and the reviewed have during that process and can tell the full story on how one specific review evolved for that project.Added
Review,ReviewAreaandReviewCommententities and related API resourcesAdded security and operations to API resources to only allow privileged users to update reviews
Added security to API resources to only allow concerned users to see reviews
Added
ProjectStatusListenerto allow creation of related Reviews for Projects that follow the respective status changes