Page MenuHomePhabricator

Write one DifferentialComment per CommentEditor action
ClosedPublic

Authored by epriestley on Feb 11 2014, 10:55 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 5, 12:04 PM
Unknown Object (File)
Thu, Dec 5, 6:43 AM
Unknown Object (File)
Tue, Nov 26, 3:57 PM
Unknown Object (File)
Tue, Nov 26, 3:57 PM
Unknown Object (File)
Wed, Nov 20, 10:20 PM
Unknown Object (File)
Nov 17 2024, 1:02 AM
Unknown Object (File)
Nov 13 2024, 7:36 AM
Unknown Object (File)
Oct 23 2024, 3:50 PM
Subscribers

Details

Summary

See D8200. Ref T2222. Instead of writing one comment which can have a ton of different effects, write a series of one-effect comments. These will be easier to convert into ApplicationTransactions.

This has a minor user-facing effect of making these multiple-action comments render separately:

{F111919}

Once the migration completes, they should automatically merge together nicely again.

Test Plan

Made a bunch of comments and took a bunch of actions, all of which worked normally except that they rendered as several things instead of just one.

Diff Detail

Repository
rP Phabricator
Branch
dx3
Lint
Lint Passed
Unit
Tests Passed

Event Timeline

epriestley added a subscriber: Unknown Object (MLST).Feb 11 2014, 10:59 PM

Facebook: See inline. This return value is not used anywhere in Phabricator, but might be used by the hacked-up XMail setup. There is no longer a meaningful single value to return, because one action can generate several transactions.

src/applications/differential/mail/DifferentialReplyHandler.php
147

This here.