Closed yuzhenmi closed 10 years ago
The delay sounds good to me.
I don't quite understand your second note. The annotation popups get triggered when mouse is over what?
On 2013-11-20, at 8:58 PM, Hans Yu notifications@github.com wrote:
I've created popup for interactions and implemented the new universal popup for genes, but it's annoying me that these popups come out instantly as I move my mouse over them. So I think I should add a delay timer, just like the gene list popup in ChromosomeView.
Another thing I find annoying is that Cytoscape.js seems to listen for mouse events at the level of the HTML body element. That means any popup dialogs, including modal, cannot prevent mouse events from reaching Cytoscape. So these popups still get triggered even when mouse is over a dialog.
— Reply to this email directly or view it on GitHub.
Say your mouse is over a gene popup. If under your mouse, and the popup, lies a node, the gene popup for that node will still get triggered. I don't think there's anything I can do about it.
Is the interaction viewer broken at the moment?
I can't seem to load any views with more than one gene in them. I just get a white screen and the navigation icons become unresponsive. The popups are moveable, the tabs are changeable, the citation button works. But the screen grab gives a pure white image (grey actually), and the dock icons won't return you to the Species or Home page. Need to reload the page to get out of it.
Note the interactions icon is black too...
On 2013-11-21, at 10:51 PM, Hans Yu wrote:
Say your mouse is over a gene popup. If under your mouse, and the popup, lies a node, the gene popup for that node will still get triggered. I don't think there's anything I can do about it.
— Reply to this email directly or view it on GitHub.
I think Matthew is modifying the interactions web service to incorporate sublocalization information. His debug log is disrupting the JSON output right now.
Hi Hans, Matthew is going to send you the webservice link we use to get the Subcellular localizations from SUBA directly. The DB he was using to get them is out of date. The AIV gets them on the fly from SUBA. N.
......................................... Nicholas Provart, PhD Associate Professor, Plant Cyberinfrastructure & Systems Biology Chair, Bioinformatics SC, Multinational Arabidopsis Steering Committee Member, North American Arabidopsis Steering Committee and IAIC Member, Centre for the Analysis of Genome Evolution and Function
Currently on sabbatical in the Brady Lab at UC Davis
Phone. +1-530-754-9652 Skype. nicholas.provart, Fax. +1-425-675-7036 URL. http://www.csb.utoronto.ca/faculty/provart-nicholas The Bio-Analytic Resource. http://www.BAR.utoronto.ca email. nicholas.provart@utoronto.ca
On Fri, Nov 22, 2013 at 12:59 PM, Hans Yu notifications@github.com wrote:
I think Matthew is modifying the interactions web service to incorporate sublocalization information. His debug log is disrupting the JSON output right now.
— Reply to this email directly or view it on GitHubhttps://github.com/jamiewaese/ePlant/issues/65#issuecomment-29108828 .
Hi Nick, I haven't received the email yet, but I cannot retrieve subcellular localizations from SUBA directly with JavaScript, due to same-domain-policy. The SUBA data must first be retrieved by BAR and then passed to the client-sided JavaScript. So it would either have to be included in Matthew's webservice or I can write a web service that's dedicated to subcellular localizations.
I meant same-origin policy.
It would be good to have such a webservice, as there will also be a "cell view" as part of ePlant (analagous to the Cell eFP that's on the BAR right now), Hans. Best, Nick
......................................... Nicholas Provart, PhD Associate Professor, Plant Cyberinfrastructure & Systems Biology Chair, Bioinformatics SC, Multinational Arabidopsis Steering Committee Member, North American Arabidopsis Steering Committee and IAIC Member, Centre for the Analysis of Genome Evolution and Function
Currently on sabbatical in the Brady Lab at UC Davis
Phone. +1-530-754-9652 Skype. nicholas.provart, Fax. +1-425-675-7036 URL. http://www.csb.utoronto.ca/faculty/provart-nicholas The Bio-Analytic Resource. http://www.BAR.utoronto.ca email. nicholas.provart@utoronto.ca
On Fri, Nov 22, 2013 at 2:52 PM, Hans Yu notifications@github.com wrote:
I meant same-origin policy.
— Reply to this email directly or view it on GitHubhttps://github.com/jamiewaese/ePlant/issues/65#issuecomment-29115729 .
Delay timer added.
I've created popup for interactions and implemented the new universal popup for genes, but it's annoying me that these popups come out instantly as I move my mouse over them. So I think I should add a delay timer, just like the gene list popup in ChromosomeView.
Another thing I find annoying is that Cytoscape.js seems to listen for mouse events at the level of the HTML body element. That means any popup dialogs, including modal, cannot prevent mouse events from reaching Cytoscape. So these popups still get triggered even when mouse is over a dialog.