epam / epam/ketcher

Macro: If selection is applied to entire structure, when you press Undo, it removes last added bond and highlight remains on monomers between which this bond was

Open
#3,948 1 comment 0 reactions 1 assignee View on GitHub

@rrodionov91 is already working on this.

Since Jan 24, 2024.

3.7.0-rc.1 confirmed Macromolecules Priority: Low
Dominant language
TypeScript
Stars
886
Forks
262
Avg merge
3d 19h
Merged PRs (30d)
110

Description

Steps to Reproduce

  1. Switch to Macro mode
  2. Add monomers on canvas and connect them by bond
  3. Select all structure with Selection tool and press Undo

Actual behavior
If selection is applied to entire structure, when you press Undo, it removes last added bond and highlight remains on monomers between which this bond was. When you press Redo, a bond is added and highlight appears only on it.

Expected behavior
If selection is applied to entire structure, when you press Undo, it removes last added bond and highlight is removed from the entire structure. When you press Redo, a bond is added and highlight is not appears.

Screenshots

https://github.com/epam/ketcher/assets/62464241/8da88d2a-6b0d-4ac1-9607-f0e04f40f171

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser Chrome
  • Version 112.0.5615.138 (Official Build) (64-bit)

Ketcher version
[Version 2.18.0-rc.2]

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.