1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-15 19:32:40 +01:00
phorge-phorge/src/applications/differential/herald
epriestley 4d68c0ae04 Make Herald test workflow modular and more clear
Summary:
Fixes T9719. Currently, the Herald "Test Console" has a big `instanceof` thing, so new adapters (like a Calendar adapter, or third-party adapters) aren't available automatically. Instead, do a standard modular thing: load the available adapters, ask which ones can test the object the user selected, then let the user pick which one they want to move forward with.

Additionally, it isn't very clear that you can't test "commit hook" rules because they rely on push state which we don't really have a good way to simulate. When the user picks a commit, we now show them the "Hook" events, but the options are disabled and explain why they can not be selected.

Test Plan:
 - Ran test rules for revisions, commits, mocks, tasks, wiki documents, questions, and outbound mail.
 - Plugged in a commit, got a more-helpful choice screen explaining why you do a test run of hook rules.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T9719

Differential Revision: https://secure.phabricator.com/D16360
2016-08-03 16:12:33 -07:00
..
DifferentialBlockHeraldAction.php Fix some copy/paste slop with BLOCK actions in Herald transcripts 2015-08-04 07:32:19 -07:00
DifferentialChangeHeraldFieldGroup.php Group and order Herald fields 2015-07-16 14:13:13 -07:00
DifferentialDiffAffectedFilesHeraldField.php Group and order Herald fields 2015-07-16 14:13:13 -07:00
DifferentialDiffAuthorHeraldField.php Fully modularize Herald field values 2015-07-16 14:12:44 -07:00
DifferentialDiffAuthorProjectsHeraldField.php Fully modularize Herald field values 2015-07-16 14:12:44 -07:00
DifferentialDiffContentAddedHeraldField.php Group and order Herald fields 2015-07-16 14:13:13 -07:00
DifferentialDiffContentHeraldField.php Group and order Herald fields 2015-07-16 14:13:13 -07:00
DifferentialDiffContentRemovedHeraldField.php Group and order Herald fields 2015-07-16 14:13:13 -07:00
DifferentialDiffHeraldField.php Group and order Herald fields 2015-07-16 14:13:13 -07:00
DifferentialDiffHeraldFieldGroup.php Group and order Herald fields 2015-07-16 14:13:13 -07:00
DifferentialDiffRepositoryHeraldField.php Fully modularize Herald field values 2015-07-16 14:12:44 -07:00
DifferentialDiffRepositoryProjectsHeraldField.php Fully modularize Herald field values 2015-07-16 14:12:44 -07:00
DifferentialReviewersAddBlockingReviewersHeraldAction.php Allow Herald to add package reviewers 2016-05-13 17:23:07 -07:00
DifferentialReviewersAddBlockingSelfHeraldAction.php Share target filtering code in HeraldAction 2015-08-03 14:34:37 -07:00
DifferentialReviewersAddReviewersHeraldAction.php Allow Herald to add package reviewers 2016-05-13 17:23:07 -07:00
DifferentialReviewersAddSelfHeraldAction.php Share target filtering code in HeraldAction 2015-08-03 14:34:37 -07:00
DifferentialReviewersHeraldAction.php Allow Herald to add package reviewers 2016-05-13 17:23:07 -07:00
DifferentialRevisionAffectedFilesHeraldField.php Group and order Herald fields 2015-07-16 14:13:13 -07:00
DifferentialRevisionAuthorHeraldField.php Fully modularize Herald field values 2015-07-16 14:12:44 -07:00
DifferentialRevisionAuthorProjectsHeraldField.php Fully modularize Herald field values 2015-07-16 14:12:44 -07:00
DifferentialRevisionContentAddedHeraldField.php Group and order Herald fields 2015-07-16 14:13:13 -07:00
DifferentialRevisionContentHeraldField.php Group and order Herald fields 2015-07-16 14:13:13 -07:00
DifferentialRevisionContentRemovedHeraldField.php Group and order Herald fields 2015-07-16 14:13:13 -07:00
DifferentialRevisionHeraldField.php Group and order Herald fields 2015-07-16 14:13:13 -07:00
DifferentialRevisionHeraldFieldGroup.php Group and order Herald fields 2015-07-16 14:13:13 -07:00
DifferentialRevisionPackageHeraldField.php Group and order Herald fields 2015-07-16 14:13:13 -07:00
DifferentialRevisionPackageOwnerHeraldField.php Group and order Herald fields 2015-07-16 14:13:13 -07:00
DifferentialRevisionRepositoryHeraldField.php Fully modularize Herald field values 2015-07-16 14:12:44 -07:00
DifferentialRevisionRepositoryProjectsHeraldField.php Fully modularize Herald field values 2015-07-16 14:12:44 -07:00
DifferentialRevisionReviewersHeraldField.php Fully modularize Herald field values 2015-07-16 14:12:44 -07:00
DifferentialRevisionSummaryHeraldField.php Reduce code duplication in Herald fields 2015-07-16 14:11:44 -07:00
DifferentialRevisionTitleHeraldField.php Reduce code duplication in Herald fields 2015-07-16 14:11:44 -07:00
HeraldDifferentialAdapter.php Modernize all Herald DifferentialDiff fields 2015-07-08 12:25:38 -07:00
HeraldDifferentialDiffAdapter.php Modularize the Diffusion/Differential "Block" Herald actions 2015-08-03 14:33:28 -07:00
HeraldDifferentialRevisionAdapter.php Make Herald test workflow modular and more clear 2016-08-03 16:12:33 -07:00