sparna-git / Sparnatural

Sparnatural : visual knowledge graph explorer with SPARQL, in the browser, configurable with SHACL
http://sparnatural.eu
GNU Lesser General Public License v3.0
225 stars 41 forks source link

Replace easyautocomplete with Awesomeplete #536

Closed tfrancart closed 10 months ago

tfrancart commented 11 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.