mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-09-02 05:30:56 -07:00
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:
parent
fb829a287a
commit
9f0ca1c17d
12 changed files with 69 additions and 40 deletions
|
@ -63,12 +63,17 @@ export const MAP = defineMessages({
|
|||
},
|
||||
SEARCH_PLACEHOLDER: {
|
||||
id: 'explore.map.page.map.search.placeholder.text',
|
||||
defaultMessage: 'Enter a city, state or ZIP',
|
||||
defaultMessage: 'Search for an address, city, state or ZIP',
|
||||
description: 'On the explore the map page, on the map, the placeholder text for search',
|
||||
},
|
||||
SEARCH_PLACEHOLDER_MOBILE: {
|
||||
id: 'explore.map.page.map.search.placeholder.mobile.text',
|
||||
defaultMessage: 'Search locations',
|
||||
description: 'On the explore the map page, on the map, the placeholder text for search',
|
||||
},
|
||||
SEARCH_RESULTS_EMPTY_MESSAGE: {
|
||||
id: 'explore.map.page.map.search.results.empty.text',
|
||||
defaultMessage: 'No location found. Please try again.',
|
||||
defaultMessage: 'Location not found or unknown. Please try a different search.',
|
||||
description: 'On the explore the map page, on the map, the text displaying message for no search results found',
|
||||
},
|
||||
LOWER48_SHORT: {
|
||||
|
|
|
@ -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={{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue