You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Details see ontoportal-lirmm/bioportal_web_ui#647, In summary, the behavior that is repeated a lot in our UI is that we fetch concepts URIs first in the UI then for each of them an Ajax call is sent to fetch the label of the concepts.
This is done for Ontology names (or acronym), Concept labels, Scheme labels, Collection labels and SKOS xl labes.
The endpoint used are (can be found config/routes.rb):
get'ajax/label_xl/label',to: "label_xl#show_label"get'/ajax/classes/label'=>'concepts#show_label'get'ajax/schemes/label',to: "schemes#show_label"get'ajax/collections/label',to: "collections#show_label"get'/ajax/json_ontology'=>'ajax_proxy#json_ontology'# with ?ontology=:acronym
what needs to be done is:
Extract a generic component, that has two inputs: the starting data (a URI for example) and a link to fetch the label
Don't use JQuery to do the Ajax call, use a turbo frame
Details see ontoportal-lirmm/bioportal_web_ui#647, In summary, the behavior that is repeated a lot in our UI is that we fetch concepts URIs first in the UI then for each of them an Ajax call is sent to fetch the label of the concepts.
This is done for Ontology names (or acronym), Concept labels, Scheme labels, Collection labels and SKOS xl labes.
The endpoint used are (can be found
config/routes.rb
):what needs to be done is:
The text was updated successfully, but these errors were encountered: