Adds post 1.0 updates (#2105)

- closes #2104 - updates statistical areas link
- closes #2103 - CAPs on NO and PARTIALLY
- closes #2099 - Update press release on Alert and FAQs
- closes #2101 - global replace high school degree to high school diploma
- add comparison chart to FAQ
- update .env file with comp chart route to S3
- update snapshots
This commit is contained in:
Vim 2022-11-23 12:07:21 -08:00 committed by GitHub
commit db75b8ae76
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 162 additions and 51 deletions

View file

@ -537,7 +537,7 @@ exports[`rendering of the Categories checks if component renders 1`] = `
>
high school education
</a>
(i.e. graduated with a high school degree)
(i.e. graduated with a high school diploma)
</p>
</div>

View file

@ -10,7 +10,7 @@ exports[`rendering of DonutCopy Component checks if component renders when adjac
<div
class=""
>
No
NO
</div>
</div>
<div>

View file

@ -361,7 +361,17 @@ exports[`rendering of the J40Header checks if component renders 1`] = `
<p
class="usa-alert__text"
>
The Council on Environmental Quality (CEQ) made the version 1.0 of the tool available on 11/22/2022. For more information about the improvements to the tool, CEQs press release will be coming soon.
The Council on Environmental Quality (CEQ) made the version 1.0 of the tool available on 11/22/2022. For more information about the improvements to the tool, read CEQ's
<a
class="usa-link usa-link--external"
data-cy=""
href="https://www.whitehouse.gov/ceq/news-updates/2022/11/22/biden-harris-administration-launches-version-1-0-of-climate-and-economic-justice-screening-tool-key-step-in-implementing-president-bidens-justice40-initiative/"
rel="noreferrer"
target="_blank"
>
press release
</a>
.
</p>
</div>
</div>

View file

@ -12,12 +12,12 @@ describe('rendering of TractPrioritization Component', () => {
{scoreNComm: true, tribalCountAK: 2, percentTribal: 0, isDAC: 'YES'},
{scoreNComm: true, tribalCountAK: 3, percentTribal: .45, isDAC: 'YES'},
{scoreNComm: false, tribalCountAK: null, percentTribal: null, isDAC: 'No'},
{scoreNComm: false, tribalCountAK: null, percentTribal: 0, isDAC: 'Partially'},
{scoreNComm: false, tribalCountAK: null, percentTribal: .13, isDAC: 'Partially'},
{scoreNComm: false, tribalCountAK: 1, percentTribal: null, isDAC: 'Partially'},
{scoreNComm: false, tribalCountAK: 2, percentTribal: 0, isDAC: 'Partially'},
{scoreNComm: false, tribalCountAK: 3, percentTribal: .13, isDAC: 'Partially'},
{scoreNComm: false, tribalCountAK: null, percentTribal: null, isDAC: 'NO'},
{scoreNComm: false, tribalCountAK: null, percentTribal: 0, isDAC: 'PARTIALLY'},
{scoreNComm: false, tribalCountAK: null, percentTribal: .13, isDAC: 'PARTIALLY'},
{scoreNComm: false, tribalCountAK: 1, percentTribal: null, isDAC: 'PARTIALLY'},
{scoreNComm: false, tribalCountAK: 2, percentTribal: 0, isDAC: 'PARTIALLY'},
{scoreNComm: false, tribalCountAK: 3, percentTribal: .13, isDAC: 'PARTIALLY'},
];

View file

@ -1,49 +1,49 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`rendering of TractPrioritization Component checks if component renders No when score N communities = false, tribal points in AK = null tribal % = null 1`] = `
exports[`rendering of TractPrioritization Component checks if component renders NO when score N communities = false, tribal points in AK = null tribal % = null 1`] = `
<DocumentFragment>
<h3>
No
NO
</h3>
</DocumentFragment>
`;
exports[`rendering of TractPrioritization Component checks if component renders Partially when score N communities = false, tribal points in AK = 1 tribal % = null 1`] = `
exports[`rendering of TractPrioritization Component checks if component renders PARTIALLY when score N communities = false, tribal points in AK = 1 tribal % = null 1`] = `
<DocumentFragment>
<h3>
Partially
PARTIALLY
</h3>
</DocumentFragment>
`;
exports[`rendering of TractPrioritization Component checks if component renders Partially when score N communities = false, tribal points in AK = 2 tribal % = 0 1`] = `
exports[`rendering of TractPrioritization Component checks if component renders PARTIALLY when score N communities = false, tribal points in AK = 2 tribal % = 0 1`] = `
<DocumentFragment>
<h3>
Partially
PARTIALLY
</h3>
</DocumentFragment>
`;
exports[`rendering of TractPrioritization Component checks if component renders Partially when score N communities = false, tribal points in AK = 3 tribal % = 0.13 1`] = `
exports[`rendering of TractPrioritization Component checks if component renders PARTIALLY when score N communities = false, tribal points in AK = 3 tribal % = 0.13 1`] = `
<DocumentFragment>
<h3>
Partially
PARTIALLY
</h3>
</DocumentFragment>
`;
exports[`rendering of TractPrioritization Component checks if component renders Partially when score N communities = false, tribal points in AK = null tribal % = 0 1`] = `
exports[`rendering of TractPrioritization Component checks if component renders PARTIALLY when score N communities = false, tribal points in AK = null tribal % = 0 1`] = `
<DocumentFragment>
<h3>
Partially
PARTIALLY
</h3>
</DocumentFragment>
`;
exports[`rendering of TractPrioritization Component checks if component renders Partially when score N communities = false, tribal points in AK = null tribal % = 0.13 1`] = `
exports[`rendering of TractPrioritization Component checks if component renders PARTIALLY when score N communities = false, tribal points in AK = null tribal % = 0.13 1`] = `
<DocumentFragment>
<h3>
Partially
PARTIALLY
</h3>
</DocumentFragment>
`;