Skip to content

#8397 - Context menu remains visible after creating cyclic structure via right-click menu - #8601

Merged
rrodionov91 merged 3 commits into
masterfrom
8397-context-menu-remains-visible-after-creating-cyclic-structure-via-right-click-menu
Nov 21, 2025
Merged

rrodionov91 merged 3 commits into
masterfrom
8397-context-menu-remains-visible-after-creating-cyclic-structure-via-right-click-menu

Conversation

@KristinaKasyanovskaya

@KristinaKasyanovskaya KristinaKasyanovskaya commented Nov 20, 2025 •

Copy link
Copy Markdown
Collaborator

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

  • After clicking Create cyclic structure, the context menu automatically close.

  • The cyclic structure is generated, and the canvas regain focus immediately.

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

…visible-after-creating-cyclic-structure-via-right-click-menu
@rrodionov91
rrodionov91 merged commit 63da604 into master Nov 21, 2025
15 checks passed
@rrodionov91
rrodionov91 deleted the 8397-context-menu-remains-visible-after-creating-cyclic-structure-via-right-click-menu branch November 21, 2025 10:28
AlexeyGirin added a commit that referenced this pull request Nov 21, 2025
…ite JS to TS) 16 (#8630)

* Initial plan

* Refactor cliparea.jsx to TypeScript with proper prop type validation

Co-authored-by: AlexeyGirin <26869421+AlexeyGirin@users.noreply.github.com>

* fix: Context menu remains visible after creating cyclic structure via right-click menu (#8601)

* #7326 - Preview: Delete option is unavailable when right-clicking on a bond in macro mode (#8636)

* fix: Delete option is available when right-clicking on a bond in macro mode

* test: update snapshots

* fix: Selection tool icon open dropdown menu as in Micro mode (#8621)

* #8612 Refactor: Prefer tag over ARIA role (part 4) (#8615)

* Initial plan

* Replace div role="button" with semantic button elements

Co-authored-by: AlexeyGirin <26869421+AlexeyGirin@users.noreply.github.com>

* Remove redundant aria-disabled attribute in favor of native disabled

Co-authored-by: AlexeyGirin <26869421+AlexeyGirin@users.noreply.github.com>

* f1

* f2

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: AlexeyGirin <26869421+AlexeyGirin@users.noreply.github.com>
Co-authored-by: Alexey Girin <agirin@mail.ru>

* #8504 Refactor: Variables are missing in props validation (let's rewrite JS to TS) 7 (#8616)

* Initial plan

* Convert TypeChoice.jsx to TypeScript with proper type definitions

Co-authored-by: AlexeyGirin <26869421+AlexeyGirin@users.noreply.github.com>

* Add explanatory comments for type compatibility and required props

Co-authored-by: AlexeyGirin <26869421+AlexeyGirin@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: AlexeyGirin <26869421+AlexeyGirin@users.noreply.github.com>

* #8619 Refactor: Expected a for-of loop instead of a for loop with this simple iteration (part 4) (#8620)

* Initial plan

* Refactor for loops to for-of loops in utils.js

Co-authored-by: AlexeyGirin <26869421+AlexeyGirin@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: AlexeyGirin <26869421+AlexeyGirin@users.noreply.github.com>

* #8563 Refactor: Mark the props of the component as read-only (#8622)

* Initial plan

* Mark component props as read-only using Readonly utility type

Co-authored-by: AlexeyGirin <26869421+AlexeyGirin@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: AlexeyGirin <26869421+AlexeyGirin@users.noreply.github.com>

* #8626 Refactor: Variables are missing in props validation (let's rewrite JS to TS) 18 (#8632)

* Initial plan

* Refactor buttonlist.jsx to TypeScript with proper type definitions

Co-authored-by: AlexeyGirin <26869421+AlexeyGirin@users.noreply.github.com>

* Fix parameter naming: rename 'multipl' to 'multiple' in oneOrMore function

Co-authored-by: AlexeyGirin <26869421+AlexeyGirin@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: AlexeyGirin <26869421+AlexeyGirin@users.noreply.github.com>

* #8627 Refactor: Variables are missing in props validation (let's rewrite JS to TS) 19 (#8633)

* Initial plan

* Convert ComboBox component from JSX to TypeScript with proper prop types

Co-authored-by: AlexeyGirin <26869421+AlexeyGirin@users.noreply.github.com>

* Address code review feedback - improve type safety and JSX rendering

Co-authored-by: AlexeyGirin <26869421+AlexeyGirin@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: AlexeyGirin <26869421+AlexeyGirin@users.noreply.github.com>

* #8628 Refactor: Variables are missing in props validation (let's rewrite JS to TS) 20 (#8634)

* Initial plan

* Convert errorPopover.jsx to TypeScript with proper type definitions

Co-authored-by: AlexeyGirin <26869421+AlexeyGirin@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: AlexeyGirin <26869421+AlexeyGirin@users.noreply.github.com>

* Initial plan

* f1

* f2

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: AlexeyGirin <26869421+AlexeyGirin@users.noreply.github.com>
Co-authored-by: Kristina <kristina_kasyanovskaya@epam.com>
Co-authored-by: Alexey Girin <agirin@mail.ru>
KukushkinDmi1riy pushed a commit that referenced this pull request Dec 3, 2025
…ite JS to TS) 16 (#8630)

* Initial plan

* Refactor cliparea.jsx to TypeScript with proper prop type validation

Co-authored-by: AlexeyGirin <26869421+AlexeyGirin@users.noreply.github.com>

* fix: Context menu remains visible after creating cyclic structure via right-click menu (#8601)

* #7326 - Preview: Delete option is unavailable when right-clicking on a bond in macro mode (#8636)

* fix: Delete option is available when right-clicking on a bond in macro mode

* test: update snapshots

* fix: Selection tool icon open dropdown menu as in Micro mode (#8621)

* #8612 Refactor: Prefer tag over ARIA role (part 4) (#8615)

* Initial plan

* Replace div role="button" with semantic button elements

Co-authored-by: AlexeyGirin <26869421+AlexeyGirin@users.noreply.github.com>

* Remove redundant aria-disabled attribute in favor of native disabled

Co-authored-by: AlexeyGirin <26869421+AlexeyGirin@users.noreply.github.com>

* f1

* f2

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: AlexeyGirin <26869421+AlexeyGirin@users.noreply.github.com>
Co-authored-by: Alexey Girin <agirin@mail.ru>

* #8504 Refactor: Variables are missing in props validation (let's rewrite JS to TS) 7 (#8616)

* Initial plan

* Convert TypeChoice.jsx to TypeScript with proper type definitions

Co-authored-by: AlexeyGirin <26869421+AlexeyGirin@users.noreply.github.com>

* Add explanatory comments for type compatibility and required props

Co-authored-by: AlexeyGirin <26869421+AlexeyGirin@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: AlexeyGirin <26869421+AlexeyGirin@users.noreply.github.com>

* #8619 Refactor: Expected a for-of loop instead of a for loop with this simple iteration (part 4) (#8620)

* Initial plan

* Refactor for loops to for-of loops in utils.js

Co-authored-by: AlexeyGirin <26869421+AlexeyGirin@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: AlexeyGirin <26869421+AlexeyGirin@users.noreply.github.com>

* #8563 Refactor: Mark the props of the component as read-only (#8622)

* Initial plan

* Mark component props as read-only using Readonly utility type

Co-authored-by: AlexeyGirin <26869421+AlexeyGirin@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: AlexeyGirin <26869421+AlexeyGirin@users.noreply.github.com>

* #8626 Refactor: Variables are missing in props validation (let's rewrite JS to TS) 18 (#8632)

* Initial plan

* Refactor buttonlist.jsx to TypeScript with proper type definitions

Co-authored-by: AlexeyGirin <26869421+AlexeyGirin@users.noreply.github.com>

* Fix parameter naming: rename 'multipl' to 'multiple' in oneOrMore function

Co-authored-by: AlexeyGirin <26869421+AlexeyGirin@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: AlexeyGirin <26869421+AlexeyGirin@users.noreply.github.com>

* #8627 Refactor: Variables are missing in props validation (let's rewrite JS to TS) 19 (#8633)

* Initial plan

* Convert ComboBox component from JSX to TypeScript with proper prop types

Co-authored-by: AlexeyGirin <26869421+AlexeyGirin@users.noreply.github.com>

* Address code review feedback - improve type safety and JSX rendering

Co-authored-by: AlexeyGirin <26869421+AlexeyGirin@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: AlexeyGirin <26869421+AlexeyGirin@users.noreply.github.com>

* #8628 Refactor: Variables are missing in props validation (let's rewrite JS to TS) 20 (#8634)

* Initial plan

* Convert errorPopover.jsx to TypeScript with proper type definitions

Co-authored-by: AlexeyGirin <26869421+AlexeyGirin@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: AlexeyGirin <26869421+AlexeyGirin@users.noreply.github.com>

* Initial plan

* f1

* f2

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: AlexeyGirin <26869421+AlexeyGirin@users.noreply.github.com>
Co-authored-by: Kristina <kristina_kasyanovskaya@epam.com>
Co-authored-by: Alexey Girin <agirin@mail.ru>
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.

Context menu remains visible after creating cyclic structure via right-click menu

2 participants