TheJacksonLaboratory / PhenopacketLab

An Angular/Springboot web application for the loading, editing, saving of data that follows the Phenopacket Schema
BSD 3-Clause "New" or "Revised" License
8 stars 2 forks source link

Avoid multiple endpoint querying after each component is opened #178

Closed belkassaby closed 1 year ago

belkassaby commented 1 year ago

Definition of done

Instead of querying ontology endpoints multiple times (everytime a component is loaded/reloaded) we should load all ontologies and relevant constants/terms/diseases/phenotypic features only once, when the single-page app is loaded the first time. The loading mechanism shall be implemented using angular services such as this: https://stackoverflow.com/questions/69537986/angular-multiple-reciepients-of-data-from-endpoint

BethSundberg commented 1 year ago

The ontology dropdowns are working nicely.