Skip to content

Commit

Permalink
add new tag to new census info card (#2131)
Browse files Browse the repository at this point in the history
  • Loading branch information
vim-usds authored Jan 10, 2023
1 parent 490f25c commit 4fe6ce5
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,15 @@ exports[`rendering of indicator dataset card checks if component renders 1`] = `
<div
id="census-tract-info"
>
<div
class=""
>
<div>
<div>
<span
class="usa-tag"
data-testid="tag"
>
NEW
</span>
</div>
<h3>
Census tract information and demographics
</h3>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,15 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<div
id="census-tract-info"
>
<div
class=""
>
<div>
<div>
<span
class="usa-tag"
data-testid="tag"
>
NEW
</span>
</div>
<h3>
Census tract information and demographics
</h3>
Expand Down
1 change: 1 addition & 0 deletions client/src/data/copy/methodology.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -838,6 +838,7 @@ export const INDICATORS = [
defaultMessage={`Census tract information and demographics`}
description={'Navigate to the Methodology page. This is the title text for the census tract dataset'}
/>,
isNew: true,
description: <FormattedMessage
id={'methodology.page.category.census.tract.description.text'}
defaultMessage={`
Expand Down
12 changes: 9 additions & 3 deletions client/src/pages/tests/__snapshots__/methodology.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -1089,9 +1089,15 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<div
id="census-tract-info"
>
<div
class=""
>
<div>
<div>
<span
class="usa-tag"
data-testid="tag"
>
NEW
</span>
</div>
<h3>
Census tract information and demographics
</h3>
Expand Down

0 comments on commit 4fe6ce5

Please sign in to comment.