Skip to content

Edit all instances of monomers from molecules mode#10166

Draft
Copilot wants to merge 3 commits into
masterfrom
copilot/edit-all-instances-of-monomers
Draft

Edit all instances of monomers from molecules mode#10166
Copilot wants to merge 3 commits into
masterfrom
copilot/edit-all-instances-of-monomers

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jun 3, 2026

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

Users can now edit every canvas instance of an existing monomer from molecules mode while preserving the distinction between edited default monomers and new user-made variants.

  • Context menu

    • Added Edit All Instances next to Edit Instance for eligible monomers.
    • Opens the monomer creation wizard with original monomer attributes unchanged.
  • Wizard behavior

    • Loads editable user-facing fields without adding _Copy.
    • Excludes IDT and AxoLabs aliases from the saved edited monomer.
    • Detects RNA preset participation and shows the required type/AP warning.
    • Blocks submit when a preset-participating monomer changes type or loses required APs.
  • Canvas/library update

    • Replaces all matching canvas instances by original type + symbol.
    • Preserves the old library monomer when type/code changes.
    • Replaces the existing library entry when type/code stay the same.

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

Copilot AI changed the title [WIP] Edit all instances of the monomer in creation wizard Edit all instances of monomers from molecules mode Jun 3, 2026
Copilot AI requested a review from AlexeyGirin June 3, 2026 16:37
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.

Edit all instances of the monomer - Editing monomers from molecules mode in the monomer creation wizard

2 participants