sparna-git / Sparnatural

Sparnatural : Typescript visual SPARQL query builder for knowledge graphs, configurable with SHACL
http://sparnatural.eu
GNU Lesser General Public License v3.0
206 stars 34 forks source link

Replace easyautocomplete with Awesomeplete #536

Closed tfrancart closed 6 months ago

tfrancart commented 6 months ago

We are stuck with easyautocomplete because it does not provide a handle function to build the autocomplete list : either we pass it the full list of labels, or a URL, and it manages to call it. But since we now want to call multiple URLs to build the list, we need our custom function. Plus easyautocomplete is not maintained anymore, and the website is broken. Better move to Awesomeplete : https://projects.verou.me/awesomplete/, which does not depend on JQuery (and has much more Github stars BTW)

See https://projects.verou.me/awesomplete/#advanced-examples the example "Custom list example (based on user input)" : this is what we need to do.