-
Notifications
You must be signed in to change notification settings - Fork 98
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(mrc): fix <OnboardingLayout /> #14940
base: release/mrc-v2-update
Are you sure you want to change the base?
Conversation
a2759e4
to
1890ea6
Compare
1890ea6
to
2d1433d
Compare
packages/manager-react-components/src/components/templates/onboarding/onboarding.component.tsx
Outdated
Show resolved
Hide resolved
2d1433d
to
32eefc4
Compare
{description} | ||
</OdsText> | ||
)} | ||
{description} |
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.
nitpick: I think this can have adverse effect on existing apps if they dont pass description
inside an OdsText
.
IMO, OdsText
must be retained.
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.
Since it has been decided to allow free composition on the description part of the layout ( description?: React.ReactNode;
), it makes no sense to keep an <OdsText />
as a wrapper :
<OdsText>
<div>
<OdsText>...</OdsText>
<OdsText>...</OdsText>
</div>
</OdsText>
It's a small adjustment, and some apps may have to fix their implementation, but it better match the template interface.
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.
It is a breaking change for Zimbra, so please mention it to trigger the version bump, thank you !
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.
breaking change mentioned in commit.
- more info: use <OdsButton /> - update css to match design specs ref: 14934 BREAKING CHANGE: Description has to be a react node Signed-off-by: Romain Jamet <[email protected]>
32eefc4
to
0ce3bfd
Compare
Quality Gate passedIssues Measures |
develop
Only FR translations have been updatedBreaking change is mentioned in relevant commitsDescription
<OdsButton />