Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syncing JBrowse with interface #14

Open
putmantime opened this issue Jul 11, 2017 · 6 comments
Open

Syncing JBrowse with interface #14

putmantime opened this issue Jul 11, 2017 · 6 comments

Comments

@putmantime
Copy link
Collaborator

When clicking on a gene feature in jbrowse the interface should redirect to that gene page.

@putmantime
Copy link
Collaborator Author

I have implemented a callback in the trackList.json gene track that will load the gene page by clicking a gene feature. Needs to be further developed to allow first loading the gene data modal, then selecting to load the gene page in a link.

@putmantime
Copy link
Collaborator Author

I implemented a function called 'load this gene page' to the 'right-click' dropdown list of the gene features. So 'left-click' will again give you the details box and right-click will allow you navigate chlambase to that gene page

@andrewsu
Copy link
Member

Tim, on my browser, left-double-click opens details and right-click opens the menu. However, on web pages I think most people only discover left-single-click actions (which right now currently does nothing). I would suggest having left-single-click open the menu.

@putmantime putmantime reopened this Jul 18, 2017
putmantime added a commit that referenced this issue Jul 19, 2017
…click: gives context menu where details option can be selected
@putmantime
Copy link
Collaborator Author

Desired behavior:
Left click triggers the context menu where you can choose to navigate to gene page or view the details box.

Current behavior :
left-click: navigate directly to gene page
right-click: trigger context menu where you can choose to display details box or highlight gene.

Switching the context menu to the left-click event is proving very difficult as interacting with the DOM in the iframe is much more limited than in the rest of the app.

Will leave this open as I try to find a solution from the JBrowse team.

@putmantime
Copy link
Collaborator Author

Add locust tag to mouse over message

@djow2019
Copy link
Collaborator

djow2019 commented Sep 6, 2018

Based on the JBrowse configuration guide, it doesn't seem possible to switch the onclick functionality of left click with the menu functionality of right click. I changed left click to details and right click to load gene page, with a mouse tip describing both. Not perfect, but comes close to the desired functionality.

@putmantime putmantime removed their assignment Sep 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants