Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connect Forms to Unified Search by Implementing Search Provider #2392

Open
Bibo-Joshi opened this issue Oct 26, 2024 · 2 comments
Open

Connect Forms to Unified Search by Implementing Search Provider #2392

Bibo-Joshi opened this issue Oct 26, 2024 · 2 comments
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

Comments

@Bibo-Joshi
Copy link

Nextcloud (please complete the following information):

  • Nextcloud-Version: [30.0.1]
  • Forms-Version: [4.3.2]

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 :)

@Bibo-Joshi Bibo-Joshi added 0. Needs triage Pending approval or rejection. This issue is pending approval. enhancement New feature or request labels Oct 26, 2024
@Chartman123 Chartman123 added this to the 5.0 milestone Oct 26, 2024
@Chartman123 Chartman123 added good first issue Good for newcomers php PHP related ticket 1. to develop Accepted and waiting to be taken care of integration Compatibility with other apps/systems and removed 0. Needs triage Pending approval or rejection. This issue is pending approval. labels Oct 26, 2024
@Chartman123
Copy link
Collaborator

@Bibo-Joshi if you want you could give it a try and start developping it :)

@Bibo-Joshi
Copy link
Author

Haha, you got me there :D I'm not sure if I'll find the time for that in the forseeable future, unfortunately, plus I'm not very familiar with PHP. Nevertheless, I'll put it on my todo list :) If someone is quicker than me, I'm not sad though 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

2 participants