Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ui5-tooling-modules): inherited properties are not accidentally overwritten by subclass anymore #1136

Merged
merged 1 commit into from
Dec 26, 2024

Conversation

Thodd
Copy link
Collaborator

@Thodd Thodd commented Dec 20, 2024

Fixes the issue with the text property overwriting an inherited text property.
Refer to @ui5/webcomponents-fiori/UserMenuItem.

Same for width and height.

@@ -1 +1 @@
{"namespace":"@ui5/webcomponents-fiori","tag":"ui5-li-notification-group","interfaces":[],"properties":{"collapsed":{"type":"boolean","mapping":"property","defaultValue":false},"growing":{"type":"@ui5/webcomponents.NotificationListGrowingMode","mapping":"property","defaultValue":"None"},"titleText":{"type":"string","mapping":"property"},"read":{"type":"boolean","mapping":"property","defaultValue":false},"loading":{"type":"boolean","mapping":"property","defaultValue":false},"loadingDelay":{"type":"float","mapping":"property","defaultValue":1000},"text":{"type":"string","mapping":"textContent"},"width":{"type":"sap.ui.core.CSSSize","mapping":"style"},"height":{"type":"sap.ui.core.CSSSize","mapping":"style"}},"aggregations":{"items":{"type":"@ui5/webcomponents-fiori.NotificationListItem","multiple":true}},"associations":{},"events":{"toggle":{},"loadMore":{}},"getters":[],"methods":[],"defaultAggregation":"items"}
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is the important part, the text, width and height property vanish for a couple of classes in case it is inherited from a superclass.

Copy link
Member

@petermuessig petermuessig left a comment

Choose a reason for hiding this comment

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

LGTM

@petermuessig
Copy link
Member

E2E test issue is not related - need to fix that separatly

@petermuessig petermuessig merged commit a71be3f into main Dec 26, 2024
4 of 5 checks passed
@petermuessig petermuessig deleted the fix/seamless_webc_inherited_properties branch December 26, 2024 07:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants