IGS / gEAR

The gEAR Portal was created as a data archive and viewer for gene expression data including microarrays, bulk RNA-Seq, single-cell RNA-Seq and more.
https://umgear.org
GNU Affero General Public License v3.0
10 stars 5 forks source link

V2 - De-duplicate code within the expression and projection pages #690

Open adkinsrs opened 3 weeks ago

adkinsrs commented 3 weeks ago

Currently much of the functionality is repeated in both the expression and projection viewer pages. It would be nice to refactor the code to deduplicate functions, event callbacks, etc. and put them in a separate "viewer_common.js" script, much like how the duplicated code from the curators is in the curator_common.js script. The CSS can also be refactored in the same fashion as well. This can ensure that both pages retain the same styles and functionality for the common parts without worry of a divergence