Skip to content
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

Choose both directions of wedged/hashed bonds from right-clicking the bond #4982

Closed
AlekseiKhariukov opened this issue Jul 3, 2024 · 2 comments · Fixed by #5514
Closed

Comments

@AlekseiKhariukov
Copy link
Collaborator

AlekseiKhariukov commented Jul 3, 2024

User should be able to change the direction of a directed bond on canvas via bond context menu. For this purpose a new menu item 'Change direction' should be added to the bond context menu. The new item should appear above 'Attach S-Group...'.

The new menu item should appear for the following types of bond only:

  • Dative
  • Single Up
  • Single Down
  • Single Up/Down

The new menu item should change bond direction to the opposite.

image

(?) Related Indigo task - #2069

@AnnaKosol
Copy link
Contributor

Verified
Снимок экрана 2024-09-20 в 13 01 05

Environment:
Ketcher Version 2.25.0-rc.2 Build at 2024-09-20; 05:37:02
Indigo Version 1.25.0-dev.1.23-gb97a4a6d-wasm32-wasm-clang-12.0.0
Chrome 128.0.6613.138
MacOs 14.6

@AnnaKosol
Copy link
Contributor

Verified - there is a new section in the menu and direction is changed.
Screenshot 2024-10-08 at 12 14 57

Environment
https://rc.test.lifescience.opensource.epam.com/KetcherDemoSA/index.html
Ketcher Version 2.26.0-rc.1 Build at 2024-10-04; 18:45:04
Indigo Version 1.25.0-rc.1.0-g704673fcb-wasm32-wasm-clang-19.0.0
MacOs
Chrome 129.0.6668.71 (Official Build) (arm64)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants