Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate URI to Label Ajax feature #583

Open
3 tasks
syphax-bouazzouni opened this issue Jul 4, 2024 · 0 comments
Open
3 tasks

Migrate URI to Label Ajax feature #583

syphax-bouazzouni opened this issue Jul 4, 2024 · 0 comments
Assignees
Labels
enhancement project managment issues used as development tasks in our projects

Comments

@syphax-bouazzouni
Copy link
Contributor

syphax-bouazzouni commented Jul 4, 2024

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:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement project managment issues used as development tasks in our projects
Projects
None yet
Development

No branches or pull requests

2 participants