epam / ketcher

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

Macro: RNA Builder. Delete presets. #3041

Closed isidoraotasevic closed 11 months ago

isidoraotasevic commented 1 year ago

Background: This task covers deleting RNA presets in RNA library.

Requirements:

User deletes RNA presets in the following way: • User hovers over chosen RNA preset in preset section in RNA library. • With a right click on a mouse, the collapsing panel appears displaying Delete option. • User clicks on Delete button. • Once delete button is clicked, the warning message appears: “Are you sure you want to delete RNA preset?”. (TBD with UX) • Two following options appear: Yes and No. • User confirms to delete RNA preset by clicking “Yes”. • RNA preset is removed from RNA library

User chooses not to delete presets from RNA library: • User confirms not to delete RNA preset by clicking “No”. • RNA preset stays in RNA library

Inability to delete and edit default RNA presets: • User can not delete/edit default RNA presets, buttons are disabled

Displaying a star for adding presets to favorites:

** Figma link https://www.figma.com/file/MZ28kJRelnXvBodXu54UKh/Macromolecules-(Polymer-Editor)-Playground?type=design&node-id=5149-9013&mode=design&t=1YYvaoEyNpvgCShy-0

Andrey-Antonov commented 1 year ago

image

Andrey-Antonov commented 1 year ago

image context menu positioning

MartaWilliams commented 11 months ago

Tested