-
Notifications
You must be signed in to change notification settings - Fork 166
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
Add preview for hovering over a bond #4884
Labels
Milestone
Comments
ljubica-milovic
added
draft
feature request
Micromolecules canvas
Bucket: Micromolecules canvas related issues
labels
Jun 25, 2024
ljubica-milovic
removed
the
Micromolecules canvas
Bucket: Micromolecules canvas related issues
label
Jun 26, 2024
ljubica-milovic
changed the title
Add previews for hovering over a bond and while establishing a bond
Add preview for hovering over a bond
Jun 26, 2024
AlexeyGirin
added
the
Test Cases Written
Test cases has been written for that issue
label
Jul 8, 2024
svvald
added a commit
that referenced
this issue
Aug 14, 2024
9 tasks
svvald
added a commit
that referenced
this issue
Aug 20, 2024
svvald
added a commit
that referenced
this issue
Aug 20, 2024
svvald
added a commit
that referenced
this issue
Aug 20, 2024
svvald
added a commit
that referenced
this issue
Aug 20, 2024
svvald
added a commit
that referenced
this issue
Aug 20, 2024
svvald
added a commit
that referenced
this issue
Aug 20, 2024
svvald
added a commit
that referenced
this issue
Aug 20, 2024
svvald
added a commit
that referenced
this issue
Aug 20, 2024
svvald
added a commit
that referenced
this issue
Aug 21, 2024
svvald
added a commit
that referenced
this issue
Aug 21, 2024
svvald
added a commit
that referenced
this issue
Aug 21, 2024
svvald
added a commit
that referenced
this issue
Aug 21, 2024
svvald
added a commit
that referenced
this issue
Aug 21, 2024
svvald
added a commit
that referenced
this issue
Aug 21, 2024
svvald
added a commit
that referenced
this issue
Aug 21, 2024
svvald
added a commit
that referenced
this issue
Aug 22, 2024
rrodionov91
pushed a commit
that referenced
this issue
Aug 23, 2024
This was referenced Aug 30, 2024
Open
This was referenced Sep 5, 2024
Verified. Versions
|
This was referenced Sep 20, 2024
Guch1g0v
pushed a commit
that referenced
this issue
Oct 17, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Background
Requirements
.....1.1. The preview should contain information about both monomers:
the name of the monomer,
the structure of the monomer,
the atoms contained within the attachment points,
the attachment point that participates in the bond (that the user is hovering over) should be marked in teal,
and if the monomer has any other attachment points that participate in other bonds (not the bond that the user is hovering over), that attachment point should be marked in gray.
.....2.1. The preview should appear in relation to the center of the bond (consider that the bond starts in the centers of monomers).
.....2.2. If the bond is vertical, the preview should appear on the left or on the right, depending on availability of space.
.....2.3. If the bond is horizontal, the preview should appear above or bellow, depending on availability of space.
.....2.4. The preview should appear at the appropriate distance from the bond so it doesn't overlap with the monomers who participate in the bond.
..........For example: if the preview shows up on the left side of the bond, the right edge of the preview should be a certain distance from the left edge of the monomer who is further left.
(Image for better understanding)
.
.
4. Hovering over the bond with the select tool should highlight the monomers and the bond the same way it currently is highlighted for hovering over with the bond tool.
Currently, hovering over a bond with the tool bond:
Currently, hovering over a bond with the select tool:
The text was updated successfully, but these errors were encountered: