-
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
#5186 - Add ambiguous monomers to the library and allow their addition to the canvas #5358
Conversation
3c32948
to
afe6429
Compare
position, | ||
); | ||
if (isAmbiguousMonomerLibraryItem(this.monomer)) { | ||
modelChanges = this.editor.drawingEntitiesManager.addVariantMonomer( |
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.
I suppose this method of drawingEntitiesManager
has to be renamed as well
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.
Will do in next PR
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.
There was some left gap previously for presets, now it is present for 'No natural analogue' group, probably it might be fixed as well?
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.
Done
@@ -47,12 +50,13 @@ const MonomerItem = ({ | |||
disabled={isDisabled} | |||
data-testid={monomerKey} | |||
data-monomer-item-id={monomerKey} | |||
isVariantMonomer={item.isAmbiguous} |
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.
This prop has to be renamed too
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.
Will do in next PR
…n to the canvas - added ambiguous monomers to the library
- updated snapshots
- fixed chems library
97d66cc
to
b1f88e3
Compare
…n to the canvas (#5358) - added ambiguous monomers to the library - updated screenshots
How the feature works? / How did you fix the issue?
Check list
#1234 – issue name