Skip to content

Conversation

@thatblindgeye
Copy link
Contributor

What: Closes #12108

Will need to wait on #12131 going in first; made updates to CompassHero just to appease the precommit checks.

Additional issues:

@patternfly-build
Copy link
Collaborator

patternfly-build commented Nov 11, 2025

Copy link
Contributor

@kmcfaul kmcfaul left a comment

Choose a reason for hiding this comment

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

Overall looking good to me, just had one comment about reusing the new components internally and it'll need a rebase once the Hero PR goes in!

import { css } from '@patternfly/react-styles';

interface CompassPanelProps extends React.HTMLProps<HTMLDivElement> {
export interface CompassPanelProps extends React.HTMLProps<HTMLDivElement> {
Copy link
Contributor

Choose a reason for hiding this comment

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

Doh! That may be why some the props tables were broken

<div className={css(`${styles.compass}__main-header-content`)}>
{title && <div className={css(`${styles.compass}__main-header-title`)}>{title}</div>}
{toolbar && <div className={css(`${styles.compass}__main-header-toolbar`)}>{toolbar}</div>}
</div>
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we should use the new CompassMainHeaderContent/CompassMainHeaderTitle/CompasMainHeaderToolbar here instead of creating the divs again. But not a blocker

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Whoops

@thatblindgeye thatblindgeye marked this pull request as ready for review November 12, 2025 18:24
Copy link
Contributor

@mcoker mcoker left a comment

Choose a reason for hiding this comment

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

LPTM!

@wise-king-sullyman wise-king-sullyman merged commit 6bcdcaf into patternfly:main Nov 13, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Compass components feedback followup: Update CompassMainHeader structure & conditionally render them

5 participants