Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Fix standalone comment replies - #1772

Merged
jcansdale merged 2 commits into
masterfrom
fixes/standalone-comment-replies
Jul 11, 2018
Merged

Fix standalone comment replies#1772
jcansdale merged 2 commits into
masterfrom
fixes/standalone-comment-replies

Conversation

@grokys

Copy link
Copy Markdown
Contributor

#1712 broke a couple of things with inline comments:

  • It was using the pull request ID as a review ID, which obviously doesn't work. Added a CreatePendingReviewCore method which both CreatePendingReview and PostStandaloneReviewCommentReply can use, which exposes the info needed by both methods.
  • It was breaking out of the loop to create threads after a single reply. D'oh. Not sure how that got there.

Testing

Previously, leaving standalone comment replies didn't work. Should now work.

@meaghanlewis

Copy link
Copy Markdown
Contributor

This LGTM, thanks for fixing this. ✨

@jcansdalejcansdale left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Code looks good. 👍

@jcansdale
jcansdale merged commit 541e3ba into masterJul 11, 2018
@jcansdale
jcansdale deleted the fixes/standalone-comment-replies branch July 11, 2018 14:37
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@grokys@meaghanlewis@jcansdale