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
F14058232: D20520.diff
Sun, Nov 17, 10:15 AM
F14008407: D20520.diff
Tue, Oct 29, 8:45 PM
F13999925: D20520.diff
Thu, Oct 24, 6:03 PM
Unknown Object (File)
Sep 6 2024, 6:24 AM
Unknown Object (File)
Sep 3 2024, 10:49 PM
Unknown Object (File)
Aug 31 2024, 11:18 AM
Unknown Object (File)
Aug 26 2024, 10:01 AM
Unknown Object (File)
Aug 19 2024, 2:38 PM
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