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

[Maps] fix draw icons not displayed in buttons #138433

Merged
merged 2 commits into from
Aug 9, 2022
Merged

Conversation

nreese
Copy link
Contributor

@nreese nreese commented Aug 9, 2022

Fixes #138402

elastic/eui#5967 migrated EuiIcon from css to emotion. This broke display of svg icons in maps because there where using the no longer available class "euiIcon". This PR upates these svg icons to instead spread props into svg to pass along emotion styling.

To test, follow directions at https://www.elastic.co/guide/en/kibana/current/import-geospatial-data.html#_draw_features_in_a_map and verify all icons are displayed in toolbar

Screen Shot 2022-08-09 at 11 07 43 AM

@nreese nreese added [Deprecated-Use Team:Presentation]Team:Geo Former Team Label for Geo Team. Now use Team:Presentation release_note:skip Skip the PR/issue when compiling release notes auto-backport Deprecated - use backport:version if exact versions are needed v8.4.0 v8.5.0 labels Aug 9, 2022
@nreese nreese requested a review from nickpeihl August 9, 2022 17:07
@nreese
Copy link
Contributor Author

nreese commented Aug 9, 2022

@elasticmachine merge upstream

@kibana-ci
Copy link
Collaborator

💚 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
maps 2.6MB 2.6MB -42.0B

History

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

@nreese nreese marked this pull request as ready for review August 9, 2022 18:49
@nreese nreese requested a review from a team as a code owner August 9, 2022 18:49
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-gis (Team:Geo)

Copy link
Member

@nickpeihl nickpeihl left a comment

Choose a reason for hiding this comment

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

lgtm! thanks for the fix.

code review and tested in chrome

@nreese nreese merged commit 0f64304 into elastic:main Aug 9, 2022
kibanamachine pushed a commit that referenced this pull request Aug 9, 2022
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 0f64304)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.4

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

kibanamachine added a commit to kibanamachine/kibana that referenced this pull request Aug 9, 2022
…tic#138457)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 0f64304)

Co-authored-by: Nathan Reese <reese.nathan@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Deprecated - use backport:version if exact versions are needed [Deprecated-Use Team:Presentation]Team:Geo Former Team Label for Geo Team. Now use Team:Presentation Feature:Maps release_note:skip Skip the PR/issue when compiling release notes v8.4.0 v8.5.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[maps] draw icons not displayed in buttons
6 participants