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
7 stars 1 forks source link

Upgrade angular primeng #278

Closed belkassaby closed 1 year ago

belkassaby commented 1 year ago

This PR is a refactoring PR and update of angular & primeng. The refactoring is about removing all phenopacket sub elements into the shared/table folder as these are phenopacket sub elements shown in tables, used in PhenoCreator and in phenopacketList components. Then I removed PhenopacketModule and created a PhenopacketListModule which declares the leftover components in Phenoapacket : PhenopacketComponet, MetadataComponent, IndividualDialogComponent. The PR also has the private info checkbox that was previously present in both the Individual edit form and the InterpretationDialog, moved to the validation part of the stepper. This allows for cleaner and more easily managing the state of this checkbox. (which is updated through the PHenopacketStepperService).