stable

Clone or download

Read-only

Refactoring: Display comments with Mustache

Part of story #18336 add support of markdown No functional change expected in display of follow-up comments. This helps for the edition of comments where we will add the commonmark source in the presenter. Took the opportunity to rename the "Followup" namespace to "Comment". Change-Id: I11fec7da70697b0aa009fae47e52d19cea0cb2a8

Modified Files

Name
M plugins/tracker/include/REST/Artifact/Changeset/ChangesetRepresentationBuilder.php +3 −3 Go to diff View file
M plugins/tracker/include/REST/Artifact/Changeset/Comment/CommentRepresentationBuilder.php +1 −1 Go to diff View file
A plugins/tracker/include/Tracker/Artifact/Changeset/Comment/CommentPresenter.php +79 −0 Go to diff View file
R plugins/tracker/include/Tracker/Artifact/Changeset/Followup/InvalidCommentFormatException.php Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact_Changeset_Comment.class.php +20 −30 Go to diff View file
A plugins/tracker/templates/artifact/changeset/comment/comment.mustache +21 −0 Go to diff View file
A plugins/tracker/tests/unit/Artifact/Changeset/Comment/CommentPresenterTest.php +125 −0 Go to diff View file
M plugins/tracker/tests/unit/REST/Artifact/Changeset/Comment/CommentRepresentationBuilderTest.php +1 −1 Go to diff View file