Commit graph

845 commits

Author SHA1 Message Date
Nat Hillard
a787bd71ab
Merges to main don't get posted to main && it should be clearer how branches are deployed (#415)
* fixes #319 - merges to main still don't get posted to /main , and #362 It should be clearer how branches are deployed -- move to using 'pull_request' instead of 'push' (we can't push to master directly anyhow), and run on 'closed'; also add comment on PR itself
* updating to add subsequent pushes to the same PR
2021-07-27 12:37:17 -04:00
Lucas Merrill Brown
67b39475f7
Analysis by region (#385)
* Adding regional comparisons

* Small ETL fixes
2021-07-26 10:02:25 -05:00
Rohit Musti
81290ce672
adding tree equity score to the data pipeline (#398)
* adding tree equity score to the downloading pipeline so it can be easily compared as a reference index!

* removed redundant dependencies
2021-07-26 08:00:57 -04:00
Nat Hillard
7b241795fa
Cypress tests are failing locally (#403)
* adding readme with debug instructions
* updating translation tests to pass
* fixes failing latlng url test
* localizing focus buttons
* updating map tests to pass
* temporarily setting to only flag critical+  accessibility errors. To be addressed with full accessibility audit later
2021-07-23 08:52:34 -04:00
Nat Hillard
ab72dc24cf
Zoom button styling does not match spec (#395)
* Fixes #320, Zoom button styling does not match spec
* Setting explicit size for icon dimension to avoid automatic SVG sizing weirdness for gatsby build static site
2021-07-22 12:53:18 -04:00
Nat Hillard
8eb15bcac0
adding Vim to CODEOWNERS (#396) 2021-07-22 10:53:01 -04:00
Nat Hillard
a7cdf1c021
Adding notebook to create score dissolve (#333) 2021-07-21 16:10:32 -04:00
Vim
14e6a98008
Update README.md
adds when flags are to be used
2021-07-21 08:08:08 -07:00
Jorge Escobar
543d147e61
Data folder restructuring in preparation for 361 (#376)
* initial checkin

* gitignore and docker-compose update

* readme update and error on hud

* encoding issue

* one more small README change

* data roadmap re-strcuture

* pyproject sort

* small update to score output folders

* checkpoint

* couple of last fixes
2021-07-20 14:55:39 -04:00
Billy Daly
3032a8305d
Issue 198 score docs (#358)
* Adds matplotlib to the pyproject.toml for score/ to avoid import error

* Adds document structure for workflow steps and source data dictionaries

* Reverts 793381e because Matplotlib is no longer a dependency

* Adds the workflow steps for the first 2 stages of the workflow

* Updates the README with some TODOs

* Makes changes requested in PR review

* Fixes one more reference to Justice40 score
2021-07-20 14:29:14 -04:00
Shelby Switzer
5600443f1a
Update install steps (#359)
* Update INSTALLATION.md

Update INSTALLATION with more narrative text on how to install and start running parts of the app. We will need to update this soon with more info about the repo organization (once we have a `data` directory), but for now this reflects the current state of the repo.

* Update docs

Move client-specific things to client README, and update client README with steps to get the clientside app running locally.
2021-07-20 14:22:04 -04:00
TomNUSDS
d10f2ae0c9
Fix #353 - site icon (#388)
- site not being at the "topmost level" (e.g. there's a `/path`) makes the approach of having the favicon in a known, static location break (`https://[tld]/favicon.ico`).
Setting the icon via the plugin should make it work. It should be here anyways.
We'll still need to add the SEO plugin as part of the accessibility fixes (setting page meta tags in a i18n way)
2021-07-20 10:46:38 -07:00
TomNUSDS
609506d98d
Fix I18n and testing (#387)
Get snapshots working with Gatsby Intl plugin.
2021-07-20 10:46:13 -07:00
Vim
e5908cf7d7
updates filename and comments (#378) 2021-07-19 08:05:32 -07:00
Shelby Switzer
a1a3a013a8
Create codeql-analysis.yml 2021-07-19 09:21:28 -04:00
TomNUSDS
dca7980195
Fix inlined css in every single page. (#369)
Fix for issue #366
* Create gatsby-ssr.js
Note: SSR means "server side rendering". This fix is from a long github discussion about how broken including all css inline in the file is. (Especially since newer CSP guidelines say all css should be in a separate file.)

* PR code review fixes
* Check el.props['data-href'] is valid
* Add comment for production only.
2021-07-16 22:09:55 -07:00
Vim
4ea93e77ba
Update INSTALLATION-es.md
remove steps of the installation of gatsby-cli
2021-07-16 11:06:52 -07:00
Vim
7225bad804
Update INSTALLATION.md
remove steps to require gatsby-cli installation
2021-07-16 11:05:46 -07:00
TomNUSDS
e066f459fa
Fixed es.json (#354)
* Fixed es.json
- converted remaining english to spanish in file so as to check more locations.
- the `formatjs compile` for Spanish was failing converted back to english for now. build does the correct thing, so it's more just to keep things correct in source.
* add support for eslint-plugin-formatjs
 - eslint rules for formatjs
 - we are mostly protected by typescript checking, but this is a nice sanity check.
2021-07-15 13:00:15 -07:00
Vim
33c3288160
Allows the user to download CBG list (#318)
* adds initial download CBG box

* componentize download packet, adds e2e tests

* changes download file url in test to smaller size

* improve testing functions

* removes underline, colors icon

* replace csv with zip for safari security issue
2021-07-15 11:01:10 -07:00
Jorge Escobar
0316906a69
County Names for Score #188 (#347)
* starting PR

* completed feature

* checkpoint

* adding new fips and updating counties to 2010

* updated sources to 2010 - 2019

* more cleanup

* creating tiles score csv
2021-07-15 13:34:08 -04:00
Vim
f301dfcd80
cypress e2e nightly (#360)
* fixes nightly e2e test

* adds on command
2021-07-15 10:27:22 -07:00
Nat Hillard
dbf1ae2ad8
Zoom button styling does not match spec // General custom controls fix (#357) 2021-07-15 10:28:51 -04:00
TomNUSDS
cfce0dc826
End-to-end working localization (#336)
* End-to-end localization working
* Update package.json
* fix FormattedMessage confusion by using the `FormattedMessage` from `gatsby-plugin-intl` NOT `react-intl`
* TODO: `client/src/intl/es.json` should be generated from a translation tool.
* Update package-lock.json
2021-07-14 12:05:18 -07:00
Nat Hillard
3cd6e06115
Parameterize zoom experiments (#339)
* Adding ability to set flags in url
* parameterizing tile layers
2021-07-14 11:26:12 -04:00
Nat Hillard
6c8d71c5b9
Followup styling fixes (#335)
* Followup to add proper score property to popup
* Adding Additional property name constants
2021-07-13 11:17:49 -04:00
Nat Hillard
4443f60b44
Adding ADR for using maplibre to repo (see issue #299) (#325)
* Adding ADR for using maplibre to repo (see issue #299)
2021-07-12 18:11:56 -04:00
Nat Hillard
68c345b950
Adding low zoom level styling (#334)
* Fixes #201 - As an EVCM, I want the map to make sense at varying zoom levels so that I'm not confused . For now uses a usa_low tileset created as part of #209 for zoom levels 3-7. Will need further iteration
* Adding comments
2021-07-12 18:05:11 -04:00
Jorge Escobar
842312f69f
ETL Classes for Data Sets (#260)
* first commit

* checkpoint

* checkpoint

* first extract module 🎉

* completed census acs etl class

* completed ejscreen etl

* completed etl

* score generation ready

* improving census load and separation

* score generation working 🎉

* completed etls

* new score generation

* PR reviews

* run specific etl; starting docstrings

* docstrings work

* more docstrings

* completed docstrings

* adding pyenv version

* more reasonable poetry req for python

* PR comments
2021-07-12 15:50:44 -04:00
Shelby Switzer
69ef32485c Update issue templates 2021-07-12 15:28:04 -04:00
Vim
a5e79604a7
changes root directory 2021-07-12 10:38:24 -07:00
Vim
c7efe8fcd7
Update 0005-hosting.md (#223)
Fixes broken link and places architecture diagram inline
2021-07-12 09:45:37 -04:00
Nat Hillard
be0256e896
[BUG] Tiles disappear after zoom 11 (#324) 2021-07-12 08:41:29 -04:00
Nat Hillard
d0c281ec72
Census block groups should highlight when selected (#317)
* Fixes #280 - adds territory focus buttons for Alaska, Hawaii, Lower 48, and Puerto Rico to enable easy zoom to these locations

* Adding tests - Specifically:
    * Adding VSCode debug command for Cypress and debug port specification
    * Disabling CORS on local tests
    * Adding waitForMapIdle Cypress test helper
    * Adding constants for easy change and access
2021-07-09 10:56:38 -04:00
Nat Hillard
5bade764c6
Fixes #280 - adds territory focus buttons for Alaska, Hawaii, Lower 48, and Puerto Rico to enable easy zoom to these locations (#315) 2021-07-09 09:56:18 -04:00
Nat Hillard
2257627938
Use MapLibre for Map Visualization (#300)
* switching to MapLibre (see more at https://github.com/usds/justice40-tool/issues/299)
* Removing traces of OpenLayers
* Review comments - removing unused properties, component
This is a pre-requisite for addressing issue #280 and other similar control-related tickets
2021-07-07 15:04:00 -04:00
Nat Hillard
27d9472326
Add Zoom/Lat/Lng to the URL (#293)
* mandatory eslint fix
* Addresses #286 - Adding lat/lng to the URL
* setting zoom on map load
* adding integration tests for zoom
2021-07-06 14:52:35 -04:00
Lucas Merrill Brown
11d13e034e
Comparison tool refactor & ETL HUD RECAP (#272)
* Refactoring comparison tool and creating two new ETL notebooks
2021-07-06 12:10:58 -05:00
Vim
e8385e1439
fixes prettier error message during build (#295)
fixes #290
2021-07-02 12:32:55 -07:00
Vim
7c9ce41106
Update README-es.md
adds link to the installation instructions in Spanish
2021-07-01 17:56:46 -07:00
Vim
e7066c1b1c
Update INSTALLATION.md
adds link to Spanish installation instructions
2021-07-01 17:50:51 -07:00
Vim
9f2c371a8f
Create INSTALLATION-es.md
initial commit of installation instruction in Spanish
2021-07-01 17:49:41 -07:00
Vim
e957a7927a
Update README.md
moving app installation steps to separate markdown file
2021-07-01 17:24:17 -07:00
Vim
38e087231b
Create INSTALLATION.md
Initial version of installation instructions
2021-07-01 17:21:41 -07:00
Shelby Switzer
774fe2d522
Add translations for repo documents (#281)
* WIP README improvements

* Add translations for some core open source process files

This addresses #37. Note that these translations were requested from the
State Dept a few weeks ago, so they don't have some of the latest
updates to content from recent PRs. We will need to come up with a good
proces for keeping both sets of docs up to date as we make changes.

Co-authored-by: Shelby Switzer <shelby.switzer@cms.hhs.gov>
2021-07-01 13:48:03 -04:00
Shelby Switzer
602c3c2fbc Add Spanish issue templates
Only add bug report and feature enhancement for now. Will add user story and ADR later (need spanish translations of the titles!)
2021-07-01 13:03:16 -04:00
Nat Hillard
beac44ef20
Various map styling fixes (#278)
Addresses #182, #291, #273 and #191 

In particular:
* Removes zoom fading for now
* adds legend
* Styles mapbox popup correctly
* Styles zoom control
* Adds feature borders at higher zoom levels
2021-07-01 12:57:59 -04:00
TomNUSDS
f4f7c35ca8
Site content and style update for sprint2/3 (#279)
* add legend and styling for map page
* update header to latest style/content
* add contact page
* add methodology page
#199 and #200
2021-07-01 07:28:43 -07:00
Nat Hillard
00fd51de8b
One more attempt to fix merging to main, it appears it doesn't like curly brackets (#277) 2021-06-30 18:58:54 -04:00
Vim
8f3c7487fc
Update README.md (#222)
fixes broken geo data pipeline link
2021-06-30 07:15:35 -07:00