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
Unknown Object (File)
Fri, Apr 12, 8:26 AM
Unknown Object (File)
Sun, Mar 31, 7:36 PM
Unknown Object (File)
Thu, Mar 28, 10:55 PM
Unknown Object (File)
Feb 24 2024, 5:00 PM
Unknown Object (File)
Feb 3 2024, 11:11 PM
Unknown Object (File)
Dec 31 2023, 9:58 AM
Unknown Object (File)
Dec 25 2023, 6:16 AM
Unknown Object (File)
Dec 19 2023, 5:31 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
Branch
herald1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 23437
Build 32200: Run Core Tests
Build 32199: arc lint + arc unit