Connect Forms to Unified Search by Implementing Search Provider #2392
Labels
1. to develop
Accepted and waiting to be taken care of
enhancement
New feature or request
good first issue
Good for newcomers
integration
Compatibility with other apps/systems
php
PHP related ticket
Milestone
Nextcloud (please complete the following information):
Is your feature request related to a problem? Please describe.
On a nextcloud instance I'm using as a user, there is often a large number of both polls and forms that I can/am requested to fill out. Scrolling through the list to find the right one is sometimes a bit tiresome, especially if I have forgotten if what I'm looking for is a poll or a form.
Describe the solution you'd like
I'd like to be able to search for forms by their title and ideally also their description text.
AFAIK one "only" needs to implement the
OCP\Search\IProvider
interface for that and register it.Describe alternatives you've considered
There is also
\OCP\Search\IFilteringProvider
which would allow to add additional filters like "already participated" or "expires soon". Not sure about the benefit of that though …Additional context
The polls app is already doing this: https://github.com/nextcloud/polls/blob/04a447e81021882f93ea895616dde8dbab643f5d/lib/Provider/SearchProvider.php
Apart from that, thank you for the great app! It's a pleasure to use it :)
The text was updated successfully, but these errors were encountered: