Page MenuHomePhabricator

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

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

Details

Summary

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

Repository
rP Phabricator
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

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