Commit graph

677 commits

Author SHA1 Message Date
Vim
55af21cd13
side panel narwal (#1943)
* Adds the PrioritizationCopy and TractPriotization

- adds both components
- removes logic around selecting AK data points
- update snapshots

* Add tests for TractPrioritization

* Adds tests for PrioritizationCopy

* Add income icon and tilde

- this is dependent on imputed income and adjacency

* Add tool tip to low income icon

* Update snapshots

* Removing AreaDetail test to allow tooltip library

- This library react-tooltip creates random DOM ID which will not allow for snapshot testing as he IDs change on each build. Due to time constraints, we simply removed the AreaDetails test. The AreaDetails component is made up of sub component and each sub component has tests so this is low risk.

- This is a temporary solution. Some longer terms solutions may be
1. Remove this library and get the USWDS tool tip to work
2. Re-factor the areaDetail.tests.tsx snapshot tests to do more DOM assertions rather than snapshots
3. Some combination of the two.

* Fix Tribal percentage error
2022-09-29 02:12:50 -07:00
Vim
dd83f8d48b
About page 1.0 (#1933)
* Initial About page

* Update navigation links

- adds hover and current effects
- fits width of each nav link to content

* Add location prop to J40Header

* Fix a11y error on internal links

- remove AboutCard LinkTypeWrapper if url is not specified
- remove gherkin tests on new nav links
- update snapshots

* Fix mobile nav for new nav links

* Add usa-current class to dropdown nav
2022-09-27 20:23:42 -07:00
Vim
8f4b1b6df1
Update copy on Explore the Map page (#1915)
* Add Explore the Data box

* Update explore page description

- Remove paragraph under map

* Update territories copy

- Remove How you can help

* Update Whitehouse footer icon

* Correct heading order to pass a11y

* Remove beta pill in Beta Banner
- update snapshots

* Update explore page description
- remove color key

* revert image back to eagle seal

* Update release date variable name

* Add Impute, Adj and tribal signals to side panel

* Remove test category

- move send feedback button outside of categorization div
- left justify send feedback button
- update snapshots

* Update links in the territories paragraph on explore page

* Update tribal lands copy on explore page

* Align geolocate icon on desktop and mobile

* Add inverted style to YES

- update snapshots
2022-09-23 20:05:36 -07:00
Vim
dfdb885ebe
Merge branch 'main' into vimusds/release/frontend-narwhal-2 2022-09-21 13:44:34 -07:00
Vim
5633d0f86e
Fix all link colors, prevent logo from wrapping, update non-selected side-panel (#1908)
* Update links colors

- Language links
- Download links
- Simple links
- External links
- Side panel demographics links
- return to top links
- update snapshots

* Fix wrapping on logo title

- remove beta pill

* Update un-selected side panel copy (desktop)

- two icons are needed

* Remove icons on mobile view

* Remove the pub. eng. button on all pages

* Add usa-link class to all links

- will create consiste visible state on all links

* Remove tribal toggle

- remove tribal layer from feature flag and make it default
2022-09-21 13:39:54 -07:00
Vim
bf27f2958b
update styles for mapbox base map (#1852)
- update airport color
2022-09-20 13:30:45 -07:00
Vim USDS
eeb7d07c40 Add USVI and GU to map
- remove shortcuts on mobile
2022-09-15 17:30:48 -07:00
Vim
29d701ca95
Merge branch 'main' into vimusds/release/frontend-narwhal-2 2022-09-15 11:38:52 -07:00
Vim USDS
0af61e8f09 Merge branch 'vimusds/1862-new-side-pnl-indctr-dsgn' into vimusds/release/frontend-narwhal-2 2022-09-15 11:33:32 -07:00
Vim
6ae0ada1e2
1.0 side panel indicator designs (#1896)
* Remove up/down arrows from indicators

* update style of side panel categories if supported

- if the browser has ":has" support, the new category styles will be applied
- if not, the older style will remain in place

* update snapshots

* update styling for indicator values

- refactor disadvantaged blue dot to utils.scss

* remove missing icon and reduce subtext font size

* Remove un-needed import in test file

* Update category, indicator copy

* Update copy indicator desc and titles

* update side panel styling for 1.0

* Update methodology version / styling
2022-09-15 11:28:50 -07:00
Vim USDS
23c9b2d8d1 Update methodology version / styling 2022-09-13 15:24:34 -07:00
Vim USDS
dec3305834 update side panel styling for 1.0 2022-09-13 14:16:41 -07:00
Vim USDS
5ed00f603c Update copy indicator desc and titles 2022-09-13 11:48:48 -07:00
Vim USDS
5ecebf3247 Update category, indicator copy 2022-09-13 10:05:23 -07:00
Vim USDS
be227972c8 Remove un-needed import in test file 2022-09-09 15:52:20 -07:00
Vim USDS
228aca0da5 remove missing icon and reduce subtext font size 2022-09-09 15:46:11 -07:00
Vim USDS
a49dbfdf90 update styling for indicator values
- refactor disadvantaged blue dot to utils.scss
2022-09-08 23:52:16 -07:00
Vim USDS
b0b2bc387b update snapshots 2022-09-08 23:23:14 -07:00
Vim USDS
2bfa7d454f update style of side panel categories if supported
- if the browser has ":has" support, the new category styles will be applied
- if not, the older style will remain in place
2022-09-08 23:14:34 -07:00
Vim USDS
825361ab1c Remove up/down arrows from indicators 2022-09-08 23:12:57 -07:00
Vim
c71d7a34b7
Remove duplicate Higher Ed indicator, update higher ed types and correct copy on 404 page (#1886)
* remove duplicate high school degree indicator

- for island areas

* Update 404 page copy

* Remove link that is failing during markdown checks

* Updated FE indicators constants to remove _M

- by removing these _M suffix on the FE
constants, we remove any dependency on changes to the BE score
2022-09-07 13:13:50 -07:00
Vim USDS
6be93a48f6 Update Quickstart docker link 2022-09-02 00:55:57 -07:00
Vim USDS
ffcd352f6e Adds adjacency, impute flag and custom colors 2022-09-02 00:50:02 -07:00
Vim
4b9580c28a
Correct BE signal on low income (#1877) 2022-09-01 08:48:58 -07:00
Vim
83fb0e875d
Add HRS, AML, FUDS and demographics (#1861)
* Add HRS_ET

- refactor to add IndicatorTypes
- modify tests
- add intl

* Add AML and FUDS

- update indicatorFilter
- update tests each indicator has 3 states to test

* Connect BE signal for demographics

- update tests
- i18n-ize

* Remove obsolete tests snapshots

* Update to Score N constants

* Remove higher ed socio-economic indicator

- remove spacer "Meets both socio"
- update snapshots

* Update BE signal types for

- AML
- FUDS

* Filter out missing historic underinvest. indicators

- For the special case when historic underinvestments are missing do not show that indicator at all
- update unit tests

* Make AML appear as No for all that are missing

* Update snapshot
2022-08-30 19:22:29 -07:00
Vim USDS
8175407806 Fix 2 demographics typos
- repeated demographic
- change to race/ethnicity
2022-08-22 08:54:58 -07:00
Vim USDS
df63450762 Update SCORE_HIGH_PROP from SM_PFS to SM_C
- Will allow high zoom tiles to load with BE staging branch 1822/e638
2022-08-19 21:16:54 -07:00
Vim USDS
79d50e9cb4 Show Tract info/demo only when tracts are selected 2022-08-17 16:59:11 -07:00
Vim USDS
908d712144 Add back the selected feature layer 2022-08-17 16:42:44 -07:00
Vim USDS
fc930d19f6 Add indicators
- barriers to transport
- lack of green space
- lack of plumbing
- leaky tanks
2022-08-17 14:51:41 -07:00
Vim USDS
a97a779171 Add flooding and wildfire indicators to side panel 2022-08-17 14:06:07 -07:00
Vim USDS
481e5e3dce Comment out markdown check on link 2022-08-17 12:50:07 -07:00
Vim USDS
198203fe13 Adjust CSS to place LayerSelector in MapHeader 2022-08-17 11:46:47 -07:00
Vim USDS
976249b56c Update Tribal shortname ID 2022-08-17 10:35:44 -07:00
Vim USDS
90a4415cd6 Merge branch 'vimusds/1692-tribal-layer-toggle' into vimusds/release/frontend-narwhal-2 2022-08-17 10:34:32 -07:00
Vim USDS
dc6f57a2a8 Remove zooming in on Alaska data point 2022-08-16 16:53:35 -07:00
Vim USDS
e1b5c598da Make source/layer comments correspond
- getOSBaseMap and Map*Layers should have the same layer comments
- modify constants to have matching styles between Tribal and Tracts
2022-08-16 16:18:34 -07:00
Vim USDS
49bf717c47 Add geolocation locked signal to local storage 2022-08-16 15:34:56 -07:00
Vim USDS
6ca50c299b Merge branch 'vimusds/1694-add-geolocate' into vimusds/release/frontend-narwhal-2 2022-08-16 14:54:59 -07:00
Jorge Escobar
d2f1ecfcf9
Alaska tribal points fix (#1821) 2022-08-16 10:56:32 -04:00
Vim USDS
31a9bf51d5 Add OS map functionality
- split source/layers between Map*Layers.tsx and getOSBaseMap file
- update getOSBaseMap to return eithe tribal or tracts layers/sources
2022-08-15 19:00:53 -07:00
Vim USDS
bac8c85a6c Update AK layer id
- make AK layer clickable
2022-08-11 06:51:11 -07:00
Vim
150b793fee
Correct copy typo (#1809) 2022-08-10 09:13:06 -07:00
Jorge Escobar
1c448a77f9
NRI dataset and initial score YAML configuration (#1534)
* update be staging gha

* NRI dataset and initial score YAML configuration

* checkpoint

* adding data checks for release branch

* passing tests

* adding INPUT_EXTRACTED_FILE_NAME to base class

* lint

* columns to keep and tests

* update be staging gha

* checkpoint

* update be staging gha

* NRI dataset and initial score YAML configuration

* checkpoint

* adding data checks for release branch

* passing tests

* adding INPUT_EXTRACTED_FILE_NAME to base class

* lint

* columns to keep and tests

* checkpoint

* PR Review

* renoving source url

* tests

* stop execution of ETL if there's a YAML schema issue

* update be staging gha

* adding source url as class var again

* clean up

* force cache bust

* gha cache bust

* dynamically set score vars from YAML

* docsctrings

* removing last updated year - optional reverse percentile

* passing tests

* sort order

* column ordening

* PR review

* class level vars

* Updating DatasetsConfig

* fix pylint errors

* moving metadata hint back to code

Co-authored-by: lucasmbrown-usds <lucas.m.brown@omb.eop.gov>
2022-08-09 16:37:10 -04:00
Jorge Escobar
1833e3e794
Setting zoom levels for tribal map (#1810) 2022-08-09 13:56:03 -04:00
Vim USDS
73ae583e1e Update staging deploy script
- update domain name
- update path
2022-08-09 04:34:03 -07:00
Vim USDS
c8218d352f Add initial AK points
- corrects filter expression
- adds radius and color to constants
2022-08-09 02:03:30 -07:00
Jorge Escobar
781e08f559
added tribalId for Supplemental dataset (#1804) 2022-08-08 17:42:14 -04:00
Vim USDS
3befcdf3aa add QA feedback
- swap expand/collapse icons
- add parens and slash to copy
2022-08-07 23:49:15 -07:00
Vim USDS
7ad8b83399 Comment update 2022-08-07 23:22:34 -07:00