jamiewaese / ePlant

ePlant is a data visualization tool for integrating and exploring multiple levels of biological data.
MIT License
2 stars 1 forks source link

reset GeneOfFocus when user clicks on any open annotation window #58

Closed jamiewaese closed 10 years ago

jamiewaese commented 11 years ago

Great stuff this week!

Imagine a user opening a few annotation popups and lining them up on the side of the screen like little postie notes of items they want to explore later. When he wants to view one thing or another, he would click on the tool icons in each box to quickly take him to that particular view for that particular gene. The combo box takes too many steps to change GeneOfFocus, and it's pretty old school. It would be more intuitive if people could just click on the tool in whichever box they're interested in.

When an annotation popup is the GeneOfFocus, let's change the grey bar to green (#99CC00) to indicate it's active.

Let's also keep the annotation popup windows active when people switch views. It's useful to keep them up if you've selected a couple things you want to switch back and forth between. If people want to close them they will.

They should probably disappear on the select plant page, but then return if the user returns back to the same plant. In a perfect world, if the user selects a bunch of genes from Arabidopsis, then navigates up to the top and selects Poplar, each of the Arabidopsis popups they've selected would be re-populated with a list of orthologous genes, the equivalent gene in the new plant.

Can you add a maximize / minimize button next to the X, so the annotations take less space if the user isn't ready to close it but wants to push it out of the way?

yuzhenmi commented 11 years ago

If we don't remove annotation popups when the view changes, then I think it would not be appropriate to remove them in SpeciesView. The annotation popup from another species may be useful for orthologous comparison (imagine the user pinning annotation popup for two orthologs, and compare their encoded protein structures via MoleculeView by clicking on the MoleculeView icon in the popups).

Also, automatically switching annotation popups to orthologs when species changes would not be a simple task (plus the user wouldn't be able to do what I described above). I think we should let another View module provide comparative genomics data.

yuzhenmi commented 11 years ago

Plus, one-to-one orthologous relationship does not exist for many genes.

jamiewaese commented 11 years ago

You're right. So if there are open popups, we keep them open until the user closes them.

On Nov 14, 2013, at 10:39 PM, Hans Yu notifications@github.com wrote:

If we don't remove annotation popups when the view changes, then I think it would not be appropriate to remove them in SpeciesView. The annotation popup from another species may be useful for orthologous comparison (imagine the user pinning annotation popup for two orthologs, and compare their encoded protein structures via MoleculeView by clicking on the MoleculeView icon in the popups).

Also, automatically switching annotation popups to orthologs when species changes would not be a simple task (plus the user wouldn't be able to do what I described above). I think we should let another View module provide comparative genomics data.

— Reply to this email directly or view it on GitHub.