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(mrc): fix <OnboardingLayout /> #14940

Open
wants to merge 1 commit into
base: release/mrc-v2-update
Choose a base branch
from

Conversation

rjamet-ovh
Copy link
Contributor

@rjamet-ovh rjamet-ovh commented Jan 15, 2025

Question Answer
Branch? develop
Bug fix? yes
New feature? no
Breaking change? no
Tickets Fix #14934
License BSD 3-Clause
  • Try to keep pull requests small so they can be easily reviewed.
  • Commits are signed-off
  • Only FR translations have been updated
  • Branch is up-to-date with target branch
  • Lint has passed locally
  • Standalone app was ran and tested locally
  • Ticket reference is mentioned in linked commits (internal only)
  • Breaking change is mentioned in relevant commits

Description

  • more info: use <OdsButton />
  • update css to match design specs

@rjamet-ovh rjamet-ovh requested review from a team as code owners January 15, 2025 13:24
@rjamet-ovh rjamet-ovh linked an issue Jan 15, 2025 that may be closed by this pull request
3 tasks
@github-actions github-actions bot added the bug Something isn't working label Jan 15, 2025
chipp972
chipp972 previously approved these changes Jan 15, 2025
{description}
</OdsText>
)}
{description}
Copy link
Contributor

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.

Copy link
Contributor Author

@rjamet-ovh rjamet-ovh Jan 20, 2025

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.

Copy link
Contributor

@tristanwagner tristanwagner Jan 20, 2025

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 !

Copy link
Contributor Author

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]>
@rjamet-ovh rjamet-ovh changed the base branch from develop to release/mrc-v2-update January 20, 2025 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[manager-components]: <OnboardingLayout />
6 participants