Skip to content

Edit all instances of monomers from molecules mode#10166

Open
Copilot wants to merge 7 commits into
masterfrom
copilot/edit-all-instances-of-monomers
Open

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

Conversation

Copilot AI commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

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
@rrodionov91 rrodionov91 force-pushed the copilot/edit-all-instances-of-monomers branch from 87dfb90 to 88841c2 Compare June 23, 2026 14:52
@rrodionov91 rrodionov91 marked this pull request as ready for review June 23, 2026 16:16
@rrodionov91 rrodionov91 force-pushed the copilot/edit-all-instances-of-monomers branch from f408f05 to ff1bc71 Compare June 24, 2026 14:01
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

3 participants