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

[EUI+] Implement site header design changes #7889

Merged

Conversation

mgadewoll
Copy link
Contributor

@mgadewoll mgadewoll commented Jul 17, 2024

Summary

closes elastic/eui-private#110

Important

This PR only applies styles changes as far as it was possible without breaking the search plugin implementation.
Ejecting components that change the context would result in a non-functioning search, hence this PR only applies changes from the outside but can't change overall DOM on global levels.
This results in the site header right items not matching the order proposed in the design.

This issue was resolved with this fix PR.

Screenshots

Screenshot 2024-07-19 at 10 13 54

Screenshot 2024-07-19 at 10 13 50

Screenshot 2024-07-19 at 10 14 58

Screenshot 2024-07-19 at 10 19 36

QA

@mgadewoll mgadewoll force-pushed the eui+/7737-site-header-design-changes-2 branch from 6f54ae7 to b4bacb3 Compare July 19, 2024 08:11
@mgadewoll mgadewoll marked this pull request as ready for review July 19, 2024 09:11
@mgadewoll mgadewoll requested a review from a team as a code owner July 19, 2024 09:11
@mgadewoll mgadewoll force-pushed the eui+/7737-site-header-design-changes-2 branch from 42dfd63 to a25c510 Compare July 22, 2024 15:26
@tkajtoch
Copy link
Member

The code looks great! I noticed the header isn't sticky anymore - could you please fix that?

- ejects Navbar/Layout component to apply styles instead of adding wrapper as the wrapper breaks the sticky behavior
@mgadewoll
Copy link
Contributor Author

The code looks great! I noticed the header isn't sticky anymore - could you please fix that?

Ah thanks for the catch! It broke because I used a wrapper around the Navbar to apply the styles to prevent having to eject, but that breaks the sticky behavior.
This commit updates this now and ejects the component to apply styles directly.

@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

History

Copy link
Member

@tkajtoch tkajtoch left a comment

Choose a reason for hiding this comment

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

The changes look and work great! Thanks for fixing the sticky header behavior! 🎉

@mgadewoll mgadewoll merged commit 38faaa9 into elastic:main Jul 23, 2024
5 checks passed
@mgadewoll mgadewoll deleted the eui+/7737-site-header-design-changes-2 branch July 23, 2024 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants