-
Notifications
You must be signed in to change notification settings - Fork 173
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
Adds node params to compound container typings #3934
Adds node params to compound container typings #3934
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Small comments
@@ -24,6 +24,12 @@ export default class LuigiCompoundContainer extends HTMLElement { | |||
*/ | |||
deferInit: boolean; | |||
|
|||
/** | |||
* The parameters to be passed to the compound micro frontend. | |||
* @since NEXT_RELEASE_CONTAINER |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure about the NEXT_RELEASE_CONTAINER since nodeParams was added in [email protected]
@since 1.0.0
would be correct here I think
@@ -24,6 +24,12 @@ export default class LuigiCompoundContainer extends HTMLElement { | |||
*/ | |||
deferInit: boolean; | |||
|
|||
/** | |||
* The parameters to be passed to the compound micro frontend. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* The parameters to be passed to the compound micro frontend. | |
* The parameters to be passed to the compound micro frontend. Will not be passed to the compound children. |
Seems like this part is missing here. since we skip it for compound children.
Also I saw that this sentence "Will not be passed to the compound children." is present on LuigiContainer Typings : nodeParams . It should be removed from there and be kept here, since LuigiContainer doesn't deal with compound and that part there is wrong. You can do it in this PR maybe since its related
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
Description
Changes proposed in this pull request:
Related issue(s)
Resolves #3924