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

feat: read earth engine layers from data store #2934

Closed
wants to merge 59 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
d157c30
fix: remove fallback coordinate field (DHIS2-8165) (#2575)
turban Apr 24, 2023
00fae56
feat(plugin): send installation status [DHIS2-15097] (#2580)
KaiVandivier May 2, 2023
23efb6b
fix: bumps cli-app-scripts to 10.3.8 for LIBS-499 fix (#2592)
KaiVandivier May 5, 2023
1ff538b
fix(translations): sync translations from transifex (dev)
dhis2-bot Jun 6, 2023
eb2a3bb
docs: move docs to app (#2650)
janhenrikoverland Jun 9, 2023
3fafd45
fix(translations): sync translations from transifex (dev)
dhis2-bot Jun 10, 2023
cd34381
fix(translations): sync translations from transifex (dev)
dhis2-bot Jun 14, 2023
e40dc13
fix(translations): sync translations from transifex (dev)
dhis2-bot Jun 17, 2023
09412e0
docs: maps download and value labels (#2691)
turban Jun 19, 2023
d7172d4
fix(translations): sync translations from transifex (dev)
dhis2-bot Jun 21, 2023
bd9237a
fix(translations): sync translations from transifex (dev)
dhis2-bot Jun 23, 2023
6de79b1
fix: Set rendering strategy to single if not relative period (#2703)
turban Jun 26, 2023
09de660
chore: increase default timeout for DOM activity (#2720)
jenniferarnesen Jun 26, 2023
fd5696d
chore: use 50 second timeout for card title to appear (#2730)
jenniferarnesen Jun 27, 2023
3ba7831
chore: dependency upgrades (#2722)
turban Jun 27, 2023
491548b
fix: keep layer visibility when period is changed (#2705)
turban Jun 27, 2023
9fa4abd
Don't show north arrow for split view maps (#2704)
turban Jun 27, 2023
32578ec
fix: set period for each split view map (#2721)
turban Jun 27, 2023
578a75a
chore: remove target-branch from dependabot config (#2731)
jenniferarnesen Jun 27, 2023
e7d43a8
fix: upgrade landcover dataset (#2732)
turban Jun 28, 2023
b1d349e
chore: increase cypress extended timeout (#2744)
jenniferarnesen Jun 28, 2023
bf5e0b4
fix(translations): sync translations from transifex (dev)
dhis2-bot Jun 29, 2023
d9fc748
fix(translations): sync translations from transifex (dev)
dhis2-bot Jul 4, 2023
523eca7
chore: disable nightly scheduled test run (#2782)
jenniferarnesen Jul 4, 2023
91b8c11
chore: PeriodTypeSelect as functional component (#2926)
turban Aug 8, 2023
199e237
chore: disable earth engine layers
turban Aug 14, 2023
e00958d
feat: load external layers from data store
turban Aug 14, 2023
2ecf26e
feat: earth engine layers from data store
turban Aug 14, 2023
d23588f
feat: ee layer refactor
turban Aug 26, 2023
7cbd464
chore: refactor
turban Aug 28, 2023
79fedec
chore: dynamic filters testing
turban Aug 30, 2023
2bebd2a
chore: disable earth engine layers
turban Aug 14, 2023
2a9eed9
feat: load external layers from data store
turban Aug 14, 2023
ab9b5c9
feat: earth engine layers from data store
turban Aug 14, 2023
3d53926
feat: ee layer refactor
turban Aug 26, 2023
396dfca
chore: refactor
turban Aug 28, 2023
dbc2cee
chore: dynamic filters testing
turban Aug 30, 2023
048784d
chore: dev merge
turban Sep 7, 2023
52006d0
Merge branch 'dev' into feat/custom-ee-layers
turban Sep 7, 2023
35fe040
feat: ee period reducer
turban Sep 11, 2023
95e6803
Merge branch 'dev' into feat/custom-ee-layers
turban Sep 15, 2023
61591fa
Merge branch 'dev' into feat/custom-ee-layers
turban Sep 15, 2023
52a8c01
chore: refactor period type select
turban Sep 16, 2023
26cdcc1
chore: period type select refactor
turban Sep 16, 2023
7584d75
chore: add missing dependency
turban Sep 16, 2023
d5d6dda
chore: add missing dependency
turban Sep 16, 2023
3a5c676
chore: code cleaning
turban Sep 16, 2023
5332da6
chore: hidden periods fix
turban Sep 16, 2023
c95d629
chore: lint fix
turban Sep 16, 2023
bb1509d
chore: period type select refactor
turban Sep 16, 2023
da9ecbd
feat: ee period handling
turban Sep 16, 2023
ce50edf
feat: ee period handling
turban Sep 20, 2023
b1142fd
chore: refactor color scale handling to use arrays
turban Sep 22, 2023
40e70ec
chore: refactor color scale handling to use arrays
turban Sep 22, 2023
543a791
chore: temporary console log to avoid dynamic dep bug
turban Sep 25, 2023
ecfa092
chore: debugging
turban Sep 26, 2023
9b8551f
Period reducer
turban Sep 26, 2023
0ffc42b
chore: merge with ee-dev
turban Oct 2, 2023
d7a1b31
fix: merge conflict
turban Oct 2, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix: merge conflict
turban committed Oct 2, 2023
commit d7a1b3181213b1ddcfa4bc74d31299a7c5b423d2
12 changes: 0 additions & 12 deletions src/util/colors.js
Original file line number Diff line number Diff line change
@@ -38,17 +38,6 @@ export const colorScales = [
]

// Returns a color brewer scale for a number of classes
<<<<<<< HEAD
export const getColorPalette = (scale, classes) => {
return colorbrewer[scale][classes] // .join(',')
}

// Returns color scale name for a palette
export const getColorScale = (palette) => {
const classes = palette.length // palette.split(',').length
return colorScales.find(
(name) => colorbrewer[name][classes].join(',') === palette.join(',')
=======
export const getColorPalette = (scale, classes) => colorbrewer[scale][classes]

// Returns color scale name for a palette
@@ -57,7 +46,6 @@ export const getColorScale = (palette) =>
colorScales.find(
(name) =>
colorbrewer[name][palette.length].join(',') === palette.join(',')
>>>>>>> ee-dev
)

export const defaultColorScaleName = 'YlOrBr'