-
Notifications
You must be signed in to change notification settings - Fork 0
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
Feature/bubbles revised 2 #283
Conversation
- #264 - When you click a bubble, it should show you the genes in the bubble. Basically, select the children. - Drag anywhere on the cluster to move it. - All uppercase labels instead of lowercase for now. It's better than lowercase, and getting everything nicely in title case requires cleaning the database. - Bubbles shouldn't stay expanded. They should auto-close when you click away. - When you expand, if it expands and overflows the screen it should it to screen.
…en if the whitespace is in the compound hit area rectangle #264
Bypass the bubblesets implementation and just copy the SVG and transform it manually during the drag to keep things fast. Revised bubble/cluster behaviour #274
…es are being moved #274
- If you click a bubble where it overlaps with an edge, the bubble will get the event. - Compound labels are on top of edges and easier to read.
It looks like the dev server doesn't like my custom build of cytoscape-layers. I have no idea how to fix the issue. To test this branch please check it out locally. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since I don't have the modified version of cytoscape-layers, the cluster button appears at the canvas' top-left corner, too far from the cluster, so I cannot click and test it.
Other than that, I like the idea, though we might have to tweak the button style a bit more, as Mike mentioned.
did you try running 'npm install' ? |
Yes, but "npm i" did not fix it. |
The issue is that in this branch EM-web and the bubble-clusters extension both depend on different versions of cytoscape-layers. I have a fairly recent version of node on my computer that seems to support this. I bet you and the dev server have older versions of node. |
I changed the behaviour a bit to support touch devices better.
With mouse... Screen.Recording.2024-04-18.at.10.39.49.AM.movWith touch... Screen.Recording.2024-04-18.at.10.42.32.AM.mov |
General information
Associated issues: #264
Associated PR (this PR extends the previous PR): #274
Checklist
Author:
Reviewers:
Notes
This PR branches off from Max's PR here: #274
This is a separate PR because it contains many changes that need to be discussed.
This PR does the following...
Reverts some of the style changes from PR #274
Reverts the behaviour where clicking away from a cluster collapses it.
New behaviour:
Issues: