-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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] Support custom icons in maps #113144
Merged
Merged
Changes from 66 commits
Commits
Show all changes
73 commits
Select commit
Hold shift + click to select a range
00d4404
Initial work on custom icon support in maps
nickpeihl 74d8cf0
Persist custom icons to saved object
nickpeihl fa799ea
Support static SVG custom icons
nickpeihl 1b8fd8f
Merge branch 'master' of https://github.com/elastic/kibana into maps-…
nickpeihl f98296a
Move custom icons to top of select list
nickpeihl 43478f5
Better handling for switching custom icons
nickpeihl 4d178c9
Fix label for custom icons
nickpeihl 1adb5ff
Increase resolution of SDF icons
nickpeihl 0e8595f
Fix icon in select form
nickpeihl a7b5703
Add custom icons to legend
nickpeihl e664dbc
Support custom icons in dynamic icon form
nickpeihl 70663e1
Store custom icons in map rather than layer
nickpeihl a911f6d
Fix dynamic icons in breaked legend
nickpeihl df34d94
Merge branch 'master' of https://github.com/elastic/kibana into maps-…
nickpeihl 2a6fee1
Merge branch 'master' of https://github.com/elastic/kibana into maps-…
nickpeihl e485048
Preview custom icon in modal
nickpeihl f67a07f
Convert IconPreview to class component
nickpeihl 794ca84
Merge branch 'master' of https://github.com/elastic/kibana into maps-…
nickpeihl 3127e05
Merge branch 'main' of https://github.com/elastic/kibana into maps-cu…
nickpeihl 397c17e
Merge branch 'main' of https://github.com/elastic/kibana into maps-cu…
nickpeihl 7c03cc8
Allow fine-tuning for SDF icons
nickpeihl 66d9330
Merge branch 'main' of https://github.com/elastic/kibana into maps-cu…
nickpeihl f6e7f1f
Merge branch 'main' of https://github.com/elastic/kibana into maps-cu…
nickpeihl 605eab5
Better custom icon handling
nickpeihl 3092934
Add Custom Icons to Map Settings panel
nickpeihl ca6d4cb
Propagate icon changes to map
nickpeihl 178621a
Merge branch 'main' of https://github.com/elastic/kibana into maps-cu…
nickpeihl ff0b37d
Add documentation
nickpeihl ab0dda5
Add empty state for custom icons in map settings
nickpeihl d26cd04
Render custom icons at higher resolution
nickpeihl 4f78947
Merge branch 'main' of https://github.com/elastic/kibana into maps-cu…
nickpeihl 7b9fa80
Merge branch 'main' of https://github.com/elastic/kibana into maps-cu…
nickpeihl e1dc51e
Add and fix unit tests
nickpeihl a66b113
Merge branch 'main' of https://github.com/elastic/kibana into maps-cu…
nickpeihl 1800930
Rename util function
nickpeihl 354728d
Add unit tests
nickpeihl ab63623
clean up cruft
nickpeihl b8c8a8d
Custom icons panel test
nickpeihl 9c58d32
Add validation to custom icon modal
nickpeihl b4c7dbb
Add visual regression test
nickpeihl 3b03940
Merge branch 'main' of https://github.com/elastic/kibana into maps-cu…
nickpeihl 86f1790
lint
nickpeihl 57b0f0e
Update snapshot
nickpeihl e739756
Merge branch 'main' of https://github.com/elastic/kibana into maps-cu…
nickpeihl 1577928
Merge branch 'main' into maps-custom-icons
kibanamachine eeaa986
Make custom icons panel more consistent with Maps
nickpeihl 8a79797
Icon modal review feedback
nickpeihl ca959e8
Only store custom icon svgs in mapStateJSON
nickpeihl fdfd708
Do not delete custom icons in use by layers
nickpeihl aa45814
Merge branch 'main' of https://github.com/elastic/kibana into maps-cu…
nickpeihl 2775b05
Merge branch 'maps-custom-icons' of https://github.com/nickpeihl/kiba…
nickpeihl 0063399
Icon select feedback
nickpeihl 81150de
Fix missing icons in BreakedLegend
nickpeihl 4059eea
lint fixes
nickpeihl 61017e6
Add `iconSource` property to `IconStop`
nickpeihl c89ae36
Encode SVGs in mapStateJSON as base64
nickpeihl a36af1d
Remove unused module
nickpeihl e62fd9a
review feedback
nickpeihl afc6b31
Fix tests
nickpeihl c6f40ed
Merge branch 'main' of https://github.com/elastic/kibana into maps-cu…
nickpeihl 11b0046
Review feedback
nickpeihl cd0b17c
Review feedback
nickpeihl e2887ae
review feedback
nickpeihl e087b00
fix typo in functional test
nickpeihl b9973fc
Pass CustomIcon[] array to style classes
nickpeihl cd301b2
Remove custom icon demo visual regression test
nickpeihl 09b3311
Review feedback
nickpeihl ad559b7
Merge branch 'main' into maps-custom-icons
nickpeihl bd48b2b
Review feedback
nickpeihl e822e0b
Merge branch 'maps-custom-icons' of https://github.com/nickpeihl/kiba…
nickpeihl 827c7c2
Review feedback
nickpeihl bdc6279
Merge branch 'main' into maps-custom-icons
nickpeihl 38f6dd0
Merge branch 'main' into maps-custom-icons
nickpeihl File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change to onCustomIconsChange so its the same as in implementation and shows up in search results