Add address to search placeholder and add "at or above" to category copy for low income (#1665)

* Add address to search placeholder text

* Adds "at or above" to category copy

* Updates map search placeholder text

- Update es and en.json files
- adds mobile search placeholder text
- udpates desktop search placeholder text

* Update logic to determine mobile for search text

* Update search error message

- update to Spanish text as well

* Adjust spacing between search and territory btns

* Modify mobile detection logic

- remove cypress tests for faster deploys

* Add placeholder text to state variable

- wrap state variable in useEffect()
This commit is contained in:
Vim 2022-06-03 12:35:28 -04:00 committed by GitHub
commit 9f0ca1c17d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 69 additions and 40 deletions

View file

@ -95,7 +95,7 @@ export const CATEGORY_AND_CLAUSE = {
LOW_INC_65_WHEN_HIGH_ED_LTE_20: <FormattedMessage
id={'methodology.page.category.and.clause.low.inc.hs.ed'}
defaultMessage={`
<boldtag>AND</boldtag> is above the 65th percentile for <link1>low income</link1> AND 80% or more of individuals 15 or older are not enrolled in <link2>higher education</link2>
<boldtag>AND</boldtag> is at or above the 65th percentile for <link1>low income</link1> AND 80% or more of individuals 15 or older are not enrolled in <link2>higher education</link2>
`}
description={'Navigate to the methodology page. Navigate to the category section. This is category portion of the formula dealing with lower income and high school degree rate'}
values={{