Page MenuHomePhabricator

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

Authored by epriestley on May 13 2019, 5:30 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 19, 4:34 PM
Unknown Object (File)
Fri, Dec 13, 4:04 AM
Unknown Object (File)
Mon, Dec 9, 5:10 PM
Unknown Object (File)
Sun, Dec 8, 7:19 AM
Unknown Object (File)
Tue, Dec 3, 3:52 AM
Unknown Object (File)
Sun, Dec 1, 5:42 AM
Unknown Object (File)
Thu, Nov 21, 12:27 AM
Unknown Object (File)
Nov 17 2024, 10:15 AM
Subscribers
None

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
Lint Not Applicable
Unit
Tests Not Applicable