Problem
A CodeCorps project might be connected to one or more github repositories
In such a project, all Tasks should also be connected to a GitHub issue belonging to one of those repositories, so the comments need to be connected to their respective comments as well.
When such a comment is updated, the same update should propagate to the related Github comment as well.
If the author is not connected, the system should provide a user to update as. This is provided by #800.
We should also extract the comment update behavior into a module, since it's getting more complex now.
Subtasks
Problem
A CodeCorps project might be connected to one or more github repositories
In such a project, all Tasks should also be connected to a GitHub issue belonging to one of those repositories, so the comments need to be connected to their respective comments as well.
When such a comment is updated, the same update should propagate to the related Github comment as well.
If the author is not connected, the system should provide a user to update as. This is provided by #800.
We should also extract the comment update behavior into a module, since it's getting more complex now.
Subtasks
/lib/codecorps/task/comment.ex, namespacedCodeCorps.Task.Commentupdate/3function to module, which accepts a comment struct, an attributes map and a current usergithub_id. It's task parent should be related to aGithubRepo. This information should be used to update the associated github issue