epam / ketcher

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

New approach and UI for switching between types in sequence mode #4872

Open ljubica-milovic opened 2 weeks ago

ljubica-milovic commented 2 weeks ago

Background

Currently, if the user wants to switch a type in sequence mode they have to stop typing, click once to open the drop down menu, select from the menu, and then continue typing.

Solution

  1. Introduce keyboard commands for switching between types of typing: Ctrl+Alt+R switches to RNA type Ctrl+Alt+D switches to DNA type Ctrl+Alt+P switches to peptide type

  2. The current drop-down menu should be changed to: image 2.1. When hovering over RNA the user should see "RNA (Ctrl+Alt+R)", when hovering over DNA the user should see "DNA (Ctrl+Alt+D)", when hovering over PEP the user should see "Peptides (Ctrl+Alt+P)". 2.2. The default mode for typing is RNA.