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

fix: constrasting event stroke and cluster count color #1861

Merged
merged 4 commits into from
Sep 13, 2021

Conversation

turban
Copy link
Contributor

@turban turban commented Sep 13, 2021

This PR will add a contrasting stroke and cluster count color for events. If the event color is dark, the stroke/vount color will be bright, and opposite. Stroke will only be used for single color maps, not when events that are "styled by data item".

Storke is also added to the legend item, and legend item is added for server cluster (see screenshot below).

Depends on dhis2/maps-gl#398

After this PR:

Screenshot 2021-09-13 at 09 58 54

Before:

Screenshot 2021-09-13 at 09 59 24

@cypress
Copy link

cypress bot commented Sep 13, 2021



Test summary

6 0 0 0


Run details

Project maps
Status Passed
Commit f398081
Started Sep 13, 2021 6:23 PM
Ended Sep 13, 2021 6:25 PM
Duration 01:45 💡
OS Linux Ubuntu - 20.04
Browser Electron 87

View run in Cypress Dashboard ➡️


This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

@turban turban changed the title fix: constrasting event stroke color fix: constrasting event stroke and cluster count color Sep 13, 2021
@turban turban requested a review from edoardo September 13, 2021 08:02
@turban turban merged commit 65173b5 into master Sep 13, 2021
@turban turban deleted the fix/event-outline branch September 13, 2021 18:28
dhis2-bot added a commit that referenced this pull request Sep 13, 2021
## [1.13.21](v1.13.20...v1.13.21) (2021-09-13)

### Bug Fixes

* constrasting event stroke and cluster count color ([#1861](#1861)) ([65173b5](65173b5))
@dhis2-bot
Copy link
Contributor

🎉 This PR is included in version 1.13.21 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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