Page MenuHomePhabricator

Add a "Published document changed" rule to Herald for Phriction documents

Authored by epriestley on May 13 2019, 5:30 PM.



Depends on D20519. Ref T13283. See PHI1202. Add a new rule which triggers when the current/most-recent transaction group includes a "content" or "publish" transaction, which means the published document content has changed.

Test Plan
  • Wrote a Herald rule using this field.
  • Created a document (rule matched).
  • Edited a document (rule matched).
  • Edited a document, saving as a draft (no match).
  • Edited a draft, updating it (no match).
  • Published a draft docuemnt (rule matched).

Diff Detail

rP Phabricator
Lint OK
Unit Tests OK
Build Status
Buildable 22786
Build 31259: Run Core Tests
Build 31258: arc lint + arc unit

Event Timeline

epriestley created this revision.May 13 2019, 5:30 PM
epriestley requested review of this revision.May 13 2019, 5:31 PM
amckinley accepted this revision.May 16 2019, 4:22 PM
This revision is now accepted and ready to land.May 16 2019, 4:22 PM