Skip to content

Conversation

@jen-huang
Copy link
Contributor

@jen-huang jen-huang commented Jan 17, 2023

⚠️ DO NOT MERGE: may not be necessary if changes from elastic/eui#6530 are merged and Kibana is updated

Summary

Resolves #148951. Due to some recent changes to EUI (elastic/eui#5494), EuiModal was no longer automatically apply h1 if only FormattedMessage is passed to the title prop, causing them to lose heading treatment.

This PR fixes that by wrapping them in span tags. There is also one instance where we are building the modal elements manually, for that one I simply added h1.

🤞 that I have caught all the modal instances that need fixing..

@jen-huang jen-huang added bug Fixes for quality problems that affect the customer experience Team:Fleet Team label for Observability Data Collection Fleet team labels Jan 17, 2023
@jen-huang jen-huang self-assigned this Jan 17, 2023
@jen-huang jen-huang requested a review from a team as a code owner January 17, 2023 20:29
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

@jen-huang jen-huang added the release_note:skip Skip the PR/issue when compiling release notes label Jan 17, 2023
@jen-huang
Copy link
Contributor Author

@elasticmachine merge upstream

Copy link
Member

@kpollich kpollich left a comment

Choose a reason for hiding this comment

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

Thanks for the fix!

@kibana-ci
Copy link

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
fleet 911.4KB 911.8KB +432.0B

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @jen-huang

@jen-huang jen-huang marked this pull request as draft January 17, 2023 22:48
@jen-huang jen-huang closed this Jan 27, 2023
@jen-huang jen-huang deleted the fix/modal-headers branch July 12, 2024 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Fixes for quality problems that affect the customer experience release_note:skip Skip the PR/issue when compiling release notes Team:Fleet Team label for Observability Data Collection Fleet team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Fleet]: Title Save and deploy changes confirmation pop-up is not bold and font size not adequate under Edit policy and edit integration page.

5 participants