Skip to content

Conversation

@seokho-son
Copy link
Member

No description provided.

Copilot AI review requested due to automatic review settings January 8, 2026 18:01
@seokho-son seokho-son requested a review from yunkon-kim as a code owner January 8, 2026 18:01
Copy link

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 pull request fixes an issue where the wrong MCI (Multi-Cloud Infrastructure) was being selected when using the right-click context menu on the map. The fix introduces a state management mechanism to prioritize context menu selections over dropdown selections.

Key Changes:

  • Introduced a contextMenuSelectedMci variable and getSelectedMciId() helper function to track and prioritize context menu selections
  • Removed event dispatches from the context menu setup to avoid race conditions with updateMciList
  • Updated 9 functions to use getSelectedMciId() instead of direct element access

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@seokho-son
Copy link
Member Author

/approve

@cb-github-robot cb-github-robot merged commit 06a7983 into cloud-barista:main Jan 9, 2026
8 checks passed
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.

2 participants