Skip to content

Fix VSN1L/VSN1R profile overwrite being blocked by strict type check - #176

Merged
SukuWc merged 1 commit into
mainfrom
fix/vsn1-overwrite
Jul 14, 2026
Merged

SukuWc merged 1 commit into
mainfrom
fix/vsn1-overwrite

Conversation

@kkerti

@kkerti kkerti commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

overwriteConfigWithEditorConfig() rejected overwrites whenever the active module's type didn't exactly match the cloud config's type, so a VSN1L profile could never be overwritten while VSN1R was active (and vice versa) even though they share a profile format. Extract the VSN1L/VSN1R grouping already used in ConfigTree's isCompatible into a shared isModuleTypeCompatible helper and use it for the overwrite guard.

Fixes intechstudio/grid-editor#1424

overwriteConfigWithEditorConfig() rejected overwrites whenever the
active module's type didn't exactly match the cloud config's type,
so a VSN1L profile could never be overwritten while VSN1R was active
(and vice versa) even though they share a profile format. Extract the
VSN1L/VSN1R grouping already used in ConfigTree's isCompatible into a
shared isModuleTypeCompatible helper and use it for the overwrite guard.

Fixes intechstudio/grid-editor#1424

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

Visit the preview URL for this PR (updated for commit 56b0de8):

https://profile-cloud-dev--pr176-fix-vsn1-overwrite-dmsh6g3h.web.app

(expires Thu, 13 Aug 2026 12:31:14 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 2a004f867edf1347070dd9beedb18755187a6d4e

@SukuWc SukuWc moved this from Todo to Ready for QA in Editor Roadmap Jul 14, 2026
@SukuWc
SukuWc merged commit 5c3093c into main Jul 14, 2026
3 checks passed
@Greg-Orca Greg-Orca moved this from Ready for QA to QA in progress in Editor Roadmap Jul 15, 2026
@Greg-Orca Greg-Orca moved this from QA in progress to Done in Editor Roadmap Jul 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

bug: Profile Cloud: VSN1 overwrite issue

2 participants