PHI-base / PHI5_web_display

PHI5_web_display will allow to display PHI-Canto data
1 stars 0 forks source link

'Expand all' button missing from most annotation sections #23

Closed jseager7 closed 2 years ago

jseager7 commented 2 years ago

Related: #22

The PHI Phenotype section on the gene page has an 'Expand All' button that expands or collapses all annotations in the section. However, this button isn't shown on other sections where the annotations can expand, such as GO Molecular Function, Gene for Gene Phenotype, Disease, and so on.

image

image

The 'Expand All' button should be added for every section that has expandable annotations: I think this includes every section except Entry Summary, Pathogen, Host, and Publication.

Note that the button could be hidden when there is only one annotation in the section, but this isn't essential.

Molecular-Connections commented 2 years ago

Expand all option has been implemented in other blocks like GO Molecular Function, Gene for Gene Phenotype, Disease, and so on. Currently it's done for single annotations also . Github-34

jseager7 commented 2 years ago

We agreed that it was fine to leave the 'Expand all' button visible on sections with only one annotation.