@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fixed replies to go on the correct side of the diff in Differential.

Summary:
Replies to comments went always to the left side of the diff. There
was a confusion between 'is_new' and 'on_right'. Database wants the
information if the reply is on the left or on the right. The database
does not care if the comment is a reply or an original comment.

The code looks a bit confusing, because the database field is called
'isNewFile' and that is used to determine, which side the comment
applies to.

Test Plan:
Tested that every of combination of new comment/reply to the left/right side
worked when editing and after submitting the comment.

Reviewed By: jungejason
Reviewers: jungejason
CC: epriestley, jungejason
Differential Revision: 148

+1 -1
+1 -1
src/applications/differential/controller/inlinecommentedit/DifferentialInlineCommentEditController.php
··· 122 122 ->setAuthorPHID($user->getPHID()) 123 123 ->setLineNumber($number) 124 124 ->setLineLength($length) 125 - ->setIsNewFile($is_new) 125 + ->setIsNewFile($on_right) 126 126 ->setContent($text) 127 127 ->save(); 128 128