diff --git a/README.md b/README.md index 4b8a14f..b17a88c 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,7 @@ should find them. * We allow this page to be `frameable` so we can embed it in other dashboards * *Change* to ProjectBoardTaskCard * We display the current status on the task. + * Add project logical viewer for project or user function so we can do viewerprojects() in queries. * Repository * Pointing clone URIs to the Phabricator URI even if a repo is hosted elsewhere. * added buildable interface for push log for harbormaster builds for refs diff --git a/src/__phutil_library_map__.php b/src/__phutil_library_map__.php index 115702c..fd0ba6e 100644 --- a/src/__phutil_library_map__.php +++ b/src/__phutil_library_map__.php @@ -27,6 +27,7 @@ 'PhabricatorDaemonsPrometheusMetric' => 'applications/daemon/metric/PhabricatorDaemonsPrometheusMetric.php', 'PhabricatorGoogleAuthProvider' => 'applications/auth/provider/PhabricatorGoogleAuthProvider.php', 'PhabricatorProjectBoardViewController' => 'applications/project/controller/PhabricatorProjectBoardViewController.php', + 'PhabricatorProjectOrUserFunctionDatasource' => 'applications/project/typeahead/PhabricatorProjectOrUserFunctionDatasource.php', 'PhabricatorPrometheusApplication' => 'applications/prometheus/application/PhabricatorPrometheusApplication.php', 'PhabricatorPrometheusMetric' => 'applications/prometheus/metrics/PhabricatorPrometheusMetric.php', 'PhabricatorPrometheusMetricCounter' => 'applications/prometheus/metrics/PhabricatorPrometheusMetricCounter.php', @@ -66,6 +67,7 @@ 'PhabricatorDaemonsPrometheusMetric' => 'PhabricatorPrometheusMetricGauge', 'PhabricatorGoogleAuthProvider' => 'PhabricatorOAuth2AuthProvider', 'PhabricatorProjectBoardViewController' => 'PhabricatorProjectBoardController', + 'PhabricatorProjectOrUserFunctionDatasource' => 'PhabricatorTypeaheadCompositeDatasource', 'PhabricatorPrometheusApplication' => 'PhabricatorApplication', 'PhabricatorPrometheusMetric' => 'Phobject', 'PhabricatorPrometheusMetricCounter' => 'PhabricatorPrometheusMetric', diff --git a/src/applications/project/typeahead/PhabricatorProjectOrUserFunctionDatasource.php b/src/applications/project/typeahead/PhabricatorProjectOrUserFunctionDatasource.php new file mode 100644 index 0000000..850ff21 --- /dev/null +++ b/src/applications/project/typeahead/PhabricatorProjectOrUserFunctionDatasource.php @@ -0,0 +1,28 @@ +