Closed jseager7 closed 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 .
We agreed that it was fine to leave the 'Expand all' button visible on sections with only one annotation.
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.
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.