Skip to content

Conversation

@aonnikov
Copy link
Member

No description provided.

Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
@huly-github-staging
Copy link

Connected to Huly®: UBERF-13810

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes a bug where outside clicks would close popup windows even when they weren't the topmost popup in the stack. The fix ensures that only the top-level popup responds to outside click events.

  • Added popup ID tracking to identify when a popup is the topmost in the stack
  • Modified click handler to only close popup when it's the current top-level popup
  • Refactored import structure to use local plugin reference

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
documentComments.ts Added popup ID configuration and refactored imports to support popup hierarchy tracking
plugin.ts Added AddCommentPopup ID resource definition for popup identification
AddCommentPopup.svelte Implemented top-level popup detection logic to prevent inappropriate closure on outside clicks

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

lexiv0re
lexiv0re previously approved these changes Sep 29, 2025
Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@aonnikov aonnikov requested a review from lexiv0re September 30, 2025 04:21
@lexiv0re lexiv0re merged commit 1386029 into develop Sep 30, 2025
15 checks passed
@lexiv0re lexiv0re deleted the qfix-add-comment-mention branch September 30, 2025 05:34
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.

3 participants