javiertuya/dashgit

Add an indicator to differentiate PR where I'm assigned to from PR where I'm reviewer

Closed this issue · 2 comments

Add an indicator to differentiate PR where I'm assigned to from PR where I'm reviewer

Adds a property actions to the models representing this kind of info, currently only to indicate a review request.

On GitHub the query on user-review-request is enough. On GitLab, query the ToDo List to get the notifications associated with the review assignmentw.

The main issue is that the parallel execution of all promises does not allow to know in a reliable way what was the call that produced a given model. Therefore, the solution is to wrap this call to add the actions to the response of the approprited query, then, execute the transformations as before

Released to 1.1.0