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

Backmerge: Macro: #3900 - The last letter in RNA Builder name field cannot be deleted #3908

Conversation

chgayane
Copy link
Collaborator

@chgayane chgayane commented Jan 16, 2024

How the feature works? / How did you fix the issue?

The trim() method in the onChangeName function prevented the deletion of the last letter. Adjusted logic to allow for the removal of all characters, while still trimming input for the new state.

Ketcher.v2.18.0.Vite.-.Google.Chrome.2024-01-17.10-39-14.mp4

Check list

  • unit-tests written
  • e2e-tests written
  • documentation updated
  • PR name follows the pattern #1234 – issue name
  • branch name doesn't contain '#'
  • PR is linked with the issue
  • base branch (master or release/xx) is correct
  • task status changed to "Code review"
  • reviewers are notified about the pull request

@chgayane chgayane linked an issue Jan 16, 2024 that may be closed by this pull request
@chgayane chgayane marked this pull request as ready for review January 16, 2024 13:05
@chgayane chgayane requested review from rrodionov91 and removed request for Nitvex January 17, 2024 06:54
@rrodionov91 rrodionov91 merged commit 8e28981 into master Jan 18, 2024
5 checks passed
@rrodionov91 rrodionov91 deleted the 3900-macro-the-last-letter-in-rna-builder-name-field-cannot-be-deleted branch January 18, 2024 12:26
@rrodionov91 rrodionov91 changed the title Macro: #3900 - The last letter in RNA Builder name field cannot be deleted Backmerge: Macro: #3900 - The last letter in RNA Builder name field cannot be deleted Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Macro: The last letter in RNA Builder name field cannot be deleted
4 participants