This patch adds a New Review button into the patch section, that allows users to create a new draft patch review for a specific revision on a specific patch.
Once the user created a review, he shouldn’t be able to create a new review on the same patch and revision.
Once the review which is usually in a draft state (not synced with other nodes) is ready for publishing, the user should click on the publish button available for reviews in draft state.
Which would remove the draft object and update the patch to have the new patch revision review.
In case that a patch has older reviews by the same issue, we need to make sure that we only show draft reviews for the correct revision.
This patch adds a New Review button into the patch section, that allows users to create a new draft patch review for a specific revision on a specific patch.
Once the user created a review, he shouldn’t be able to create a new review on the same patch and revision.
Once the review which is usually in a draft state (not synced with other nodes) is ready for publishing, the user should click on the publish button available for reviews in draft state.
Which would remove the draft object and update the patch to have the new patch revision review.
In case that a patch has older reviews by the same issue, we need to make sure that we only show draft reviews for the correct revision.
Remove $inspect calls
Fix lint
Rebase.
Rebase, address feedback and remove DraftStore