epam / ketcher

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

Warning when the user tries to save an image to inappropriate formats #5105

Open yauhen-karmyzau opened 1 month ago

yauhen-karmyzau commented 1 month ago

As a User, I want to receive a warning when I try to save an image to inappropriate or unsupported formats, so that I can avoid data loss or corruption and ensure the integrity of my chemical structure diagrams.

Acceptance Criteria:

  1. When a user attempts to save an image to an inappropriate or unsupported format, the application should display a warning message.

Image

  1. The warning message should clearly inform the user that the chosen format is inappropriate or unsupported, and may result in data loss or corruption.
  2. 3. The warning message should suggest appropriate or supported formats for saving the image.
  3. If the user chooses to proceed despite the warning, the application should attempt to save the image to the chosen format, but handle any errors gracefully and provide clear error messages.
ivanmaslow commented 1 month ago

Allowed Formats: Ket, SVG, PNG, CDXML, BASE64 CDX, CDX.