epam / ketcher

Web-based molecule sketcher
https://lifescience.opensource.epam.com/ketcher/demo.html
Apache License 2.0
505 stars 175 forks source link

Highlighting attachment point of expanded monomers on hover in micromolecules mode #5797

Open ljubica-milovic opened 1 month ago

ljubica-milovic commented 1 month ago

Background

When monomers get expanded in molecules mode the user expects to see only atoms and bonds, but currently they would see leaving group atoms of an unoccupied attachment points as R-groups. To still differentiate leaving group atoms and the attachment atoms from atoms who do not participate in APs, they should be highlighted in some way on monomer (and that atom) hover.

Requirements

  1. When monomers get expanded in small molecules mode, users should see leaving group atoms as atoms and not R-groups.
  2. Leaving group atom(s) should be highlighted in one way on monomer hover and on hover over that atom(s) (see mockups).
  3. Attachment point atom(s) of unoccupied attachment points should be highlighted in a second way on monomer hover and on hover over that atom(s) (see mockups).
  4. Attachment point atom(s) of occupied attachment points should be highlighted in a third way on monomer hover and on hover over that atom(s) (see mockups).

UX

TBD