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 26, 2:37 AM
Unknown Object (File)
Fri, Dec 20, 8:49 PM
Unknown Object (File)
Thu, Dec 5, 12:04 PM
Unknown Object (File)
Thu, Dec 5, 6:43 AM
Unknown Object (File)
Nov 26 2024, 3:57 PM
Unknown Object (File)
Nov 26 2024, 3:57 PM
Unknown Object (File)
Nov 20 2024, 10:20 PM
Unknown Object (File)
Nov 17 2024, 1:02 AM
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

Lint
Lint Skipped
Unit
Tests Skipped

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.