FAIRDataPoint icon indicating copy to clipboard operation
FAIRDataPoint copied to clipboard

Implement autocomplete

Open vemonet opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe. I'm always frustrated when I need to fill information because there is no autocomplete

  • I need to go to OLS/BioPortal/LOV to find out the URI of themes I want to use
  • I need to figure out what is the URI I need to use for language (personally I would use lexvo, but I am not even sure it is the right one)

FDP is entirely, and only, about filling metadata, without autocomplete it seems like a really unfinished and unserious product (some quick student project UI). Because helping people filling metadata is the whole point of the application.

Additionally when people are filling metadata for the themes/language they might use slightly different URIs because people tend to make mistake when copy/pasting stuff from the internet if they are not assisted. Which leads to a poor quality of metadata. People might use a not standard URI for the NCIT theme (e.g. https instead of http), which will make the analysis of the metadata harder.

Describe the solution you'd like Basic autocomplete for as many fields you can. Based on existing ontologies when possible. Basically everytime people needs to fill in a URI that comes from existing ontologies there should be an autocomplete. Currently I only see themes and language that would really benefit, but you can probably find more

For example the person deploying a FDP could provide a list of ontologies URL, and those ontologies will be used by the FDP client to perform the autocomplete on different fields (e.g. NCIT and ORDO ontology for the themes)

Additional context I did not described all the fields that will require to have autocomplete because it is quite obvious if you are using the application

If you try to create multiple resources you will notice it quickly.

Not sure if I should put this issue on the fdp-client repo or here, but this seems to be the main repo for the project

vemonet avatar Nov 10 '21 18:11 vemonet

Hi @vemonet, I'll pass this request to the UI team. If you have any experience on the client stack (vue.js mostly), you are more than welcome to submit PR for the autocomplete behaviour.

kburger avatar Feb 23 '22 14:02 kburger