Skip to content

Fix template so > is not displayed if review body is empty - #187

Merged
marianunez merged 1 commit into
mattermost:masterfrom
bolariin:GH-185
Feb 12, 2020
Merged

marianunez merged 1 commit into
mattermost:masterfrom
bolariin:GH-185

Conversation

@bolariin

@bolariin bolariin commented Feb 6, 2020

Copy link
Copy Markdown
Contributor

Summary

This PR makes it such that '>' is not displayed if the review body is empty

Ticket Link

Resolves #185

Comment thread server/template.go Resolved
@hanzei hanzei added 2: Dev Review Requires review by a core committer 3: QA Review Requires review by a QA tester labels Feb 6, 2020
@mickmister
mickmister requested review from levb and removed request for mickmister February 6, 2020 12:04

@marianunez marianunez left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, Thanks @bolariin 🎉

@marianunez marianunez removed the 2: Dev Review Requires review by a core committer label Feb 6, 2020

@DHaussermann DHaussermann left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and passed

  • Tested case where review comment is empty
  • Regression testing done when there is different content in the comment
    LGTM!
    Thanks @bolariin !

@DHaussermann DHaussermann added QA Review Done PR has been approved by QA 4: Reviews Complete All reviewers have approved the pull request and removed 3: QA Review Requires review by a QA tester labels Feb 12, 2020
@marianunez
marianunez merged commit a350f57 into mattermost:master Feb 12, 2020
@hanzei hanzei modified the milestones: v0.13.0, v0.14.0 Feb 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4: Reviews Complete All reviewers have approved the pull request QA Review Done PR has been approved by QA

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Don't try to print review body if it's empty

5 participants