add new tag to new census info card (#2131)

This commit is contained in:
Vim 2023-01-10 09:58:24 -08:00 committed by GitHub
commit 4fe6ce5a82
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 28 additions and 9 deletions

View file

@ -5,9 +5,15 @@ exports[`rendering of indicator dataset card checks if component renders 1`] = `
<div <div
id="census-tract-info" id="census-tract-info"
> >
<div <div>
class="" <div>
> <span
class="usa-tag"
data-testid="tag"
>
NEW
</span>
</div>
<h3> <h3>
Census tract information and demographics Census tract information and demographics
</h3> </h3>

View file

@ -76,9 +76,15 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<div <div
id="census-tract-info" id="census-tract-info"
> >
<div <div>
class="" <div>
> <span
class="usa-tag"
data-testid="tag"
>
NEW
</span>
</div>
<h3> <h3>
Census tract information and demographics Census tract information and demographics
</h3> </h3>

View file

@ -838,6 +838,7 @@ export const INDICATORS = [
defaultMessage={`Census tract information and demographics`} defaultMessage={`Census tract information and demographics`}
description={'Navigate to the Methodology page. This is the title text for the census tract dataset'} description={'Navigate to the Methodology page. This is the title text for the census tract dataset'}
/>, />,
isNew: true,
description: <FormattedMessage description: <FormattedMessage
id={'methodology.page.category.census.tract.description.text'} id={'methodology.page.category.census.tract.description.text'}
defaultMessage={` defaultMessage={`

View file

@ -1089,9 +1089,15 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<div <div
id="census-tract-info" id="census-tract-info"
> >
<div <div>
class="" <div>
> <span
class="usa-tag"
data-testid="tag"
>
NEW
</span>
</div>
<h3> <h3>
Census tract information and demographics Census tract information and demographics
</h3> </h3>