Commit graph

672 commits

Author SHA1 Message Date
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 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
Vim USDS
ffffe53a4d Update tribal path on production build 2022-08-06 05:18:23 -07:00
Vim USDS
c3d1c3a75e Update snapshots 2022-08-06 04:11:56 -07:00
Vim USDS
1d3af3023b Add tribal info to side panel and feature selection
- create a state variable to keep track of weather or not the layer was toggled
- allow mapInfoPanel to reset on layer switch
- allow AreaDetail to show census and tribal info
- allow LayerSelector to set layer toggled
- Add selectedFeature to both MapTribal and MapTract components
- create various tribal constants for styling
- i18n constants
2022-08-06 04:01:02 -07:00
Vim USDS
d4aed789cc Refactor Sources/Layers to allow for tribal switching
- Remove census tracts layers into it's own component
- Create a tribal layer component
- Update LayerSelector component tests
- update OS map to react to layer selector
-
2022-08-06 03:59:48 -07:00
Vim USDS
70b9072559 Add tribal toggle (UI only) 2022-08-06 03:57:52 -07:00