Page MenuHomePhabricator

Don't present users with Herald fields/actions for uninstalled applications, unless the rule already uses them
ClosedPublic

Authored by epriestley on Sep 12 2019, 7:57 PM.
Tags
None
Referenced Files
F13284056: D20808.id.diff
Sun, Jun 2, 11:06 PM
F13268538: D20808.diff
Wed, May 29, 5:09 AM
F13257159: D20808.id.diff
Sat, May 25, 8:54 PM
F13254081: D20808.diff
Sat, May 25, 3:08 AM
F13238077: D20808.id49612.diff
Tue, May 21, 4:58 PM
F13233099: D20808.diff
Tue, May 21, 1:41 AM
F13215092: D20808.diff
Fri, May 17, 2:58 PM
F13195240: D20808.diff
Sun, May 12, 10:14 PM
Subscribers
Restricted Owners Package

Details

Summary

Fixes T7961. Currently, we present Herald users with actions like "Require legalpad signatures" and "Run build plans" even if Legalpad and Harbormaster are not installed.

Instead, allow fields and actions to be made "unavailable", which means that we won't present them as options when adding to new or existing rules.

If you edit a rule which already uses one of these fields or actions, it isn't affected.

Test Plan
  • Created a rule with a legalpad action, uninstalled legalpad, edited the rule. Action remained untouched.
  • Created a new rule, wasn't offered the legalpad action.
  • Reinstalled the application, saw the action again.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable