stable

Clone or download

Read-only

feat: comments representations have a raw_content attribute

part of story #32316 Update comments This attribute is needed to be able to edit the comments. For instance, if a comment contains some references, raw_content will contain only `art #1` instead of the whole HTML tag to generate a tooltip. How to test: - Have a global and an inline comment which contain some references - Query `pull_requests/{id}/comments` --> The global comment has a `raw_content` attribute containing only text --> Same for the inline comment - Query `pull_requests/{id}/file_diff` --> The inline comment has a `raw_content` attribute containing only text Change-Id: Icec3f0ee7775b379c2a7b74fc45e19378e9a8810

Modified Files

Name
M plugins/pullrequest/include/PullRequest/REST/v1/CommentRepresentation.php +3 −0 Go to diff View file
M plugins/pullrequest/include/PullRequest/REST/v1/PullRequestInlineCommentRepresentation.php +3 −0 Go to diff View file
M plugins/pullrequest/include/PullRequest/REST/v1/TimelineInlineCommentRepresentation.php +3 −0 Go to diff View file