Skip to content

#8792 Rename monomer symbol to monomer code in the monomer creation wizard.#8796

Merged
rrodionov91 merged 5 commits into
masterfrom
copilot/rename-monomer-symbol-to-code
Dec 9, 2025
Merged

#8792 Rename monomer symbol to monomer code in the monomer creation wizard.#8796
rrodionov91 merged 5 commits into
masterfrom
copilot/rename-monomer-symbol-to-code

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Nov 28, 2025

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

Renames "Symbol" to "Code" in the monomer creation wizard UI and updates associated validation error messages.

Changes:

  • MonomerCreationWizardFields.tsx: Changed attribute field title from "Symbol" to "Code"
  • MonomerCreationWizard.constants.ts: Updated error messages:
    • invalidSymbol: "The monomer code must consist only of..."
    • symbolExists: "The code must be unique amongst..."
  • monomer-creation.spec.ts: Updated test assertions to match new messages

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
Original prompt

This section details on the original issue you should resolve

<issue_title>Rename monomer symbol to monomer code in the monomer creation wizard.</issue_title>
<issue_description>Background

A slight change for a more meaningful name of the monomer property.

Requirements

  1. In the attributes panel of the monomer creation wizard, instead of Symbol the text should be Code.

2.1. The previous error message "The monomer symbol must consist only of uppercase and lowercase letters, numbers, hyphens (-), underscores (_), and asterisks (*)." should be changed to "The monomer code must consist only of uppercase and lowercase letters, numbers, hyphens (-), underscores (_), and asterisks (*)."

2.2. The previous error message "The symbol must be unique amongst peptide, RNA, or CHEM monomers." shoudl be changed to "The code must be unique amongst peptide, RNA, or CHEM monomers."
</issue_description>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI changed the title [WIP] Rename monomer symbol to monomer code in creation wizard #6655 – Rename monomer symbol to monomer code in the monomer creation wizard Nov 28, 2025
Copilot AI requested a review from AlexeyGirin November 28, 2025 12:46
@AlexeyGirin AlexeyGirin marked this pull request as ready for review November 28, 2025 13:13
@AlexeyGirin AlexeyGirin changed the title #6655 – Rename monomer symbol to monomer code in the monomer creation wizard #8792 Rename monomer symbol to monomer code in the monomer creation wizard. Nov 28, 2025
Copilot AI and others added 4 commits December 4, 2025 11:59
Co-authored-by: AlexeyGirin <26869421+AlexeyGirin@users.noreply.github.com>
@rrodionov91 rrodionov91 force-pushed the copilot/rename-monomer-symbol-to-code branch from f48d116 to e93a2bf Compare December 4, 2025 11:02
@AlexeyGirin AlexeyGirin closed this Dec 4, 2025
@AlexeyGirin AlexeyGirin reopened this Dec 4, 2025
@AlexeyGirin
Copy link
Copy Markdown
Collaborator

Comment from @ljubica-milovic: Looks good

@rrodionov91 rrodionov91 merged commit a15aeab into master Dec 9, 2025
15 checks passed
@rrodionov91 rrodionov91 deleted the copilot/rename-monomer-symbol-to-code branch December 9, 2025 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rename monomer symbol to monomer code in the monomer creation wizard.

3 participants