Support Dashboard document types for Current Application global search scope
Summary:
`PhabricatorMainMenuSearchView::getGlobalSearchScopeItems()` checks `if ($application->getApplicationSearchDocumentTypes())` and later sets `'value' => $application_value` (if existing) to only search for document types supported by the Current Application.
This works for most applications (e.g. setting Maniphest as the Current Application and Tasks as Document Type when being on http://phorge.localhost/maniphest/).
It does not work for Dashboard when being on http://phorge.localhost/dashboard/ - global search results are not restricted to Dashboard when selecting "Current Application".
Fix that by adding the missing function `PhabricatorDashboardApplication::getApplicationSearchDocumentTypes()`.
Closes T16165
Test Plan:
* Go to http://phorge.localhost/dashboard/
* In the upper right corner, select the search scope dropdown and see the default application icon in front of "Current Application"
* Before this patch "Current Application" has a generic icon; after this patch "Current Application" has the Dashboard icon
* Select "Current Application", enter a search term, press Enter key
* On the results page, before this patch the "Document Types" field is empty and results come from any applications; after this patch the "Document Types" field is set to "Dashboard" and "Panel" and "Portal" and results only come from the Dashboard application which was/is our Current Application per the URI where we started
Reviewers: O1 Blessed Committers, mainframe98
Reviewed By: O1 Blessed Committers, mainframe98
Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno
Maniphest Tasks: T16165
Differential Revision: https://we.phorge.it/D26173