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
F18745592: D20808.id49612.diff
Fri, Oct 3, 8:14 AM
F18734038: D20808.id.diff
Tue, Sep 30, 10:47 PM
F18719979: D20808.diff
Mon, Sep 29, 6:11 PM
F18706637: D20808.diff
Sun, Sep 28, 5:01 PM
F18570657: D20808.id49614.diff
Sep 10 2025, 4:02 AM
F18570656: D20808.id49612.diff
Sep 10 2025, 4:01 AM
F18567400: D20808.id.diff
Sep 9 2025, 3:44 PM
F18531608: D20808.diff
Sep 7 2025, 4:19 AM
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