Page MenuHomePhabricator

Support Herald rules for Calendar events
Closed, ResolvedPublic

Description

Herald is an important piece of application glue which covers a lot of edge-case workflows. One thing which Herald would be useful for in Calendar is letting me subscribe to Bob and Chad's events. (This specific use case might be worth making more formal at some point, but doing it through Herald first is a good way to gauge how valuable it is.)

Event Timeline

epriestley assigned this task to lpriestley.
epriestley raised the priority of this task from to Normal.
epriestley updated the task description. (Show Details)
epriestley added projects: Calendar, Herald.
epriestley added a subscriber: epriestley.
  • Write a subclass of HeraldAdapter. I think PhrictionDocumentHeraldAdapter is a fairly reasonable example.
  • In HeraldTestConsoleController, you have to add a hacky piece of code to help Herald figure out which adapter to use.
  • In your Editor, implement shouldApplyHeraldRules(), buildHeraldAdapter() and didApplyHeraldRules().
  • You should now be able to use the test console to test rules.