justice40-tool
justice40-tool copied to clipboard
Frontend release branch to main
Purpose
This PR will contain all FE changes for the 1.0 launch
Features
Indicators status
- [x] Future flood risk
- [x] Future wildfire risk
- [x] lack of green space
- [x] lack of plumbing
- [x] transportation barriers
- [x] leaky underground tanks
- [x] demographics
- [x] historic underinvestment (redlining)?
- [x] abandoned land mines
- [x] FUDS
Demographics
- [x] Add demographics UI to sidepanel
- [x] Connect real BE data
Geolocation
- [x] works on desktop
- [x] works on mobile
- [x] Fix UI on desktop and mobile
Tribal layer selection
- [x] overlay in base map
- [x] remove all toggle logic and UI
- [x] connect BE signals for TA_COUNT and TA_PERC
Side panel UI
- [x] remove all
up
anddown
- [x] missing data should have a Value of missing data should be '--' with no Icon
- [x] when data is missing, the SubText should say "missing data". Reduce size to fit in one line.
- [x] instead of highlighting the entire indicator(with a baby blue background), only highlight the Value (dark blue background around the value) when the indicator is above the threshold. change the text color of the value to white.
- [x] instead of a blue dot on the category, change the entire background (to dark blue) of the category when it is above the associated threshold(s), otherwise leave as is. change the text color and the icon color (the plus sign) to white.
- [x] test on mobile (iOS and Android)
- [x] test on desktop (Chrome, Safari and Firefox)
- [x] review all ind titles and desc from content 1.0 doc
- [x] category title, indicator name, desc, value, subtext should all be grey-warm-90
- [x] Title and Value should have the same font treatment (weight and size as spacer)
- [x] remove initial spacer (at least one)
- [x] AND space remove bg color and ensure that vertical spacing b/w indicator is the same including spacers (check each category to make sure it applies equally)
- [x] all subtext in one line
- [x] on the value that has a background color, tighten up, equal spacing on all sides (2px left and right, 1px top and bottom)
- [x] Methodology version (pt, pb = 1rem)
- [x] update Methodology version to 1.0
- [x] update non-selected copy
- [x] updated 1.0 designs
Copy
- [x] update 404 page
- [x] all copy updates from Content 1.0 doc on Explore the map page
- [x] copy bugs from bug party
About page
- [x] Most of About page copy (some missing links that are TBD)
- [x] Navigation links for MethPage and AboutPage (desktop)
- [x] Navigation links for MethPage and AboutPage (mobile)
Bugs
- [x] removes duplicate higher ed
- [x] all links should be the same color
- [x] Logo title shouldn't wrap
🚢 Here is the frontend staging link: 🚢
Find it here: https://screeningtool-staging.geoplatform.gov/1829-97bc1f/en/ !
** 👋 Attention translators!! 👋 **
Copy changes have resulted in a new en.json file. Please download en.json file and send to translators: https://github.com/usds/justice40-tool/blob/97bc1f57b2cfce4f778775e4fad0449cfbdeefe0/client/src/intl/en.json
🚢 Here is the frontend staging link: 🚢
Find it here: https://screeningtool-staging.geoplatform.gov/1829-a0741d/en/ !
** 👋 Attention translators!! 👋 **
Copy changes have resulted in a new en.json file. Please download en.json file and send to translators: https://github.com/usds/justice40-tool/blob/a0741d53304e252a11fa1d1cae5a9b1ce3abcb1a/client/src/intl/en.json
** Score Deployed! **
Find it here:
- Score Full usa.csv: https://justice40-data.s3.amazonaws.com/data-pipeline-staging/1829/481e5e3dcefd6bdbba490083f1f1b813efba4e36/data/score/csv/full/usa.csv
- Download Zip Packet: https://justice40-data.s3.amazonaws.com/data-pipeline-staging/1829/481e5e3dcefd6bdbba490083f1f1b813efba4e36/data/score/downloadable/Screening_Tool_Data.zip
** Map Deployed! **
Map with Staging Backend: https://screeningtool.geoplatform.gov/en/?flags=stage_hash=1829/481e5e3dcefd6bdbba490083f1f1b813efba4e36
Find tiles here: https://justice40-data.s3.amazonaws.com/data-pipeline-staging/1829/481e5e3dcefd6bdbba490083f1f1b813efba4e36/data/score/tiles
** Score Deployed! **
Find it here:
- Score Full usa.csv: https://justice40-data.s3.amazonaws.com/data-pipeline-staging/1829/fc930d19f695b248522e6b7349a5af03c07b7efa/data/score/csv/full/usa.csv
- Download Zip Packet: https://justice40-data.s3.amazonaws.com/data-pipeline-staging/1829/fc930d19f695b248522e6b7349a5af03c07b7efa/data/score/downloadable/Screening_Tool_Data.zip
🚢 Here is the frontend staging link: 🚢
Find it here: https://screeningtool-staging.geoplatform.gov/1829-146022/en/ !
** 👋 Attention translators!! 👋 **
Copy changes have resulted in a new en.json file. Please download en.json file and send to translators: https://github.com/usds/justice40-tool/blob/14602277c2ab05aeefb3e8fb6caf3e3b06d8878f/client/src/intl/en.json
** Map Deployed! **
Map with Staging Backend: https://screeningtool.geoplatform.gov/en/?flags=stage_hash=1829/fc930d19f695b248522e6b7349a5af03c07b7efa
Find tiles here: https://justice40-data.s3.amazonaws.com/data-pipeline-staging/1829/fc930d19f695b248522e6b7349a5af03c07b7efa/data/score/tiles
** Score Deployed! **
Find it here:
- Score Full usa.csv: https://justice40-data.s3.amazonaws.com/data-pipeline-staging/1829/908d7121443c74c5f4b742d462b721382e0cfb7c/data/score/csv/full/usa.csv
- Download Zip Packet: https://justice40-data.s3.amazonaws.com/data-pipeline-staging/1829/908d7121443c74c5f4b742d462b721382e0cfb7c/data/score/downloadable/Screening_Tool_Data.zip
🚢 Here is the frontend staging link: 🚢
Find it here: https://screeningtool-staging.geoplatform.gov/1829-8f9cf2/en/ !
** 👋 Attention translators!! 👋 **
Copy changes have resulted in a new en.json file. Please download en.json file and send to translators: https://github.com/usds/justice40-tool/blob/8f9cf2fb956cb0e3c751904a046f5e5b75db518e/client/src/intl/en.json
🚢 Here is the frontend staging link: 🚢
Find it here: https://screeningtool-staging.geoplatform.gov/1829-43d1f2/en/ !
** 👋 Attention translators!! 👋 **
Copy changes have resulted in a new en.json file. Please download en.json file and send to translators: https://github.com/usds/justice40-tool/blob/43d1f209af690d8b84a42752a1602320073e20ae/client/src/intl/en.json
** Map Deployed! **
Map with Staging Backend: https://screeningtool.geoplatform.gov/en/?flags=stage_hash=1829/908d7121443c74c5f4b742d462b721382e0cfb7c
Find tiles here: https://justice40-data.s3.amazonaws.com/data-pipeline-staging/1829/908d7121443c74c5f4b742d462b721382e0cfb7c/data/score/tiles
@vim-usds this is awesome! Historic Underinvestment should already be in the backend - just want to confirm it's making its way to you (HRS_ET
)? I also noticed there's nothing here for the adjacency index (donut holes). We should make sure this update includes the adjacency index. Is there anything you need from me for this?
@emma-nechamkin and @esfoobar-usds
Thanks for flagging! So after digging into this, we downloaded the usa-high.json
file; used geopandas to get all 124 columns (aka BE signals) and compared that to the BE signals coming into a randomly selected tile on the FE.
This randomly selected tile was missing the following columns (or BE signals):
- HRS_ET
- IAHSEF
- IALMILHSE_PFS
- IAPLHSE_PFS
- IAULHSE_PFS
Given that you were saying they only occur in small number of tracts, I wonder if for the tracts they are not apart of, they are being removed completely rather than having a null and/or 0 value? I think this gets at your correctness effort.
One test would be - How many BE signals should be in every tile? I imagine this number should be the same for every tile right? If there is no data, it should have a value of null? We can then check this on the FE and flag errors to the console on tiles that are not meeting the total number of BE signals.
Just my .02 cents!
** Score Deployed! **
Find it here:
- Score Full usa.csv: https://justice40-data.s3.amazonaws.com/data-pipeline-staging/1829/df63450762135c53677735b5a6f7b8eaff6381d2/data/score/csv/full/usa.csv
- Download Zip Packet: https://justice40-data.s3.amazonaws.com/data-pipeline-staging/1829/df63450762135c53677735b5a6f7b8eaff6381d2/data/score/downloadable/Screening_Tool_Data.zip
🚢 Here is the frontend staging link: 🚢
Find it here: https://screeningtool-staging.geoplatform.gov/1829-907c01/en/ !
** 👋 Attention translators!! 👋 **
Copy changes have resulted in a new en.json file. Please download en.json file and send to translators: https://github.com/usds/justice40-tool/blob/907c01adba11dfb74a5305e426b68e023716a1a0/client/src/intl/en.json
** Map Deployed! **
Map with Staging Backend: https://screeningtool.geoplatform.gov/en/?flags=stage_hash=1829/df63450762135c53677735b5a6f7b8eaff6381d2
Find tiles here: https://justice40-data.s3.amazonaws.com/data-pipeline-staging/1829/df63450762135c53677735b5a6f7b8eaff6381d2/data/score/tiles
** Score Deployed! **
Find it here:
- Score Full usa.csv: https://justice40-data.s3.amazonaws.com/data-pipeline-staging/1829/8175407806d4fee83836c7c213f99f8a79b94e6d/data/score/csv/full/usa.csv
- Download Zip Packet: https://justice40-data.s3.amazonaws.com/data-pipeline-staging/1829/8175407806d4fee83836c7c213f99f8a79b94e6d/data/score/downloadable/Screening_Tool_Data.zip
🚢 Here is the frontend staging link: 🚢
Find it here: https://screeningtool-staging.geoplatform.gov/1829-2ccb80/en/ !
** 👋 Attention translators!! 👋 **
Copy changes have resulted in a new en.json file. Please download en.json file and send to translators: https://github.com/usds/justice40-tool/blob/2ccb80fe25c01f3355b8382413af857094d4829f/client/src/intl/en.json
** Map Deployed! **
Map with Staging Backend: https://screeningtool.geoplatform.gov/en/?flags=stage_hash=1829/8175407806d4fee83836c7c213f99f8a79b94e6d
Find tiles here: https://justice40-data.s3.amazonaws.com/data-pipeline-staging/1829/8175407806d4fee83836c7c213f99f8a79b94e6d/data/score/tiles
** Score Deployed! **
Find it here:
- Score Full usa.csv: https://justice40-data.s3.amazonaws.com/data-pipeline-staging/1829/83fb0e875d89187b4d20cb0e897ba01c54d54127/data/score/csv/full/usa.csv
- Download Zip Packet: https://justice40-data.s3.amazonaws.com/data-pipeline-staging/1829/83fb0e875d89187b4d20cb0e897ba01c54d54127/data/score/downloadable/Screening_Tool_Data.zip
🚢 Here is the frontend staging link: 🚢
Find it here: https://screeningtool-staging.geoplatform.gov/1829-3671e5/en/ !
** 👋 Attention translators!! 👋 **
Copy changes have resulted in a new en.json file. Please download en.json file and send to translators: https://github.com/usds/justice40-tool/blob/3671e5b3a642a14cf82032341d740b3af5b43f9e/client/src/intl/en.json
** Map Deployed! **
Map with Staging Backend: https://screeningtool.geoplatform.gov/en/?flags=stage_hash=1829/83fb0e875d89187b4d20cb0e897ba01c54d54127
Find tiles here: https://justice40-data.s3.amazonaws.com/data-pipeline-staging/1829/83fb0e875d89187b4d20cb0e897ba01c54d54127/data/score/tiles