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

chore: color scale refactor #2982

Merged
merged 7 commits into from
Sep 27, 2023
Merged

chore: color scale refactor #2982

merged 7 commits into from
Sep 27, 2023

Conversation

turban
Copy link
Contributor

@turban turban commented Sep 25, 2023

For map analytical objects we store color scales as strings with a comma delimiter. We often need to split the color string into an array to operate on them, which leads to code that can be hard to read. In this PR we keep color scales and palettes as arrays throughout the codebase. As the analytical objects only support color scales as string, we still need to convert them when saving/loading a map.

@dhis2-bot
Copy link
Contributor

dhis2-bot commented Sep 25, 2023

🚀 Deployed on https://pr-2982--dhis2-maps.netlify.app

@dhis2-bot dhis2-bot temporarily deployed to netlify September 25, 2023 11:35 Inactive
@cypress
Copy link

cypress bot commented Sep 25, 2023

Passing run #2590 ↗︎

0 38 20 0 Flakiness 0

Details:

Merge c7196cb into 5d33ca5...
Project: maps Commit: 1703b62917 ℹ️
Status: Passed Duration: 05:09 💡
Started: Sep 27, 2023 12:46 PM Ended: Sep 27, 2023 12:51 PM

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings.

@dhis2-bot dhis2-bot temporarily deployed to netlify September 25, 2023 11:54 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify September 25, 2023 13:51 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify September 27, 2023 12:23 Inactive
@turban turban changed the base branch from dev to ee-dev September 27, 2023 12:31
@turban turban merged commit 7f84e89 into ee-dev Sep 27, 2023
23 checks passed
@turban turban deleted the chore/color-scale-refactor branch September 27, 2023 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants