mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-02-22 01:31:25 -08:00
Merge pull request #55 from agilesix/cfelix/merge-v2-20250116
CEQ-J40 merge v2 code - 20250116
This commit is contained in:
commit
2289fd6b79
35 changed files with 303 additions and 352 deletions
|
@ -1,8 +1,9 @@
|
|||
import React from 'react';
|
||||
import {Grid} from '@trussworks/react-uswds';
|
||||
import React from 'react';
|
||||
|
||||
import LinkTypeWrapper from '../LinkTypeWrapper';
|
||||
import {hyphenizeString} from '../../../cypress/integration/common/helpers';
|
||||
import LinkTypeWrapper from '../LinkTypeWrapper';
|
||||
import {TagVariant} from '../LinkTypeWrapper/LinkTypeWrapper';
|
||||
|
||||
// the "body" section is the child object to allow for html versus just text
|
||||
interface AboutCardProps {
|
||||
|
@ -10,6 +11,8 @@ interface AboutCardProps {
|
|||
header: string;
|
||||
size: 'small' | 'large';
|
||||
linkText?: string | JSX.Element;
|
||||
linkTag?: string;
|
||||
linkTagVariant?: TagVariant;
|
||||
url?: string;
|
||||
openUrlNewTab?: boolean;
|
||||
className?: string;
|
||||
|
@ -64,6 +67,8 @@ const AboutCard = (props: React.PropsWithChildren<AboutCardProps>) => {
|
|||
internal={props.internal}
|
||||
url={props.url ? props.url : ''}
|
||||
openUrlNewTab={props.openUrlNewTab}
|
||||
tag={props.linkTag}
|
||||
tagVariant={props.linkTagVariant}
|
||||
// className={'j40-aboutcard-link'}
|
||||
/>}
|
||||
</div>
|
||||
|
|
|
@ -49,6 +49,15 @@ $sidePanelLabelFontColor: #171716;
|
|||
@include u-padding-right(2);
|
||||
@include u-padding-top(2);
|
||||
|
||||
p {
|
||||
font: inherit;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
||||
+ p {
|
||||
@include u-margin-top(2);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.showCategoriesExceed {
|
||||
|
|
|
@ -47,12 +47,14 @@ const DatasetCard = ({datasetCardProps}: IDatasetCardProps) => {
|
|||
<ul className={styles.datasetCardList}>
|
||||
|
||||
{/* Dataset Used in */}
|
||||
<li className={styles.datasetCardListItem}>
|
||||
<span className={styles.datasetCardLabels}>
|
||||
{intl.formatMessage(METHODOLOGY_COPY.DATASET_CARD_LABELS.USED_IN)}
|
||||
</span>
|
||||
{datasetCardProps.usedIn}
|
||||
</li>
|
||||
{datasetCardProps.usedIn !== METHODOLOGY_COPY.CATEGORIES.OMIT && (
|
||||
<li className={styles.datasetCardListItem}>
|
||||
<span className={styles.datasetCardLabels}>
|
||||
{intl.formatMessage(METHODOLOGY_COPY.DATASET_CARD_LABELS.USED_IN)}
|
||||
</span>
|
||||
{datasetCardProps.usedIn}
|
||||
</li>
|
||||
)}
|
||||
|
||||
{/* Dataset Responsible Party */}
|
||||
<li className={styles.datasetCardListItem}>
|
||||
|
|
|
@ -29,12 +29,6 @@ exports[`rendering of indicator dataset card checks if component renders 1`] = `
|
|||
</p>
|
||||
</div>
|
||||
<ul>
|
||||
<li>
|
||||
<span>
|
||||
Used in:
|
||||
</span>
|
||||
All categories
|
||||
</li>
|
||||
<li>
|
||||
<span>
|
||||
Responsible party:
|
||||
|
|
|
@ -105,12 +105,6 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
|||
</p>
|
||||
</div>
|
||||
<ul>
|
||||
<li>
|
||||
<span>
|
||||
Used in:
|
||||
</span>
|
||||
All categories
|
||||
</li>
|
||||
<li>
|
||||
<span>
|
||||
Responsible party:
|
||||
|
|
|
@ -14,6 +14,7 @@ import SurveyButton from '../SurveyButton';
|
|||
// @ts-ignore
|
||||
import {GITHUB_LINK, GITHUB_LINK_ES} from '../../constants';
|
||||
import {PAGES_ENDPOINTS} from '../../data/constants';
|
||||
import * as ABOUT_COPY from '../../data/copy/about';
|
||||
import * as COMMON_COPY from '../../data/copy/common';
|
||||
import whitehouseIcon from '../../images/eop-seal.svg';
|
||||
|
||||
|
@ -73,6 +74,7 @@ const J40Footer = () => {
|
|||
className={'footer-link-first-child'}
|
||||
key={'contactlink'}
|
||||
dataCy={hyphenizeString(COMMON_COPY.FOOTER.GITHUB_LINK_TEXT.defaultMessage)}
|
||||
tag={intl.formatMessage(ABOUT_COPY.GET_INVOLVED.JOIN_OSC_LINK_TAG)}
|
||||
/>,
|
||||
],
|
||||
];
|
||||
|
|
|
@ -138,6 +138,13 @@ exports[`J40Footer renders correctly 1`] = `
|
|||
>
|
||||
Check out the code on GitHub
|
||||
</a>
|
||||
|
||||
<span
|
||||
class="usa-tag "
|
||||
data-testid="tag"
|
||||
>
|
||||
New Location
|
||||
</span>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
|
|
|
@ -0,0 +1,22 @@
|
|||
@use '../../styles/design-system.scss' as *;
|
||||
|
||||
.tag {
|
||||
font-weight: bolder;
|
||||
line-height: 2;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.primary {
|
||||
@include u-bg('primary-dark');
|
||||
@include u-text('white');
|
||||
}
|
||||
|
||||
.secondary {
|
||||
@include u-bg('gray-cool-10');
|
||||
@include u-text('ink');
|
||||
}
|
||||
|
||||
.accent {
|
||||
@include u-bg('yellow-20v');
|
||||
@include u-text('blue-70v');
|
||||
}
|
4
client/src/components/LinkTypeWrapper/LinkTypeWrapper.module.scss.d.ts
vendored
Normal file
4
client/src/components/LinkTypeWrapper/LinkTypeWrapper.module.scss.d.ts
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
export const tag: string;
|
||||
export const primary: string;
|
||||
export const secondary: string;
|
||||
export const accent: string;
|
|
@ -1,16 +1,22 @@
|
|||
import React from 'react';
|
||||
import {Tag, Link as TrussLink} from '@trussworks/react-uswds';
|
||||
import {Link, useIntl} from 'gatsby-plugin-intl';
|
||||
import {Link as TrussLink} from '@trussworks/react-uswds';
|
||||
import React from 'react';
|
||||
|
||||
import {IDefineMessage} from '../../data/copy/common';
|
||||
import * as styles from './LinkTypeWrapper.module.scss';
|
||||
|
||||
export type TagVariant = 'primary' | 'secondary' | 'accent';
|
||||
|
||||
export interface ILinkTypeWrapper {
|
||||
[x: string]: any;
|
||||
linkText?: string | JSX.Element;
|
||||
internal?: boolean;
|
||||
url: string | IDefineMessage;
|
||||
openUrlNewTab?: boolean;
|
||||
className?: string;
|
||||
dataCy?: string;
|
||||
tag?: string;
|
||||
tagVariant?: TagVariant;
|
||||
}
|
||||
|
||||
// eslint-disable-next-line valid-jsdoc
|
||||
|
@ -32,41 +38,52 @@ export interface ILinkTypeWrapper {
|
|||
*/
|
||||
const LinkTypeWrapper = (props:ILinkTypeWrapper) => {
|
||||
const intl = useIntl();
|
||||
let {url} = props;
|
||||
const {url} = props;
|
||||
const formattedUrl = url && typeof url !== 'string' ? intl.formatMessage(url) : url;
|
||||
|
||||
if (url && typeof url !== `string`) {
|
||||
url = intl.formatMessage(url);
|
||||
}
|
||||
|
||||
if (props.internal) {
|
||||
return (
|
||||
<Link
|
||||
to={`${url}`}
|
||||
className={props.className ? `usa-link ${props.className}` : `usa-link`}
|
||||
const link = props.internal ? (
|
||||
<Link
|
||||
to={`${formattedUrl}`}
|
||||
className={props.className ? `usa-link ${props.className}` : `usa-link`}
|
||||
>
|
||||
{props.linkText}
|
||||
</Link>
|
||||
) : (
|
||||
props.openUrlNewTab ? (
|
||||
<TrussLink
|
||||
variant={'external'}
|
||||
className={props.className}
|
||||
href={`${formattedUrl}`}
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
data-cy={props.dataCy ? props.dataCy : ''}
|
||||
>
|
||||
{props.linkText}
|
||||
</Link>
|
||||
);
|
||||
} else {
|
||||
return props.openUrlNewTab ?
|
||||
<TrussLink
|
||||
variant={'external'}
|
||||
className={props.className}
|
||||
href={`${url}`}
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
data-cy={props.dataCy ? props.dataCy : ''}
|
||||
>
|
||||
{props.linkText}
|
||||
</TrussLink> :
|
||||
<a
|
||||
className={props.className}
|
||||
href={url}
|
||||
data-cy={props.dataCy? props.dataCy : ''}
|
||||
>
|
||||
{props.linkText}
|
||||
</a>;
|
||||
}
|
||||
</TrussLink>
|
||||
) : (
|
||||
<a
|
||||
className={props.className}
|
||||
href={formattedUrl}
|
||||
data-cy={props.dataCy ? props.dataCy : ''}
|
||||
>
|
||||
{props.linkText}
|
||||
</a>
|
||||
)
|
||||
);
|
||||
|
||||
const tag = props.tag ? (
|
||||
<Tag className={[styles.tag, styles[props.tagVariant || 'accent']].join(' ')}>
|
||||
{props.tag}
|
||||
</Tag>
|
||||
) : null;
|
||||
|
||||
return (
|
||||
<>
|
||||
{link}
|
||||
{props.tag && '\u2003'}
|
||||
{tag}
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
export default LinkTypeWrapper;
|
||||
|
|
|
@ -1,18 +1,36 @@
|
|||
import {act, render} from '@testing-library/react';
|
||||
import * as React from 'react';
|
||||
import {render} from '@testing-library/react';
|
||||
import {LocalizedComponent} from '../../test/testHelpers';
|
||||
import MapSearch from './MapSearch';
|
||||
|
||||
describe('rendering of the MapSearch', () => {
|
||||
const mockGoToPlace = jest.fn((x) => x);
|
||||
|
||||
const {asFragment} = render(
|
||||
<LocalizedComponent>
|
||||
<MapSearch goToPlace={mockGoToPlace}/>
|
||||
</LocalizedComponent>,
|
||||
);
|
||||
// mock fetch as it doesn't exist in test environment
|
||||
beforeEach(() => {
|
||||
global.fetch = jest.fn(() =>
|
||||
Promise.resolve({
|
||||
ok: true,
|
||||
json: () => Promise.resolve([]),
|
||||
}),
|
||||
) as jest.Mock;
|
||||
});
|
||||
|
||||
it('checks if component renders', () => {
|
||||
expect(asFragment()).toMatchSnapshot();
|
||||
// clean up the mock
|
||||
afterEach(() => {
|
||||
(global.fetch as jest.Mock).mockClear();
|
||||
delete (global as any).fetch;
|
||||
});
|
||||
|
||||
it('checks if component renders', async () => {
|
||||
const renderResult = render(
|
||||
<LocalizedComponent>
|
||||
<MapSearch goToPlace={mockGoToPlace}/>
|
||||
</LocalizedComponent>,
|
||||
);
|
||||
await act(async () => {
|
||||
// Wait for useEffect and fetch to complete
|
||||
});
|
||||
expect(renderResult.asFragment()).toMatchSnapshot();
|
||||
});
|
||||
});
|
||||
|
|
|
@ -1,5 +1 @@
|
|||
@use '../../styles/design-system.scss' as *;
|
||||
|
||||
.prioCopyPara2{
|
||||
@include u-padding-top(2);
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import React from 'react';
|
||||
import {render, screen} from '@testing-library/react';
|
||||
import React from 'react';
|
||||
import {LocalizedComponent} from '../../test/testHelpers';
|
||||
import PrioritizationCopy from './PrioritizationCopy';
|
||||
|
||||
|
@ -13,6 +13,8 @@ describe('rendering of PrioritizationCopy Component -', () => {
|
|||
tribalCountAK: null,
|
||||
tribalCountUS: null,
|
||||
percentTractTribal: null,
|
||||
isIslandLowIncome: false,
|
||||
isGrandfathered: false,
|
||||
// eslint-disable-next-line max-len
|
||||
para1: `This tract is not considered disadvantaged. It does not meet any burden thresholds `,
|
||||
},
|
||||
|
@ -24,6 +26,8 @@ describe('rendering of PrioritizationCopy Component -', () => {
|
|||
tribalCountAK: null,
|
||||
tribalCountUS: null,
|
||||
percentTractTribal: null,
|
||||
isIslandLowIncome: false,
|
||||
isGrandfathered: false,
|
||||
// eslint-disable-next-line max-len
|
||||
para1: `This tract is not considered disadvantaged. It meets 1 burden threshold`,
|
||||
},
|
||||
|
@ -35,6 +39,8 @@ describe('rendering of PrioritizationCopy Component -', () => {
|
|||
tribalCountAK: null,
|
||||
tribalCountUS: null,
|
||||
percentTractTribal: null,
|
||||
isIslandLowIncome: false,
|
||||
isGrandfathered: false,
|
||||
// eslint-disable-next-line max-len
|
||||
para1: `This tract is not considered disadvantaged. It meets more than 1 burden threshold `,
|
||||
},
|
||||
|
@ -46,6 +52,8 @@ describe('rendering of PrioritizationCopy Component -', () => {
|
|||
tribalCountAK: null,
|
||||
tribalCountUS: null,
|
||||
percentTractTribal: null,
|
||||
isIslandLowIncome: false,
|
||||
isGrandfathered: false,
|
||||
// eslint-disable-next-line max-len
|
||||
para1: `This tract is considered disadvantaged because it meets 1 burden threshold `,
|
||||
},
|
||||
|
@ -57,212 +65,11 @@ describe('rendering of PrioritizationCopy Component -', () => {
|
|||
tribalCountAK: null,
|
||||
tribalCountUS: null,
|
||||
percentTractTribal: null,
|
||||
isIslandLowIncome: false,
|
||||
isGrandfathered: false,
|
||||
// eslint-disable-next-line max-len
|
||||
para1: `This tract is considered disadvantaged because it meets more than 1 burden threshold `,
|
||||
},
|
||||
|
||||
// {
|
||||
// isDonut: false, percentTribal: 0,
|
||||
// totalCategories: 0, totalIndicators: 1,
|
||||
// eslint-disable-next-line max-len
|
||||
// para1: `The less than 1% of this tract that are Federally-Recognized Tribal lands are considered disadvantaged.`,
|
||||
// },
|
||||
// {
|
||||
// isDonut: false, percentTribal: 0,
|
||||
// totalCategories: 0, totalIndicators: 2,
|
||||
// eslint-disable-next-line max-len
|
||||
// para1: `The less than 1% of this tract that are Federally-Recognized Tribal lands are considered disadvantaged.`,
|
||||
// },
|
||||
// {
|
||||
// isDonut: false, percentTribal: 0,
|
||||
// totalCategories: 1, totalIndicators: 0,
|
||||
// eslint-disable-next-line max-len
|
||||
// para1: `The less than 1% of this tract that are Federally-Recognized Tribal lands are considered disadvantaged.`,
|
||||
// },
|
||||
// {
|
||||
// isDonut: false, percentTribal: 0,
|
||||
// totalCategories: 1, totalIndicators: 1,
|
||||
// eslint-disable-next-line max-len
|
||||
// para1: `The less than 1% of this tract that are Federally-Recognized Tribal lands are considered disadvantaged.`,
|
||||
// },
|
||||
// {
|
||||
// isDonut: false, percentTribal: 0,
|
||||
// totalCategories: 1, totalIndicators: 2,
|
||||
// eslint-disable-next-line max-len
|
||||
// para1: `The less than 1% of this tract that are Federally-Recognized Tribal lands are considered disadvantaged.`,
|
||||
// },
|
||||
|
||||
// {
|
||||
// isDonut: false, percentTribal: .31,
|
||||
// totalCategories: 0, totalIndicators: 0,
|
||||
// eslint-disable-next-line max-len
|
||||
// para1: `The 31% of this tract that are Federally-Recognized Tribal lands are considered disadvantaged.`,
|
||||
// },
|
||||
// {
|
||||
// isDonut: false, percentTribal: .31,
|
||||
// totalCategories: 0, totalIndicators: 1,
|
||||
// eslint-disable-next-line max-len
|
||||
// para1: `The 31% of this tract that are Federally-Recognized Tribal lands are considered disadvantaged.`,
|
||||
// },
|
||||
// {
|
||||
// isDonut: false, percentTribal: .31,
|
||||
// totalCategories: 0, totalIndicators: 2,
|
||||
// eslint-disable-next-line max-len
|
||||
// para1: `The 31% of this tract that are Federally-Recognized Tribal lands are considered disadvantaged.`,
|
||||
// },
|
||||
// {
|
||||
// isDonut: false, percentTribal: .31,
|
||||
// totalCategories: 1, totalIndicators: 0,
|
||||
// eslint-disable-next-line max-len
|
||||
// para1: `The 31% of this tract that are Federally-Recognized Tribal lands are considered disadvantaged.`,
|
||||
// },
|
||||
// {
|
||||
// isDonut: false, percentTribal: .31,
|
||||
// totalCategories: 1, totalIndicators: 1,
|
||||
// eslint-disable-next-line max-len
|
||||
// para1: `The 31% of this tract that are Federally-Recognized Tribal lands are considered disadvantaged.`,
|
||||
// },
|
||||
// {
|
||||
// isDonut: false, percentTribal: .31,
|
||||
// totalCategories: 1, totalIndicators: 2,
|
||||
// eslint-disable-next-line max-len
|
||||
// para1: `The 31% of this tract that are Federally-Recognized Tribal lands are considered disadvantaged.`,
|
||||
// },
|
||||
|
||||
// {
|
||||
// isDonut: true, percentTribal: null,
|
||||
// totalCategories: 0, totalIndicators: 0,
|
||||
// eslint-disable-next-line max-len
|
||||
// para1: `This tract is considered disadvantaged because it is surrounded by tracts that are disadvantaged AND meets an adjusted low income threshold.`,
|
||||
// },
|
||||
// {
|
||||
// isDonut: true, percentTribal: null,
|
||||
// totalCategories: 0, totalIndicators: 1,
|
||||
// eslint-disable-next-line max-len
|
||||
// para1: `This tract is considered disadvantaged because it is surrounded by tracts that are disadvantaged AND meets an adjusted low income threshold.`,
|
||||
// },
|
||||
// {
|
||||
// isDonut: true, percentTribal: null,
|
||||
// totalCategories: 0, totalIndicators: 2,
|
||||
// eslint-disable-next-line max-len
|
||||
// para1: `This tract is considered disadvantaged because it is surrounded by tracts that are disadvantaged AND meets an adjusted low income threshold.`,
|
||||
// },
|
||||
// {
|
||||
// isDonut: true, percentTribal: null,
|
||||
// totalCategories: 1, totalIndicators: 0,
|
||||
// eslint-disable-next-line max-len
|
||||
// para1: `This tract is considered disadvantaged because it is surrounded by tracts that are disadvantaged AND meets an adjusted low income threshold.`,
|
||||
// },
|
||||
// {
|
||||
// isDonut: true, percentTribal: null,
|
||||
// totalCategories: 1, totalIndicators: 1,
|
||||
// eslint-disable-next-line max-len
|
||||
// para1: `This tract is considered disadvantaged because it is surrounded by tracts that are disadvantaged AND meets an adjusted low income threshold.`,
|
||||
// },
|
||||
// {
|
||||
// isDonut: true, percentTribal: null,
|
||||
// totalCategories: 1, totalIndicators: 2,
|
||||
// eslint-disable-next-line max-len
|
||||
// para1: `This tract is considered disadvantaged because it is surrounded by tracts that are disadvantaged AND meets an adjusted low income threshold.`,
|
||||
// },
|
||||
|
||||
// {
|
||||
// isDonut: true, percentTribal: 0,
|
||||
// totalCategories: 0, totalIndicators: 0,
|
||||
// eslint-disable-next-line max-len
|
||||
// para1: `This tract is considered disadvantaged because it is surrounded by tracts that are disadvantaged AND meets an adjusted low income threshold.`,
|
||||
// eslint-disable-next-line max-len
|
||||
// para2: `The less than 1% of this tract that are Federally-Recognized Tribal lands are also considered disadvantaged.`,
|
||||
// },
|
||||
// {
|
||||
// isDonut: true, percentTribal: 0,
|
||||
// totalCategories: 0, totalIndicators: 1,
|
||||
// eslint-disable-next-line max-len
|
||||
// para1: `This tract is considered disadvantaged because it is surrounded by tracts that are disadvantaged AND meets an adjusted low income threshold.`,
|
||||
// eslint-disable-next-line max-len
|
||||
// para2: `The less than 1% of this tract that are Federally-Recognized Tribal lands are also considered disadvantaged.`,
|
||||
// },
|
||||
// {
|
||||
// isDonut: true, percentTribal: 0,
|
||||
// totalCategories: 0, totalIndicators: 2,
|
||||
// eslint-disable-next-line max-len
|
||||
// para1: `This tract is considered disadvantaged because it is surrounded by tracts that are disadvantaged AND meets an adjusted low income threshold.`,
|
||||
// eslint-disable-next-line max-len
|
||||
// para2: `The less than 1% of this tract that are Federally-Recognized Tribal lands are also considered disadvantaged.`,
|
||||
// },
|
||||
// {
|
||||
// isDonut: true, percentTribal: 0,
|
||||
// totalCategories: 1, totalIndicators: 0,
|
||||
// eslint-disable-next-line max-len
|
||||
// para1: `This tract is considered disadvantaged because it is surrounded by tracts that are disadvantaged AND meets an adjusted low income threshold.`,
|
||||
// eslint-disable-next-line max-len
|
||||
// para2: `The less than 1% of this tract that are Federally-Recognized Tribal lands are also considered disadvantaged.`,
|
||||
// },
|
||||
// {
|
||||
// isDonut: true, percentTribal: 0,
|
||||
// totalCategories: 1, totalIndicators: 1,
|
||||
// eslint-disable-next-line max-len
|
||||
// para1: `This tract is considered disadvantaged because it is surrounded by tracts that are disadvantaged AND meets an adjusted low income threshold.`,
|
||||
// eslint-disable-next-line max-len
|
||||
// para2: `The less than 1% of this tract that are Federally-Recognized Tribal lands are also considered disadvantaged.`,
|
||||
// },
|
||||
// {
|
||||
// isDonut: true, percentTribal: 0,
|
||||
// totalCategories: 1, totalIndicators: 2,
|
||||
// eslint-disable-next-line max-len
|
||||
// para1: `This tract is considered disadvantaged because it is surrounded by tracts that are disadvantaged AND meets an adjusted low income threshold.`,
|
||||
// eslint-disable-next-line max-len
|
||||
// para2: `The less than 1% of this tract that are Federally-Recognized Tribal lands are also considered disadvantaged.`,
|
||||
// },
|
||||
|
||||
// {
|
||||
// isDonut: true, percentTribal: .29,
|
||||
// totalCategories: 0, totalIndicators: 0,
|
||||
// eslint-disable-next-line max-len
|
||||
// para1: `This tract is considered disadvantaged because it is surrounded by tracts that are disadvantaged AND meets an adjusted low income threshold.`,
|
||||
// eslint-disable-next-line max-len
|
||||
// para2: `The 29% of this tract that are Federally-Recognized Tribal lands are also considered disadvantaged.`,
|
||||
// },
|
||||
// {
|
||||
// isDonut: true, percentTribal: .29,
|
||||
// totalCategories: 0, totalIndicators: 1,
|
||||
// eslint-disable-next-line max-len
|
||||
// para1: `This tract is considered disadvantaged because it is surrounded by tracts that are disadvantaged AND meets an adjusted low income threshold.`,
|
||||
// eslint-disable-next-line max-len
|
||||
// para2: `The 29% of this tract that are Federally-Recognized Tribal lands are also considered disadvantaged.`,
|
||||
// },
|
||||
// {
|
||||
// isDonut: true, percentTribal: .29,
|
||||
// totalCategories: 0, totalIndicators: 2,
|
||||
// eslint-disable-next-line max-len
|
||||
// para1: `This tract is considered disadvantaged because it is surrounded by tracts that are disadvantaged AND meets an adjusted low income threshold.`,
|
||||
// eslint-disable-next-line max-len
|
||||
// para2: `The 29% of this tract that are Federally-Recognized Tribal lands are also considered disadvantaged.`,
|
||||
// },
|
||||
// {
|
||||
// isDonut: true, percentTribal: .29,
|
||||
// totalCategories: 1, totalIndicators: 0,
|
||||
// eslint-disable-next-line max-len
|
||||
// para1: `This tract is considered disadvantaged because it is surrounded by tracts that are disadvantaged AND meets an adjusted low income threshold.`,
|
||||
// eslint-disable-next-line max-len
|
||||
// para2: `The 29% of this tract that are Federally-Recognized Tribal lands are also considered disadvantaged.`,
|
||||
// },
|
||||
// {
|
||||
// isDonut: true, percentTribal: .29,
|
||||
// totalCategories: 1, totalIndicators: 1,
|
||||
// eslint-disable-next-line max-len
|
||||
// para1: `This tract is considered disadvantaged because it is surrounded by tracts that are disadvantaged AND meets an adjusted low income threshold.`,
|
||||
// eslint-disable-next-line max-len
|
||||
// para2: `The 29% of this tract that are Federally-Recognized Tribal lands are also considered disadvantaged.`,
|
||||
// },
|
||||
// {
|
||||
// isDonut: true, percentTribal: .29,
|
||||
// totalCategories: 2, totalIndicators: 2,
|
||||
// eslint-disable-next-line max-len
|
||||
// para1: `This tract is considered disadvantaged because it is surrounded by tracts that are disadvantaged AND meets an adjusted low income threshold.`,
|
||||
// eslint-disable-next-line max-len
|
||||
// para2: `The 29% of this tract that are Federally-Recognized Tribal lands are also considered disadvantaged.`,
|
||||
// },
|
||||
];
|
||||
|
||||
testCases.forEach((testCase) => {
|
||||
|
@ -278,15 +85,14 @@ describe('rendering of PrioritizationCopy Component -', () => {
|
|||
tribalCountAK={testCase.tribalCountAK}
|
||||
tribalCountUS={null}
|
||||
percentTractTribal={testCase.percentTractTribal}
|
||||
|
||||
isIslandLowIncome={testCase.isIslandLowIncome}
|
||||
isGrandfathered={testCase.isGrandfathered}
|
||||
/>
|
||||
</LocalizedComponent>,
|
||||
);
|
||||
expect(asFragment()).toMatchSnapshot();
|
||||
|
||||
screen.getByText((content, element) => {
|
||||
return element?.tagName.toLowerCase() === 'div' && content.startsWith(testCase.para1);
|
||||
});
|
||||
screen.getByText((content) => content.startsWith(testCase.para1));
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
import React from 'react';
|
||||
|
||||
// import * as styles from './PrioritizationCopy.module.scss';
|
||||
|
||||
import * as EXPLORE_COPY from '../../data/copy/explore';
|
||||
|
||||
interface IPrioritizationCopy {
|
||||
|
@ -45,7 +43,7 @@ const PrioritizationCopy =
|
|||
tribalCountUS,
|
||||
percentTractTribal,
|
||||
}:IPrioritizationCopy) => {
|
||||
let prioCopyRendered;
|
||||
let prioCopyRendered = null;
|
||||
|
||||
if (isGrandfathered) {
|
||||
prioCopyRendered = EXPLORE_COPY.PRIORITIZATION_COPY.PRIO_GRANDFATHERED_LI;
|
||||
|
@ -130,21 +128,14 @@ const PrioritizationCopy =
|
|||
// if 2
|
||||
} else if (totalCategoriesPrioritized > 0) {
|
||||
if (totalBurdensPrioritized === 0) {
|
||||
prioCopyRendered = <></>;
|
||||
} else if (totalBurdensPrioritized === 1) {
|
||||
prioCopyRendered = EXPLORE_COPY.getPrioNBurdenCopy(`1`);
|
||||
} else if (totalBurdensPrioritized > 1) {
|
||||
prioCopyRendered = EXPLORE_COPY.getPrioNBurdenCopy(`more than 1`);
|
||||
}
|
||||
} else {
|
||||
prioCopyRendered = <></>;
|
||||
};
|
||||
|
||||
return (
|
||||
<div>
|
||||
{prioCopyRendered}
|
||||
</div>
|
||||
);
|
||||
return prioCopyRendered && <p>{prioCopyRendered}</p>;
|
||||
};
|
||||
|
||||
export default PrioritizationCopy;
|
||||
|
|
|
@ -2,60 +2,60 @@
|
|||
|
||||
exports[`rendering of PrioritizationCopy Component - checks if component renders This tract is considered disadvantaged because it meets 1 burden threshold when totCats = 2, totBurds = 1, isAdj = false, isAdjLI = false, tribal % = null, 1`] = `
|
||||
<DocumentFragment>
|
||||
<div>
|
||||
<p>
|
||||
This tract is considered disadvantaged because it meets 1 burden threshold
|
||||
<strong>
|
||||
AND
|
||||
</strong>
|
||||
the associated socioeconomic threshold.
|
||||
</div>
|
||||
</p>
|
||||
</DocumentFragment>
|
||||
`;
|
||||
|
||||
exports[`rendering of PrioritizationCopy Component - checks if component renders This tract is considered disadvantaged because it meets more than 1 burden threshold when totCats = 2, totBurds = 5, isAdj = false, isAdjLI = false, tribal % = null, 1`] = `
|
||||
<DocumentFragment>
|
||||
<div>
|
||||
<p>
|
||||
This tract is considered disadvantaged because it meets more than 1 burden threshold
|
||||
<strong>
|
||||
AND
|
||||
</strong>
|
||||
the associated socioeconomic threshold.
|
||||
</div>
|
||||
</p>
|
||||
</DocumentFragment>
|
||||
`;
|
||||
|
||||
exports[`rendering of PrioritizationCopy Component - checks if component renders This tract is not considered disadvantaged. It does not meet any burden thresholds when totCats = 0, totBurds = 0, isAdj = false, isAdjLI = false, tribal % = null, 1`] = `
|
||||
<DocumentFragment>
|
||||
<div>
|
||||
<p>
|
||||
This tract is not considered disadvantaged. It does not meet any burden thresholds
|
||||
<strong>
|
||||
OR
|
||||
</strong>
|
||||
at least one associated socioeconomic threshold.
|
||||
</div>
|
||||
</p>
|
||||
</DocumentFragment>
|
||||
`;
|
||||
|
||||
exports[`rendering of PrioritizationCopy Component - checks if component renders This tract is not considered disadvantaged. It meets 1 burden threshold when totCats = 0, totBurds = 1, isAdj = false, isAdjLI = false, tribal % = null, 1`] = `
|
||||
<DocumentFragment>
|
||||
<div>
|
||||
<p>
|
||||
This tract is not considered disadvantaged. It meets 1 burden threshold
|
||||
<strong>
|
||||
BUT
|
||||
</strong>
|
||||
no associated socioeconomic thresholds.
|
||||
</div>
|
||||
</p>
|
||||
</DocumentFragment>
|
||||
`;
|
||||
|
||||
exports[`rendering of PrioritizationCopy Component - checks if component renders This tract is not considered disadvantaged. It meets more than 1 burden threshold when totCats = 0, totBurds = 5, isAdj = false, isAdjLI = false, tribal % = null, 1`] = `
|
||||
<DocumentFragment>
|
||||
<div>
|
||||
<p>
|
||||
This tract is not considered disadvantaged. It meets more than 1 burden threshold
|
||||
<strong>
|
||||
BUT
|
||||
</strong>
|
||||
no associated socioeconomic thresholds.
|
||||
</div>
|
||||
</p>
|
||||
</DocumentFragment>
|
||||
`;
|
||||
|
|
|
@ -1,5 +1 @@
|
|||
@use '../../styles/design-system.scss' as *;
|
||||
|
||||
.prioritizationCopy2Container{
|
||||
@include u-padding-top(2);
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import React from 'react';
|
||||
import {render, screen} from '@testing-library/react';
|
||||
import React from 'react';
|
||||
import {LocalizedComponent} from '../../test/testHelpers';
|
||||
import PrioritizationCopy2 from './PrioritizationCopy2';
|
||||
|
||||
|
@ -48,9 +48,7 @@ describe('rendering of PrioritizationCopy2 Component', () => {
|
|||
);
|
||||
expect(asFragment()).toMatchSnapshot();
|
||||
|
||||
screen.getByText((content, element) => {
|
||||
return element?.tagName.toLowerCase() === 'div' && content.startsWith(testCase.para1);
|
||||
});
|
||||
screen.getByText((content) => content.startsWith(testCase.para1));
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
import React from 'react';
|
||||
|
||||
import * as styles from './PrioritizationCopy2.module.scss';
|
||||
|
||||
import * as EXPLORE_COPY from '../../data/copy/explore';
|
||||
|
||||
interface IPrioritizationCopy2 {
|
||||
|
@ -40,8 +38,7 @@ const PrioritizationCopy2 =
|
|||
tribalCountUS,
|
||||
percentTractTribal,
|
||||
}:IPrioritizationCopy2) => {
|
||||
let prioCopy2Rendered = <></>;
|
||||
|
||||
let prioCopy2Rendered = null;
|
||||
|
||||
// if 1
|
||||
if (
|
||||
|
@ -165,13 +162,9 @@ const PrioritizationCopy2 =
|
|||
(tribalCountAK !== null && tribalCountAK >= 1)
|
||||
) {
|
||||
prioCopy2Rendered = EXPLORE_COPY.getPrioANVCopy(tribalCountAK, false);
|
||||
};
|
||||
}
|
||||
|
||||
return (
|
||||
<div className={prioCopy2Rendered !== <></> ? '' : styles.prioritizationCopy2Container}>
|
||||
{prioCopy2Rendered}
|
||||
</div>
|
||||
);
|
||||
return prioCopy2Rendered && <p>{prioCopy2Rendered}</p>;
|
||||
};
|
||||
|
||||
export default PrioritizationCopy2;
|
||||
|
|
|
@ -2,20 +2,16 @@
|
|||
|
||||
exports[`rendering of PrioritizationCopy2 Component checks if component renders The lands of Federally Recognized Tribes that cover 2% of this tract are also considered disadvantaged. when totCats = 0, totBurds = 0, isAdj = true, isAdjLI = true, tribal % = 2, 1`] = `
|
||||
<DocumentFragment>
|
||||
<div
|
||||
class=""
|
||||
>
|
||||
<p>
|
||||
The lands of Federally Recognized Tribes that cover 2% of this tract are also considered disadvantaged.
|
||||
</div>
|
||||
</p>
|
||||
</DocumentFragment>
|
||||
`;
|
||||
|
||||
exports[`rendering of PrioritizationCopy2 Component checks if component renders The lands of Federally Recognized Tribes that cover 4% of this tract are also considered disadvantaged. when totCats = 0, totBurds = 1, isAdj = true, isAdjLI = true, tribal % = 4, 1`] = `
|
||||
<DocumentFragment>
|
||||
<div
|
||||
class=""
|
||||
>
|
||||
<p>
|
||||
The lands of Federally Recognized Tribes that cover 4% of this tract are also considered disadvantaged.
|
||||
</div>
|
||||
</p>
|
||||
</DocumentFragment>
|
||||
`;
|
||||
|
|
|
@ -123,6 +123,11 @@ export const GET_INVOLVED = defineMessages({
|
|||
defaultMessage: 'Check it out on GitHub',
|
||||
description: 'Navigate to the About page. This is the link to github repository',
|
||||
},
|
||||
JOIN_OSC_LINK_TAG: {
|
||||
id: 'about.page.join.open.source.link.tag',
|
||||
defaultMessage: 'New Location',
|
||||
description: 'Tag shown next to GitHub links indicating it has a new location',
|
||||
},
|
||||
});
|
||||
|
||||
export const GET_INVOLVED_COMMENTS = {
|
||||
|
|
|
@ -1472,7 +1472,7 @@ export const NOTE_ON_TERRITORIES = {
|
|||
PARA_2: <FormattedMessage
|
||||
id={'explore.map.page.under.map.note.on.territories.para.2'}
|
||||
defaultMessage={`
|
||||
<bold>American Samoa, Guam, the Northern Mariana Islands, and the U.S. Virgin Islands:</bold> For these U.S. Territories, the tool uses the following data: low income, unemployment, poverty, low median income, and high school education. These burdens are in the workforce development category. Due to limited data availability, tracts in these U.S. Territories are considered disadvantaged if they meet the low income threshold only.
|
||||
<bold>American Samoa, Guam, the Northern Mariana Islands, and the U.S. Virgin Islands:</bold> For these U.S. Territories, the tool uses the following data: low income, unemployment, poverty, low median income, and high school education. These burdens are in the workforce development category. Due to limited data availability, tracts in these U.S. Territories are also considered disadvantaged if they meet the low income threshold only.
|
||||
`}
|
||||
description={`Navigate to the explore the map page. Under the map, you will see territories paragraph 2`}
|
||||
values={{
|
||||
|
|
|
@ -164,7 +164,7 @@ export const FAQ_ANSWERS = {
|
|||
/>,
|
||||
Q2_P4: <FormattedMessage
|
||||
id={ 'faqs.page.answers.Q2_P4'}
|
||||
defaultMessage={ 'The tool uses census tracts. Census tracts are small units of geography. Census tract boundaries for <link1>statistical areas</link1> are determined by the U.S. Census Bureau once every ten years. The tool utilizes the census tract boundaries from 2010. Tracts that were identified as disadvantaged in the 1.0 version of the tool remain disadvantaged in the 2.0 version of the tool.'}
|
||||
defaultMessage={ 'The tool uses census tracts. Census tracts are small units of geography. Census tract boundaries for <link1>statistical areas</link1> are determined by the U.S. Census Bureau once every ten years. The tool utilizes the census tract boundaries from 2010.'}
|
||||
description={ 'Navigate to the FAQs page, this will be an answer, Q2_P4'}
|
||||
values={{
|
||||
link1: linkFn(`https://www.census.gov/programs-surveys/acs/geography-acs/geography-boundaries-by-year.html`, false, true),
|
||||
|
@ -172,9 +172,14 @@ export const FAQ_ANSWERS = {
|
|||
/>,
|
||||
Q2_P5: <FormattedMessage
|
||||
id={ 'faqs.page.answers.Q2_P5'}
|
||||
defaultMessage={ 'Due to limited data availability, tracts in American Samoa, Guam, the Northern Mariana Islands, and the U.S. Virgin Islands are considered disadvantaged if they meet the low income threshold only.'}
|
||||
defaultMessage={ ' Tracts that were identified as disadvantaged in the 1.0 version of the tool remain disadvantaged in the 2.0 version of the tool.'}
|
||||
description={ 'Navigate to the FAQs page, this will be an answer, Q2_P5'}
|
||||
/>,
|
||||
Q2_P6: <FormattedMessage
|
||||
id={ 'faqs.page.answers.Q2_P6'}
|
||||
defaultMessage={ 'Due to limited data availability, tracts in American Samoa, Guam, the Northern Mariana Islands, and the U.S. Virgin Islands are considered disadvantaged if they meet the low income threshold only.'}
|
||||
description={ 'Navigate to the FAQs page, this will be an answer, Q2_P6'}
|
||||
/>,
|
||||
Q3_P1: <FormattedMessage
|
||||
id={ 'faqs.page.answers.Q3_P1'}
|
||||
defaultMessage={ 'No. The Climate and Economic Justice Screening Tool (CEJST) does not use racial demographics in its methodology. The current version of the tool displays data about race and age only to provide information when a census tract is selected.'}
|
||||
|
@ -208,7 +213,7 @@ export const FAQ_ANSWERS = {
|
|||
/>,
|
||||
Q4_P3: <FormattedMessage
|
||||
id={ 'faqs.page.answers.Q4_P3'}
|
||||
defaultMessage={ '<bold>American Samoa, Guam, the Northern Mariana Islands, and the U.S. Virgin Islands:</bold> For these U.S. Territories, the tool uses the following data: unemployment, poverty, low median income, and high school education. These burdens are in the workforce development category. Due to limited data availability, tracts in these U.S. Territories are considered disadvantaged if they meet the low income threshold only.'}
|
||||
defaultMessage={ '<bold>American Samoa, Guam, the Northern Mariana Islands, and the U.S. Virgin Islands:</bold> For these U.S. Territories, the tool uses the following data: unemployment, poverty, low median income, and high school education. These burdens are in the workforce development category. Due to limited data availability, tracts in these U.S. Territories are also considered disadvantaged if they meet the low income threshold only.'}
|
||||
description={ 'Navigate to the FAQs page, this will be an answer, Q4_P3'}
|
||||
values={{
|
||||
bold: boldFn,
|
||||
|
|
|
@ -44,14 +44,21 @@ export const PAGE = defineMessages({
|
|||
PARA1_BULLET3: {
|
||||
id: 'methodology.page.paragraph.1.bullet.3',
|
||||
defaultMessage: `
|
||||
For census tracts that were identified as disadvantaged in version 1.0 of the tool, but do not meet the methodology for the 2.0 version: If the census tract ID was identified as disadvantaged in version 1.0, then the census tract is considered disadvantaged
|
||||
For census tracts that were identified as disadvantaged in version 1.0 of the tool, but do not meet the methodology for the 2.0 version:
|
||||
`,
|
||||
description: 'Navigate to the methodology page. This is the methodology paragraph 1, bullet 3',
|
||||
},
|
||||
PARA1_BULLET3_2: {
|
||||
id: 'methodology.page.paragraph.1.bullet.3_2',
|
||||
defaultMessage: `
|
||||
If the census tract ID was identified as disadvantaged in version 1.0, then the census tract is considered disadvantaged
|
||||
`,
|
||||
description: 'Navigate to the methodology page. This is the methodology paragraph 1, bullet 3',
|
||||
},
|
||||
PARA1_BULLET4: {
|
||||
id: 'methodology.page.paragraph.1.bullet.4',
|
||||
defaultMessage: `
|
||||
Additionally, census tracts in certain U.S. Territories are considered disadvantaged if they meet the low income threshold only. This is because these Territories are not included in each of the nationally-consistent datasets on environmental and climate burdens used in the tool
|
||||
Additionally, census tracts in certain U.S. Territories are considered disadvantaged if they meet the low income threshold only. This is because these Territories are not included in each of the nationally-consistent datasets on environmental and climate burdens used in the tool.
|
||||
`,
|
||||
description: 'Navigate to the methodology page. This is the methodology paragraph 1, bullet 5',
|
||||
},
|
||||
|
@ -178,6 +185,7 @@ export const CATEGORY_AND_CLAUSE = {
|
|||
|
||||
// Indicator Categories copy constants:
|
||||
export const CATEGORIES = {
|
||||
OMIT: <></>,
|
||||
ALL: <FormattedMessage
|
||||
id={'methodology.page.datasets.all.used.in.text'}
|
||||
defaultMessage={`All categories`}
|
||||
|
@ -404,7 +412,6 @@ export const CATEGORIES = {
|
|||
`}
|
||||
description={`Displaying Federally recognized tribal boundaries and Alaska Native Villages on the map`}
|
||||
/>,
|
||||
|
||||
},
|
||||
};
|
||||
|
||||
|
@ -902,7 +909,7 @@ export const INDICATORS: IIndicators[] = [
|
|||
boldtag: boldFn,
|
||||
}}
|
||||
/>,
|
||||
usedIn: CATEGORIES.ALL,
|
||||
usedIn: CATEGORIES.OMIT,
|
||||
responsibleParty: RESPONSIBLE_PARTIES.CENSUS,
|
||||
sources: [
|
||||
{
|
||||
|
|
|
@ -47,6 +47,10 @@
|
|||
"defaultMessage": "Check it out on GitHub",
|
||||
"description": "Navigate to the About page. This is the link to github repository"
|
||||
},
|
||||
"about.page.join.open.source.link.tag": {
|
||||
"defaultMessage": "New Location",
|
||||
"description": "Tag shown next to GitHub links indicating it has a new location"
|
||||
},
|
||||
"about.page.join.opensource.heading": {
|
||||
"defaultMessage": "Join the open source community",
|
||||
"description": "Navigate to the About page. This is the join the community heading"
|
||||
|
@ -1188,7 +1192,7 @@
|
|||
"description": "Navigate to the explore the map page. Under the map, you will see territories paragraph 1"
|
||||
},
|
||||
"explore.map.page.under.map.note.on.territories.para.2": {
|
||||
"defaultMessage": "<bold>American Samoa, Guam, the Northern Mariana Islands, and the U.S. Virgin Islands:</bold> For these U.S. Territories, the tool uses the following data: low income, unemployment, poverty, low median income, and high school education. These burdens are in the workforce development category. Due to limited data availability, tracts in these U.S. Territories are considered disadvantaged if they meet the low income threshold only.",
|
||||
"defaultMessage": "<bold>American Samoa, Guam, the Northern Mariana Islands, and the U.S. Virgin Islands:</bold> For these U.S. Territories, the tool uses the following data: low income, unemployment, poverty, low median income, and high school education. These burdens are in the workforce development category. Due to limited data availability, tracts in these U.S. Territories are also considered disadvantaged if they meet the low income threshold only.",
|
||||
"description": "Navigate to the explore the map page. Under the map, you will see territories paragraph 2"
|
||||
},
|
||||
"explore.map.page.under.map.note.on.tribal.nations.intro": {
|
||||
|
@ -1368,13 +1372,17 @@
|
|||
"description": "Navigate to the FAQs page, this will be an answer, Q2_P3"
|
||||
},
|
||||
"faqs.page.answers.Q2_P4": {
|
||||
"defaultMessage": "The tool uses census tracts. Census tracts are small units of geography. Census tract boundaries for <link1>statistical areas</link1> are determined by the U.S. Census Bureau once every ten years. The tool utilizes the census tract boundaries from 2010. Tracts that were identified as disadvantaged in the 1.0 version of the tool remain disadvantaged in the 2.0 version of the tool.",
|
||||
"defaultMessage": "The tool uses census tracts. Census tracts are small units of geography. Census tract boundaries for <link1>statistical areas</link1> are determined by the U.S. Census Bureau once every ten years. The tool utilizes the census tract boundaries from 2010.",
|
||||
"description": "Navigate to the FAQs page, this will be an answer, Q2_P4"
|
||||
},
|
||||
"faqs.page.answers.Q2_P5": {
|
||||
"defaultMessage": "Due to limited data availability, tracts in American Samoa, Guam, the Northern Mariana Islands, and the U.S. Virgin Islands are considered disadvantaged if they meet the low income threshold only.",
|
||||
"defaultMessage": "Tracts that were identified as disadvantaged in the 1.0 version of the tool remain disadvantaged in the 2.0 version of the tool.",
|
||||
"description": "Navigate to the FAQs page, this will be an answer, Q2_P5"
|
||||
},
|
||||
"faqs.page.answers.Q2_P6": {
|
||||
"defaultMessage": "Due to limited data availability, tracts in American Samoa, Guam, the Northern Mariana Islands, and the U.S. Virgin Islands are considered disadvantaged if they meet the low income threshold only.",
|
||||
"description": "Navigate to the FAQs page, this will be an answer, Q2_P6"
|
||||
},
|
||||
"faqs.page.answers.Q3_P1": {
|
||||
"defaultMessage": "No. The Climate and Economic Justice Screening Tool (CEJST) does not use racial demographics in its methodology. The current version of the tool displays data about race and age only to provide information when a census tract is selected.",
|
||||
"description": "Navigate to the FAQs page, this will be an answer, Q3_P1"
|
||||
|
@ -1396,7 +1404,7 @@
|
|||
"description": "Navigate to the FAQs page, this will be an answer, Q4_P2"
|
||||
},
|
||||
"faqs.page.answers.Q4_P3": {
|
||||
"defaultMessage": "<bold>American Samoa, Guam, the Northern Mariana Islands, and the U.S. Virgin Islands:</bold> For these U.S. Territories, the tool uses the following data: unemployment, poverty, low median income, and high school education. These burdens are in the workforce development category. Due to limited data availability, tracts in these U.S. Territories are considered disadvantaged if they meet the low income threshold only.",
|
||||
"defaultMessage": "<bold>American Samoa, Guam, the Northern Mariana Islands, and the U.S. Virgin Islands:</bold> For these U.S. Territories, the tool uses the following data: unemployment, poverty, low median income, and high school education. These burdens are in the workforce development category. Due to limited data availability, tracts in these U.S. Territories are also considered disadvantaged if they meet the low income threshold only.",
|
||||
"description": "Navigate to the FAQs page, this will be an answer, Q4_P3"
|
||||
},
|
||||
"faqs.page.answers.Q5_P1": {
|
||||
|
@ -2140,11 +2148,15 @@
|
|||
"description": "Navigate to the methodology page. This is the methodology paragraph 1, bullet 2"
|
||||
},
|
||||
"methodology.page.paragraph.1.bullet.3": {
|
||||
"defaultMessage": "For census tracts that were identified as disadvantaged in version 1.0 of the tool, but do not meet the methodology for the 2.0 version: If the census tract ID was identified as disadvantaged in version 1.0, then the census tract is considered disadvantaged",
|
||||
"defaultMessage": "For census tracts that were identified as disadvantaged in version 1.0 of the tool, but do not meet the methodology for the 2.0 version:",
|
||||
"description": "Navigate to the methodology page. This is the methodology paragraph 1, bullet 3"
|
||||
},
|
||||
"methodology.page.paragraph.1.bullet.3_2": {
|
||||
"defaultMessage": "If the census tract ID was identified as disadvantaged in version 1.0, then the census tract is considered disadvantaged",
|
||||
"description": "Navigate to the methodology page. This is the methodology paragraph 1, bullet 3"
|
||||
},
|
||||
"methodology.page.paragraph.1.bullet.4": {
|
||||
"defaultMessage": "Additionally, census tracts in certain U.S. Territories are considered disadvantaged if they meet the low income threshold only. This is because these Territories are not included in each of the nationally-consistent datasets on environmental and climate burdens used in the tool",
|
||||
"defaultMessage": "Additionally, census tracts in certain U.S. Territories are considered disadvantaged if they meet the low income threshold only. This is because these Territories are not included in each of the nationally-consistent datasets on environmental and climate burdens used in the tool.",
|
||||
"description": "Navigate to the methodology page. This is the methodology paragraph 1, bullet 5"
|
||||
},
|
||||
"methodology.page.paragraph.2": {
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
"about.page.how.you.can.help.list.item.4": "¿Más preguntas? La mejor forma de ponerse en contacto con el Consejo sobre la Calidad del Medio Ambiente (CEQ, por sus siglas en inglés) es al completar este <link2es>formulario</link2es>. De lo contrario, envíe un correo electrónico a: <link1>Screeningtool-Support@omb.eop.gov</link1>",
|
||||
"about.page.join.open.source.info": "El código de la herramienta es código abierto, lo cual significa que está disponible para que el público lo vea y contribuya.",
|
||||
"about.page.join.open.source.link": "Véala en GitHub",
|
||||
"about.page.join.open.source.link.tag": "Nueva Ubicación",
|
||||
"about.page.join.opensource.heading": "Súmese a la comunidad de código abierto.",
|
||||
"about.page.paragraph.1": "Esta herramienta se denomina Herramienta de evaluación de la justicia climática y económica. La herramienta tiene un mapa interactivo y utiliza conjuntos de datos que son indicadores de cargas en ocho categorías: cambio climático, energía, salud, vivienda, contaminación heredada, transporte, agua y aguas residuales, y formación de la fuerza laboral. La herramienta utiliza esta información para identificar a las comunidades que experimentan estas cargas. Éstas son las comunidades desfavorecidas porque están marginadas por la falta de inversión y sobrecargadas por la contaminación.",
|
||||
"about.page.paragraph.2": "CEQ actualizará la herramienta, después de revisar los comentarios del público, las investigaciones y la disponibilidad de nuevos datos. La versión actual de la herramienta es la versión {version}.",
|
||||
|
@ -296,7 +297,7 @@
|
|||
"explore.map.page.under.map.note.on.territories.intro": "Nota sobre los Territorios de los Estados Unidos",
|
||||
"explore.map.page.under.map.note.on.territories.para.0": "No todos los datos utilizados en la herramienta están disponibles o se utilizan para todos los territorios estadounidenses, y hay un conjunto de datos que no se utiliza en Puerto Rico.",
|
||||
"explore.map.page.under.map.note.on.territories.para.1": "<bold>Puerto Rico:</bold> Los datos utilizados para Puerto Rico proceden de todos los campos relevantes y disponibles en las categorías de energía, vivienda, contaminación heredada, transporte y formación de la fuerza laboral. Se utilizan los siguientes datos: ingresos bajos, riesgo previsto de inundaciones, costo de la energía, falta de tubería interior, pintura con plomo, costo de la vivienda, proximidad a instalaciones de residuos peligrosos, proximidad a sitios del Superfund o de la Lista Nacional de Prioridades (NPL), proximidad a instalaciones del Plan de Manejo de Riesgos (RMP), exposición a partículas diésel, proximidad al tráfico y volumen de este, tanques de almacenamiento subterráneo y descargas, vertido de aguas residuales, ingresos medios bajos, pobreza, desempleo y educación secundaria o preparatoria. Se eliminó el aislamiento lingüístico para Puerto Rico basándose en los comentarios recibidos durante el periodo beta.",
|
||||
"explore.map.page.under.map.note.on.territories.para.2": "<bold>Samoa estadounidense, Guam, las Islas Marianas del Norte y las Islas Vírgenes de los Estados Unidos:</bold> Para estos territorios de EE. UU., la herramienta utiliza los siguientes datos: bajos ingresos, desempleo, pobreza, ingresos medios bajos y educación secundaria. Estas cargas se encuentran en la categoría de desarrollo de la fuerza laboral. Debido a la disponibilidad limitada de datos, los distritos en estos territorios de EE. UU. se consideran desfavorecidas si solo alcanzan el umbral de bajos ingresos.",
|
||||
"explore.map.page.under.map.note.on.territories.para.2": "<bold>Samoa estadounidense, Guam, las Islas Marianas del Norte y las Islas Vírgenes de los Estados Unidos:</bold> Para estos territorios de EE. UU., la herramienta utiliza los siguientes datos: bajos ingresos, desempleo, pobreza, ingresos medios bajos y educación secundaria. Estas cargas se encuentran en la categoría de desarrollo de la fuerza laboral. Debido a la disponibilidad limitada de datos, los distritos en estos territorios de EE. UU. también se consideran desfavorecidas si solo alcanzan el umbral de bajos ingresos.",
|
||||
"explore.map.page.under.map.note.on.tribal.nations.intro": "Observaciones sobre las naciones tribales",
|
||||
"explore.map.page.under.map.note.on.tribal.nations.para.1": "Para respetar la soberanía tribal y el autogobierno y cumplir con las responsabilidades del fideicomiso federal y del tratado con las naciones tribales, las tierras dentro de los límites de las tribus reconocidas a nivel federal se designan como desfavorecidas en el mapa. Los pueblos nativos de Alaska se incluyen como ubicaciones puntuales que son más pequeñas que un distrito censal. Los límites de los distritos censales y las tierras de las tribus reconocidas a nivel federal son diferentes.",
|
||||
"explore.map.page.under.map.note.on.tribal.nations.para.2": "Esta decisión se tomó tras una consulta significativa y sólida con las naciones tribales. Esto coincide con el <link1>Plan de acción</link1> para la consulta y coordinación con las naciones tribales del CEQ, el <link3>Memorando</link3> sobre la Consulta de las naciones tribales y fortalecimiento de las consultas entre naciones, y la <link2>Orden ejecutiva 13175</link2> sobre Consulta y coordinación con los gobiernos de las tribus indias.",
|
||||
|
@ -341,14 +342,15 @@
|
|||
"faqs.page.answers.Q2_P2_1": "Si se encuentran en un distrito censal que cumple con los umbrales de al menos una de las categorías de carga de la herramienta, o",
|
||||
"faqs.page.answers.Q2_P2_2": "Si están en tierras dentro de los límites de las tribus reconocidas a nivel federal.",
|
||||
"faqs.page.answers.Q2_P3": "No todas las comunidades desfavorecidas se pueden mostrar en el mapa. El mapa muestra la ubicación de los puntos de las aldeas nativas de Alaska. Algunas comunidades no viven en un solo lugar. Esta herramienta se centra en identificar comunidades que pueden definirse geográficamente.",
|
||||
"faqs.page.answers.Q2_P4": "La herramienta usa distritos censales. Estos distritos censales son pequeñas unidades geográficas. Los límites de los distritos censales para <link1>áreas con fines estadísticos</link1> son determinados por la Oficina del Censo de los EE. UU. cada diez años. La herramienta utiliza los límites de los distritos censales de 2010. Los distritos censales que fueron identificadas como desfavorecidos en la versión 1.0 de la herramienta siguen estando en desventaja en la versión 2.0 de la herramienta.",
|
||||
"faqs.page.answers.Q2_P5": "Debido a la limitada disponibilidad de datos, las zonas de Samoa Americana, Guam, las Islas Marianas del Norte y las Islas Vírgenes de los Estados Unidos se consideran desfavorecidas si solo alcanzan el umbral de bajos ingresos.",
|
||||
"faqs.page.answers.Q2_P4": "La herramienta usa distritos censales. Estos distritos censales son pequeñas unidades geográficas. Los límites de los distritos censales para <link1>áreas con fines estadísticos</link1> son determinados por la Oficina del Censo de los EE. UU. cada diez años. La herramienta utiliza los límites de los distritos censales de 2010.",
|
||||
"faqs.page.answers.Q2_P5": "Los distritos censales que fueron identificadas como desfavorecidos en la versión 1.0 de la herramienta siguen estando en desventaja en la versión 2.0 de la herramienta.",
|
||||
"faqs.page.answers.Q2_P6": "Debido a la limitada disponibilidad de datos, las zonas de Samoa Americana, Guam, las Islas Marianas del Norte y las Islas Vírgenes de los Estados Unidos se consideran desfavorecidas si solo alcanzan el umbral de bajos ingresos.",
|
||||
"faqs.page.answers.Q3_P1": "No. La Herramienta de evaluación de la justicia climática y económica (CEJST) no utiliza datos demográficos raciales en su metodología. La versión actual de la herramienta muestra datos sobre raza y edad sólo para proporcionar información cuando se selecciona un distrito censal.",
|
||||
"faqs.page.answers.Q3_P2": "Las comunidades de color sufren de forma desproporcionada las cargas ambientales y sanitarias, conforme se ha documentado ampliamente. Debido a décadas de inversiones insuficientes, también se enfrentan a mayores riesgos derivados del cambio climático.",
|
||||
"faqs.page.answers.Q3_P3": "Aunque la CEJST no utiliza la raza en su metodología, la herramienta crea un mapa que intenta reflejar las cargas y realidades concretas a las que se enfrentan las comunidades desfavorecidas. La herramienta muestra las comunidades que tienen cargas ambientales y se enfrentan a injusticias.",
|
||||
"faqs.page.answers.Q4_P1": "Sí, la versión 1.0 de la CEJST tiene algunos datos para todos los territorios, pero no todos los datos están disponibles o se utilizan para todos los territorios de Estados Unidos.",
|
||||
"faqs.page.answers.Q4_P2": "<boldtag>Puerto Rico:</boldtag> Los datos utilizados para Puerto Rico proceden de todos los campos pertinentes y disponibles en las categorías de energía, vivienda, contaminación heredada, transporte y formación de la fuerza laboral. Se utilizan los siguientes datos: riesgo previsto de inundaciones, costo de la energía, falta de plomería, pintura con plomo, costo de la vivienda, proximidad a instalaciones de residuos peligrosos, proximidad a sitios del Superfund o de la Lista Nacional de Prioridades (NPL), proximidad a instalaciones del Plan de Manejo de Riesgos (RMP), exposición a partículas diésel, proximidad al tráfico y volumen de este, tanques de almacenamiento subterráneo y descargas, vertimiento de aguas residuales, pobreza, desempleo y educación secundaria o preparatoria. Se eliminó el aislamiento lingüístico para Puerto Rico basándose en los comentarios recibidos durante el periodo beta.",
|
||||
"faqs.page.answers.Q4_P3": "<bold>Samoa estadounidense, Guam, las Islas Marianas del Norte y las Islas Vírgenes de los Estados Unidos.</bold> Para estos territorios de los Estados Unidos, la herramienta utiliza los siguientes datos: desempleo, pobreza, ingresos medios bajos y educación secundaria o preparatoria. Estas cargas están en la categoría de formación de la fuerza laboral. Debido a la disponibilidad limitada de datos, las zonas en estos territorios de EE. UU. se consideran desfavorecidas si solo alcanzan el umbral de bajos ingresos.",
|
||||
"faqs.page.answers.Q4_P3": "<bold>Samoa estadounidense, Guam, las Islas Marianas del Norte y las Islas Vírgenes de los Estados Unidos.</bold> Para estos territorios de los Estados Unidos, la herramienta utiliza los siguientes datos: desempleo, pobreza, ingresos medios bajos y educación secundaria o preparatoria. Estas cargas están en la categoría de formación de la fuerza laboral. Debido a la disponibilidad limitada de datos, las zonas en estos territorios de EE. UU. también se consideran desfavorecidas si solo alcanzan el umbral de bajos ingresos.",
|
||||
"faqs.page.answers.Q5_P1": "Para respetar la soberanía tribal y el autogobierno y cumplir con las responsabilidades del fideicomiso federal y del tratado con las naciones tribales, las tierras dentro de los límites de las tribus reconocidas a nivel federal se resaltan como desfavorecidas en el mapa. Los pueblos nativos de Alaska se incluyen como ubicaciones puntuales que son más pequeñas que los distritos censales Los límites de los distritos censales y las tierras de las tribus reconocidas a nivel federal son diferentes.",
|
||||
"faqs.page.answers.Q5_P2": "Las tribus reconocidas a nivel federal son las reconocidas por la Oficina de Asuntos Indígenas de los Estados Unidos en el <link1>aviso anual</link1> que publica en el Registro Federal:",
|
||||
"faqs.page.answers.Q5_P2_1": "Esta decisión se tomó tras una consulta significativa y sólida con las naciones tribales. Este enfoque coincide con el <link1>Plan de acción para la consulta y coordinación con las naciones tribales del CEQ</link1>, <link3>el Memorando sobre la Consulta de las naciones tribales y fortalecimiento de las consultas entre naciones</link3>, y la <link2>Orden ejecutiva 13175 sobre Consulta y coordinación con los gobiernos de las tribus indias</link2>.",
|
||||
|
@ -535,8 +537,9 @@
|
|||
"methodology.page.paragraph.2": "La herramienta utiliza conjuntos de datos como indicadores de cargas. Las cargas están organizadas en categorías. Una comunidad se destaca como desfavorecida en el mapa CEJST si se encuentra en un distrito censal que está (1) en o por encima del umbral para una o más cargas ambientales, climáticas u otras, y (2) en o por encima del umbral de carga socioeconómica asociada.",
|
||||
"methodology.page.paragraph.1.bullet.1": "Si se encuentran en un distrito censal que cumple con los umbrales de al menos una de las categorías de carga de la herramienta, o",
|
||||
"methodology.page.paragraph.1.bullet.2": "Si están en tierras dentro de los límites de las tribus reconocidas a nivel federal",
|
||||
"methodology.page.paragraph.1.bullet.3": "Para los distritos censales que se identificaron como desfavorecidos en la versión 1.0 de la herramienta, pero que no cumplen con la metodología para la versión 2.0: si el distrito censal se identificó como desfavorecido en la versión 1.0, entonces el distrito censal se considera desfavorecido",
|
||||
"methodology.page.paragraph.1.bullet.4": "Además, los ditritos censales en ciertos territorios de EE. UU. se consideran desfavorecidas si solo alcanzan el umbral de bajos ingresos. Esto se debe a que estos Territorios no están incluidos en cada uno de los conjuntos de datos consistentes a nivel nacional sobre cargas ambientales y climáticas que se utilizan en la herramienta",
|
||||
"methodology.page.paragraph.1.bullet.3": "Para los distritos censales que se identificaron como desfavorecidos en la versión 1.0 de la herramienta, pero que no cumplen con la metodología para la versión 2.0:",
|
||||
"methodology.page.paragraph.1.bullet.3_2": "Si el distrito censal se identificó como desfavorecido en la versión 1.0, entonces el distrito censal se considera desfavorecido",
|
||||
"methodology.page.paragraph.1.bullet.4": "Además, los ditritos censales en ciertos territorios de EE. UU. se consideran desfavorecidas si solo alcanzan el umbral de bajos ingresos. Esto se debe a que estos Territorios no están incluidos en cada uno de los conjuntos de datos consistentes a nivel nacional sobre cargas ambientales y climáticas que se utilizan en la herramienta.",
|
||||
"methodology.page.paragraph.3": "La herramienta utiliza conjuntos de datos que son indicadores de cargas. Las cargas se organizan en categorías. Una comunidad se destaca como desfavorecida en el mapa de la CEJST si se encuentra en un distrito censal que está (1) en o por encima del umbral para una o más cargas ambientales, climáticas o de otro tipo, y (2) en o por encima del umbral para una carga socioeconómica asociada.",
|
||||
"methodology.page.paragraph.4": "Además, también se considera desfavorecido un distrito censal que esté completamente rodeado de comunidades desfavorecidas y se sitúe en el percentil 50 o por encima de él en cuanto a ingresos bajos.",
|
||||
"methodology.page.paragraph.5": "Las tribus reconocidas a nivel federal, incluidos los pueblos nativos de Alaska, también se consideran comunidades desfavorecidas.",
|
||||
|
|
|
@ -118,6 +118,7 @@ const AboutPage = ({location}: IAboutPageProps) => {
|
|||
imgSrc={githubIcon}
|
||||
header={intl.formatMessage(ABOUT_COPY.GET_INVOLVED.JOIN_OSC_HEADING)}
|
||||
linkText={intl.formatMessage(ABOUT_COPY.GET_INVOLVED.JOIN_OSC_LINK_TEXT)}
|
||||
linkTag={intl.formatMessage(ABOUT_COPY.GET_INVOLVED.JOIN_OSC_LINK_TAG)}
|
||||
url={intl.locale === 'es' ? GITHUB_LINK_ES : GITHUB_LINK}
|
||||
openUrlNewTab={true}
|
||||
internal={false}>
|
||||
|
|
|
@ -61,6 +61,7 @@ const FAQPage = ({location}: IFAQPageProps) => {
|
|||
<p>{FAQS_COPY.FAQ_ANSWERS.Q2_P3}</p>
|
||||
<p>{FAQS_COPY.FAQ_ANSWERS.Q2_P4}</p>
|
||||
<p>{FAQS_COPY.FAQ_ANSWERS.Q2_P5}</p>
|
||||
<p>{FAQS_COPY.FAQ_ANSWERS.Q2_P6}</p>
|
||||
</>
|
||||
),
|
||||
(
|
||||
|
|
|
@ -45,7 +45,12 @@ const IndexPage = ({location}: MethodPageProps) => {
|
|||
<ul>
|
||||
<li><p>{intl.formatMessage(METHODOLOGY_COPY.PAGE.PARA1_BULLET1)}</p></li>
|
||||
<li><p>{intl.formatMessage(METHODOLOGY_COPY.PAGE.PARA1_BULLET2)}</p></li>
|
||||
<li><p>{intl.formatMessage(METHODOLOGY_COPY.PAGE.PARA1_BULLET3)}</p></li>
|
||||
<li>
|
||||
<p>{intl.formatMessage(METHODOLOGY_COPY.PAGE.PARA1_BULLET3)}</p>
|
||||
<ul>
|
||||
<li><p>{intl.formatMessage(METHODOLOGY_COPY.PAGE.PARA1_BULLET3_2)}</p></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><p>{intl.formatMessage(METHODOLOGY_COPY.PAGE.PARA1_BULLET4)}</p></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
|
|
@ -616,6 +616,13 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
|||
>
|
||||
Check it out on GitHub
|
||||
</a>
|
||||
|
||||
<span
|
||||
class="usa-tag "
|
||||
data-testid="tag"
|
||||
>
|
||||
New Location
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -814,6 +821,13 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
|||
>
|
||||
Check out the code on GitHub
|
||||
</a>
|
||||
|
||||
<span
|
||||
class="usa-tag "
|
||||
data-testid="tag"
|
||||
>
|
||||
New Location
|
||||
</span>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
|
|
|
@ -606,6 +606,13 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
|||
>
|
||||
Check out the code on GitHub
|
||||
</a>
|
||||
|
||||
<span
|
||||
class="usa-tag "
|
||||
data-testid="tag"
|
||||
>
|
||||
New Location
|
||||
</span>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
|
|
|
@ -738,6 +738,13 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
|||
>
|
||||
Check out the code on GitHub
|
||||
</a>
|
||||
|
||||
<span
|
||||
class="usa-tag "
|
||||
data-testid="tag"
|
||||
>
|
||||
New Location
|
||||
</span>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
|
|
|
@ -511,7 +511,10 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
|||
>
|
||||
statistical areas
|
||||
</a>
|
||||
are determined by the U.S. Census Bureau once every ten years. The tool utilizes the census tract boundaries from 2010. Tracts that were identified as disadvantaged in the 1.0 version of the tool remain disadvantaged in the 2.0 version of the tool.
|
||||
are determined by the U.S. Census Bureau once every ten years. The tool utilizes the census tract boundaries from 2010.
|
||||
</p>
|
||||
<p>
|
||||
Tracts that were identified as disadvantaged in the 1.0 version of the tool remain disadvantaged in the 2.0 version of the tool.
|
||||
</p>
|
||||
<p>
|
||||
Due to limited data availability, tracts in American Samoa, Guam, the Northern Mariana Islands, and the U.S. Virgin Islands are considered disadvantaged if they meet the low income threshold only.
|
||||
|
@ -578,7 +581,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
|||
<strong>
|
||||
American Samoa, Guam, the Northern Mariana Islands, and the U.S. Virgin Islands:
|
||||
</strong>
|
||||
For these U.S. Territories, the tool uses the following data: unemployment, poverty, low median income, and high school education. These burdens are in the workforce development category. Due to limited data availability, tracts in these U.S. Territories are considered disadvantaged if they meet the low income threshold only.
|
||||
For these U.S. Territories, the tool uses the following data: unemployment, poverty, low median income, and high school education. These burdens are in the workforce development category. Due to limited data availability, tracts in these U.S. Territories are also considered disadvantaged if they meet the low income threshold only.
|
||||
</p>
|
||||
</div>
|
||||
<h2
|
||||
|
@ -1265,6 +1268,13 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
|||
>
|
||||
Check out the code on GitHub
|
||||
</a>
|
||||
|
||||
<span
|
||||
class="usa-tag "
|
||||
data-testid="tag"
|
||||
>
|
||||
New Location
|
||||
</span>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
|
|
|
@ -456,14 +456,23 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
|||
<li>
|
||||
<p>
|
||||
|
||||
For census tracts that were identified as disadvantaged in version 1.0 of the tool, but do not meet the methodology for the 2.0 version: If the census tract ID was identified as disadvantaged in version 1.0, then the census tract is considered disadvantaged
|
||||
For census tracts that were identified as disadvantaged in version 1.0 of the tool, but do not meet the methodology for the 2.0 version:
|
||||
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
<p>
|
||||
|
||||
If the census tract ID was identified as disadvantaged in version 1.0, then the census tract is considered disadvantaged
|
||||
|
||||
</p>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
|
||||
Additionally, census tracts in certain U.S. Territories are considered disadvantaged if they meet the low income threshold only. This is because these Territories are not included in each of the nationally-consistent datasets on environmental and climate burdens used in the tool
|
||||
Additionally, census tracts in certain U.S. Territories are considered disadvantaged if they meet the low income threshold only. This is because these Territories are not included in each of the nationally-consistent datasets on environmental and climate burdens used in the tool.
|
||||
|
||||
</p>
|
||||
</li>
|
||||
|
@ -1144,12 +1153,6 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
|||
</p>
|
||||
</div>
|
||||
<ul>
|
||||
<li>
|
||||
<span>
|
||||
Used in:
|
||||
</span>
|
||||
All categories
|
||||
</li>
|
||||
<li>
|
||||
<span>
|
||||
Responsible party:
|
||||
|
@ -3292,6 +3295,13 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
|||
>
|
||||
Check out the code on GitHub
|
||||
</a>
|
||||
|
||||
<span
|
||||
class="usa-tag "
|
||||
data-testid="tag"
|
||||
>
|
||||
New Location
|
||||
</span>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
|
|
|
@ -730,6 +730,13 @@ exports[`rendering of the Privacy Policy page matches Privacy Policy page snapsh
|
|||
>
|
||||
Check out the code on GitHub
|
||||
</a>
|
||||
|
||||
<span
|
||||
class="usa-tag "
|
||||
data-testid="tag"
|
||||
>
|
||||
New Location
|
||||
</span>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
|
|
|
@ -546,6 +546,13 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
|||
>
|
||||
Check out the code on GitHub
|
||||
</a>
|
||||
|
||||
<span
|
||||
class="usa-tag "
|
||||
data-testid="tag"
|
||||
>
|
||||
New Location
|
||||
</span>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
|
|
Loading…
Add table
Reference in a new issue