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

Preview: Reaction's name or conditions text wraps incorrectly: the line should only break after a complete word, ensuring no more than 30 characters per line #2646

Open
ivanmaslow opened this issue Nov 21, 2024 · 1 comment · May be fixed by #2640
Assignees
Labels
Bug Cascade reactions MMPK Scope for Pathway reactions, View-only mode, Static images, Custom buttons and Ketcher API changes Priority: Medium

Comments

@ivanmaslow
Copy link
Collaborator

ivanmaslow commented Nov 21, 2024

Steps to Reproduce

  1. Load from RDF the reaction with name and conditions (e.g.: 12345 678901234567890123456789 0)
    text-issue-6.zip

Actual Result

  • Reaction's name and conditions text wraps not after the 30th character:
    image
    image

Expected Result

  • Reaction's name and conditions text wraps after the 30th character:
    image

Environment details

  • Tested on aws_ci SA env with Ketcher-master and Indigo-2404-ket-to-rdf branches:
  • Ketcher [Version 2.28.0-dev.1] Build at 2024-11-20; 19:58:39;
  • Indigo Version 1.27.0-dev.1.43-gec603913-wasm32-wasm-clang-12.0.0
  • Desktop, Windows 11 Enterprise
  • Chrome Version 131.0.6778.86 (Official Build) (64-bit)

Notes

@ivanmaslow
Copy link
Collaborator Author

ivanmaslow commented Nov 22, 2024

Successfully retested on aws_ci SA env with Ketcher-master and Indigo-2404-ket-to-rdf branches:

  • Ketcher [Version 2.28.0-dev.1] Build at 2024-11-22; 06:47:10
  • Indigo Version 1.27.0-dev.1.49-gbbd67f22-wasm32-wasm-clang-12.0.0
  • Desktop, Windows 11 Enterprise
  • Chrome Version 131.0.6778.86 (Official Build) (64-bit)

The cases below are fixed:

@ivanmaslow ivanmaslow changed the title Reaction's name or conditions text wraps incorrectly: the line should only break after a complete word, ensuring no more than 30 characters per line Preview: Reaction's name or conditions text wraps incorrectly: the line should only break after a complete word, ensuring no more than 30 characters per line Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Cascade reactions MMPK Scope for Pathway reactions, View-only mode, Static images, Custom buttons and Ketcher API changes Priority: Medium
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants