Page MenuHomePhabricator

Prepare revision mail for the "Draft" status
ClosedPublic

Authored by epriestley on Sep 18 2017, 9:48 PM.
Tags
None
Referenced Files
F13085747: D18627.diff
Wed, Apr 24, 11:54 PM
Unknown Object (File)
Tue, Apr 23, 6:44 PM
Unknown Object (File)
Tue, Apr 23, 6:44 PM
Unknown Object (File)
Tue, Apr 23, 6:43 PM
Unknown Object (File)
Tue, Apr 23, 6:43 PM
Unknown Object (File)
Fri, Apr 19, 6:50 PM
Unknown Object (File)
Thu, Apr 11, 8:11 AM
Unknown Object (File)
Sun, Apr 7, 12:59 AM
Subscribers
None

Details

Summary

Ref T2543. Currently, we always do some special things when a revision is created, mostly adding more stuff to the mail.

With drafts, we want to suppress initial mail and send this big, rich mail only when the revision actually moves out of "draft".

Prepare the code for this, with the actual methods hard-coded to the current behavior. This will probably take some tweaking but I think I got most of it.

Test Plan

Banged around in Differential so it sent some mail, saw normal mail without anything new.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Sep 18 2017, 11:52 PM
This revision was automatically updated to reflect the committed changes.