-
Notifications
You must be signed in to change notification settings - Fork 30
fix(PageHeader): reduce margins in breadcrumb #678
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
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.
Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.
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.
Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.
Comments suppressed due to low confidence (1)
packages/module/src/PageHeader/PageHeader.tsx:70
- Replacing the outer with a fragment removes the default styling and layout spacing provided by PageSection. Verify that the new structure still meets the desired design and spacing requirements.
<>
| }: PageHeaderProps) => { | ||
| const classes = useStyles(); | ||
| const { isExternal = false, ...linkRestProps } = linkProps ?? {}; | ||
| const showSplitRow = title || label || actionMenu; |
Copilot
AI
Apr 15, 2025
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 variable 'actionMenu' is used in the condition but is not declared in the PageHeaderProps interface, which could lead to runtime errors. Consider either removing it or adding it as an optional prop.
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.
Yes it is..
|
🎉 This PR is included in version 6.2.0-prerelease.9 🎉 The release is available on: Your semantic-release bot 📦🚀 |
fixes excess spacing in breadcrumbs in PageHeader component group. also makes all props optional--OCP has a usecase where no props are passed to the PageHeader, so it should render as a regular PageSection in this case.