Open oliverbarnes opened 3 years ago
Hoping for incremental search here.
Prior Decidim work: Simon dug up our PR for OSP search bar in admin interface; it does the usual web request (GET proposals for ex), passing a query param. So, it's literal search and a full page request.
Good leads from telegram decidim devs group, I'm sorting through these:
Alexandru Lupu, [24 May 2021 at 15:18:57]: Dave , I have used this : SlimSelect , and now you have several oprions for the HTTP endpoint ...
Other way would be to look on how is done the Select Proposals when closing meetings ...
Leio, [24 May 2021 at 16:19:08]: Dave maybe you want to give it a look to the Data Picker documentation: https://docs.decidim.org/en/develop/data-picker/
Ivan Vergés, [24 May 2021 at 16:36:57]: Good luck @leio10 ! Dave there is also (in the admin) the autocomplete https://github.com/decidim/decidim/blob/develop/decidim-admin/lib/decidim/admin/form_builder.rb
Current dropdown was just a quick proof of concept. In real life there might be thousands of potential delegates, so a drop down obviously doesn't scale. We should have a search box that plugs into Decidim's existing search functionality, which allows for searching users.