Skip to content

Bugfix/creating a feature should be the default in the feature diagram editor #739#1760

Merged
kbirken merged 18 commits into
maintenance/mps20241from
bugfix/Creating-a-Feature-should-be-the-default-in-the-feature-diagram-editor-#739
Jun 30, 2026
Merged

Bugfix/creating a feature should be the default in the feature diagram editor #739#1760
kbirken merged 18 commits into
maintenance/mps20241from
bugfix/Creating-a-Feature-should-be-the-default-in-the-feature-diagram-editor-#739

Conversation

@dbinkele

@dbinkele dbinkele commented Apr 21, 2026

Copy link
Copy Markdown
Member

solves IETS3/iets3.core#739

@dbinkele dbinkele requested review from kbirken and mfsoliveira and removed request for arimer and jonaskraemer April 21, 2026 13:51
…ould-be-the-default-in-the-feature-diagram-editor-#739
…ould-be-the-default-in-the-feature-diagram-editor-#739
…ould-be-the-default-in-the-feature-diagram-editor-#739

@kbirken kbirken left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

When a new node in the feature model tree is created, it is always a Feature now. The ticket says

switching a Feature to a FeatureInclude should be done differently (e.g., via pressing :)

Unfortunately, pressing : after the feature name does not convert it into a FeatureModelInclude anymore (the ticket still assumes this is working, but we obviously had a regression). Now the only way to create a FeatureModelInclude is by intention. Pls. fix the regression, so that pressing : converts a Feature to a FeatureInclude. Also add a test so that functionality does not get lost anymore.

@kbirken kbirken left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I updated the CHANGELOG and fixed an old parametric intention which is used for switching between Feature and FeatureModelInclude nodes (it basically just changed the type, but lost all other information like cardinality and constraints, which is bad).

The PR looks good now, approved.

…ould-be-the-default-in-the-feature-diagram-editor-#739
@kbirken kbirken enabled auto-merge June 30, 2026 11:30
@kbirken kbirken merged commit 0c90b6b into maintenance/mps20241 Jun 30, 2026
2 checks passed
@kbirken kbirken deleted the bugfix/Creating-a-Feature-should-be-the-default-in-the-feature-diagram-editor-#739 branch June 30, 2026 11:48
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.

2 participants