Skip to content

Enhance nodegroup config Pin icon control logic - #304

Merged
cb-github-robot merged 3 commits into
cloud-barista:mainfrom
seokho-son:main
Jun 8, 2026
Merged

cb-github-robot merged 3 commits into
cloud-barista:mainfrom
seokho-son:main

Conversation

@seokho-son

Copy link
Copy Markdown
Member

Combine separated Pin location controls into one.

Signed-off-by: Seokho Son <shsongist@gmail.com>
Copilot AI review requested due to automatic review settings June 8, 2026 03:01
@seokho-son
seokho-son requested a review from yunkon-kim as a code owner June 8, 2026 03:01

Copilot AI left a comment

Copy link
Copy Markdown

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 refactors the NodeGroup “pin” (region marker) logic by removing the per-action marker mutation codepaths and replacing them with a single renderMapFromConfig() function that rebuilds marker state from the current NodeGroup configuration.

Changes:

  • Replaced incremental marker updates (addRegionMarker, cspPointsCircle.pop/splice, geoCspPointsCircle mutations) with a centralized renderMapFromConfig() refresh.
  • Triggered map re-rendering after key NodeGroup lifecycle events (clear, add/edit, cancel/fail, remove, alternative config, copy config).
  • Extended copyInfraConfig()’s recommendedSpecList entries to include region latitude/longitude fields for map rendering.

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

Comment thread index.js Outdated
Comment thread index.js Outdated
Signed-off-by: Seokho Son <shsongist@gmail.com>
Signed-off-by: Seokho Son <shsongist@gmail.com>
@seokho-son

Copy link
Copy Markdown
Member Author

/approve

@cb-github-robot
cb-github-robot merged commit d374364 into cloud-barista:main Jun 8, 2026
1 check 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.

3 participants