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

Fixes #36734 - Hide double title on Register Host page #9830

Merged
merged 1 commit into from
Sep 19, 2023
Merged

Fixes #36734 - Hide double title on Register Host page #9830

merged 1 commit into from
Sep 19, 2023

Conversation

kmalyjur
Copy link
Contributor

image

Changed PageLayout so that breadcrumb, title, search bar and toolbar buttons work together even if some of the elements are missing.

@theforeman-bot
Copy link
Member

Issues: #36734

}) => {
const title = (
<TextContent>
<Text ouiaId="title" component="h1">
Copy link
Member

Choose a reason for hiding this comment

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

Can you keep it breadcrumb_title?

@MariaAga
Copy link
Member

@kmalyjur test failures look related

@kmalyjur
Copy link
Contributor Author

kmalyjur commented Sep 19, 2023

@MariaAga I added an additional PageSection for the title mainly because of the case when breadcrumb and search bar are present, and it also fixes the previous failures elegantly.

@MariaAga
Copy link
Member

can you please move the conditions to not show the page sections? so we wont end up with extra empty page sections that add space before the title.
Also, integration test failures are related.

@MariaAga MariaAga merged commit 772cfd2 into theforeman:develop Sep 19, 2023
10 checks passed
@MariaAga
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants