stable
Clone or download
Read-only
part of story #29240 reply to pull request comment Inline comments can be outdated when the line of the file it's on changes between two commits in the pull-request. In this contribution, when an inline-comment is outdated, it: - Has a badge saying [Outdated] - Has a grey background - It's content is dimmed - It's file name is dimmed - Same for its replies How to test: - Create an inline comment - Add replies to this comment - Either push a new change to the PR or change the outdated column to "1" for this comment in database (plugin_pullrequest_inline_comments) --> The comment and its replies are styled as described above. Change-Id: Ide5fba7a0d39dd30268749ac720d0df05461e58e
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/pullrequest/scripts/pullrequests-app/po/fr_FR.po | +3 | −0 | Go to diff View file |
M | plugins/pullrequest/scripts/pullrequests-app/src/app/comments/PullRequestComment.test.ts | +0 | −3 | Go to diff View file |
M | plugins/pullrequest/scripts/pullrequests-app/src/app/comments/PullRequestComment.ts | +0 | −2 | Go to diff View file |
M | plugins/pullrequest/scripts/pullrequests-app/src/app/comments/PullRequestCommentBodyTemplate.test.ts | +7 | −1 | Go to diff View file |
M | plugins/pullrequest/scripts/pullrequests-app/src/app/comments/PullRequestCommentBodyTemplate.ts | +48 | −13 | Go to diff View file |
M | plugins/pullrequest/scripts/pullrequests-app/src/app/gettext-catalog.ts | +1 | −0 | Go to diff View file |
M | plugins/pullrequest/themes/includes/_tuleap-pullrequest-comment.scss | +53 | −34 | Go to diff View file |
M | src/themes/tlp/src/scss/components/_css-var-root.scss | +5 | −0 | Go to diff View file |