Page MenuHomePhabricator

When replying to a ghost comment, attach the reply to the same place
ClosedPublic

Authored by epriestley on Mar 11 2016, 12:08 AM.
Tags
None
Referenced Files
F19495389: D15458.id.diff
Thu, Jan 8, 10:22 AM
F19446291: D15458.diff
Mon, Dec 29, 2:55 PM
F19418975: D15458.id.diff
Sat, Dec 27, 10:53 PM
F18933859: D15458.id.diff
Nov 10 2025, 12:43 PM
F18927471: D15458.diff
Nov 9 2025, 9:02 PM
F18896773: D15458.id37255.diff
Nov 7 2025, 4:26 PM
F18842643: D15458.id.diff
Oct 28 2025, 5:16 PM
F18830205: D15458.id37253.diff
Oct 25 2025, 5:02 AM
Subscribers

Details

Summary

Fixes T10562. I left this behavior sort of ambiguous in the original implementation because I didn't anticipate or stumble across this situation.

It's easy to fix: when you reply to a ghost, just put the reply in the exact same place as the ghost (even if it's a different diff), so they always move/ghost/port/thread together.

Test Plan

See T10562 for reproduction steps and a "before" picture. Here's the after picture:

Screen Shot 2016-03-10 at 4.04.52 PM.png (922×924 px, 93 KB)

The two comments at the bottom are pre-fix, and exhibit the bug. The comment at the top is post-fix, and appears adjacent to the original correctly.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to When replying to a ghost comment, attach the reply to the same place.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Mar 11 2016, 12:13 AM
This revision was automatically updated to reflect the committed changes.