mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-15 19:32:40 +01:00
4d68c0ae04
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 |
||
---|---|---|
.. | ||
DifferentialBlockHeraldAction.php | ||
DifferentialChangeHeraldFieldGroup.php | ||
DifferentialDiffAffectedFilesHeraldField.php | ||
DifferentialDiffAuthorHeraldField.php | ||
DifferentialDiffAuthorProjectsHeraldField.php | ||
DifferentialDiffContentAddedHeraldField.php | ||
DifferentialDiffContentHeraldField.php | ||
DifferentialDiffContentRemovedHeraldField.php | ||
DifferentialDiffHeraldField.php | ||
DifferentialDiffHeraldFieldGroup.php | ||
DifferentialDiffRepositoryHeraldField.php | ||
DifferentialDiffRepositoryProjectsHeraldField.php | ||
DifferentialReviewersAddBlockingReviewersHeraldAction.php | ||
DifferentialReviewersAddBlockingSelfHeraldAction.php | ||
DifferentialReviewersAddReviewersHeraldAction.php | ||
DifferentialReviewersAddSelfHeraldAction.php | ||
DifferentialReviewersHeraldAction.php | ||
DifferentialRevisionAffectedFilesHeraldField.php | ||
DifferentialRevisionAuthorHeraldField.php | ||
DifferentialRevisionAuthorProjectsHeraldField.php | ||
DifferentialRevisionContentAddedHeraldField.php | ||
DifferentialRevisionContentHeraldField.php | ||
DifferentialRevisionContentRemovedHeraldField.php | ||
DifferentialRevisionHeraldField.php | ||
DifferentialRevisionHeraldFieldGroup.php | ||
DifferentialRevisionPackageHeraldField.php | ||
DifferentialRevisionPackageOwnerHeraldField.php | ||
DifferentialRevisionRepositoryHeraldField.php | ||
DifferentialRevisionRepositoryProjectsHeraldField.php | ||
DifferentialRevisionReviewersHeraldField.php | ||
DifferentialRevisionSummaryHeraldField.php | ||
DifferentialRevisionTitleHeraldField.php | ||
HeraldDifferentialAdapter.php | ||
HeraldDifferentialDiffAdapter.php | ||
HeraldDifferentialRevisionAdapter.php |