Production tickets for the week of 12-5-22 (#2117)

* remove training from low income card

- update snaphots

* Update npm audit level

* Update query-string lib

* Remove security checks

* Adds security audit back

* Add npm and node version

* remove $

* Remove node versions

* Fix redundant IDs for en.json creation

- closes #2116
- closes #2106

* Update also copy

- update snapshots
- closes #2096

* Update public engagement video

- closes #2102
- updates snapshots

* Correct Prioritization copy >= 1
This commit is contained in:
Vim 2022-12-12 09:51:06 -08:00 committed by GitHub
commit c5b201e1b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 2285 additions and 27269 deletions

View file

@ -127,12 +127,30 @@ const PrioritizationCopy2 =
) {
// if 2-1
if (percentTractTribal !== null && percentTractTribal == 0) {
prioCopy2Rendered = EXPLORE_COPY.getPrioFRTCopy(`less than 1%`, true);
prioCopy2Rendered = EXPLORE_COPY.getPrioFRTCopy(`less than 1%`, false);
// if 2-2
} else if (percentTractTribal !== null && percentTractTribal >= 0) {
prioCopy2Rendered = EXPLORE_COPY.getPrioFRTCopy(`${percentTractTribal}%`, true);
} else if (percentTractTribal !== null && percentTractTribal >= 1) {
prioCopy2Rendered = EXPLORE_COPY.getPrioFRTCopy(`${percentTractTribal}%`, false);
}
// if 3
// if 3-1
} else if (
totalCategoriesPrioritized === 0 &&
(isAdjacencyThreshMet && !isAdjacencyLowIncome) &&
tribalCountAK === null &&
(tribalCountUS !== null && tribalCountUS >= 1) &&
(percentTractTribal !== null && percentTractTribal == 0)
) {
prioCopy2Rendered = EXPLORE_COPY.getPrioFRTPointsCopy(tribalCountUS, false);
// if 3-2
} else if (
totalCategoriesPrioritized === 0 &&
(isAdjacencyThreshMet && !isAdjacencyLowIncome) &&
tribalCountAK === null &&
(tribalCountUS !== null && tribalCountUS >= 1) &&
(percentTractTribal !== null && percentTractTribal >= 1)
) {
prioCopy2Rendered = EXPLORE_COPY.getPrioFRTPointsCopy(tribalCountUS, false);
// if 3-3
} else if (
(totalCategoriesPrioritized === 0 && !(isAdjacencyThreshMet && isAdjacencyLowIncome)) &&
tribalCountAK === null &&
@ -146,7 +164,7 @@ const PrioritizationCopy2 =
isAdjacencyThreshMet && !isAdjacencyLowIncome &&
(tribalCountAK !== null && tribalCountAK >= 1)
) {
prioCopy2Rendered = EXPLORE_COPY.getPrioANVCopy(tribalCountAK, true);
prioCopy2Rendered = EXPLORE_COPY.getPrioANVCopy(tribalCountAK, false);
} else {
prioCopy2Rendered = <></>;
noStyles = true;