* Move survey button to header
- remove SurveyFab component as it's no longer a FAB
- place button in heading
- add tests
- add pageStyles module
* Add retry and timeout to failing test
* Move survey button to bottom of page
* Fix surveyButton failing a11y
- udpate snapshots
* Align survey button to Contact nav link
* Add language links to gov banner
- align banners to site logo
- create Language component and snapshot test
- add Language component to GovBanner
- update namespace for betaBanner scss.d.ts file
* Update snapshots for each page
* Componentizes the GovBanner
- add styles
- add unit test
- token most styles to USWDS
* Add language icon and update snapshots
* Make language link text smaller
* Update total height of BetaBanner
* Add languageLink to scss.d.ts file
* Add language links to mobile
- add isDesktop prop to Language component
- refactors header links to a simple array
- update snapshots
* Add href value to language links
- update snapshots
* merge other PRs and add spanish links
- merge PR 817
- merge PR 794
- add spanish links for footer
- add diffEnEs.js to detect differences between two json files
- adds esNoBrackets.json
- update intl README
* Add government banner in spanish
* Add spanish content for About and Explore page
* WIP
* Create ScoreCalculator
This calculates all the factors for score L for now (with placeholder
formulae because this is a WIP). I think ideallly we'll want to
refactor all the score code to be extracted into this or similar
classes.
* Add factor logic for score L
Updated factor logic to match score L factors methodology.
Still need to get the Score L field itself working.
Cleanup needed: Pull field names into constants file, extract all score
calculation into score calculator
* Update thresholds and get score L calc working
* Update header name for consistency and update comparison tool
* Initial move of score to score calculator
* WIP big refactor
* Continued WIP on score refactor
* WIP score refactor
* Get to a working score-run
* Refactor to pass df to score init
This makes it easier to pass df around within a class with multiple
methods that require df.
* Updates from Black
* Updates from linting
* Use named imports instead of wildcard; log more
* Additional refactors
* move more field names to field_names constants file
* import constants without a relative path (would break docker)
* run linting
* raise error if add_columns is not implemented in a child class
* Refactor dict to namedtuple in score c
* Update L to use all percentile field
* change high school ed field in L back
Co-authored-by: Shelby Switzer <shelby.switzer@cms.hhs.gov>
* Create ScoreCalculator
This calculates all the factors for score L for now (with placeholder
formulae because this is a WIP). I think ideallly we'll want to
refactor all the score code to be extracted into this or similar
classes.
* Add factor logic for score L
Updated factor logic to match score L factors methodology.
Still need to get the Score L field itself working.
Cleanup needed: Pull field names into constants file, extract all score
calculation into score calculator
Co-authored-by: Shelby Switzer <shelby.switzer@cms.hhs.gov>
Co-authored-by: lucasmbrown-usds <lucas.m.brown@omb.eop.gov>
* Add new BetaBanner and remove legacy Alerts
- add BetaBanner component and test
- update AboutCard test
- remove AlertWrapper component, copy and tests
- remove AlertWrapper from all pages
- add BetaBanner copy and intl
- update logo and color
- add styles using USWDS tokens to globals.scss
* Add Beta pill to header
- refactor Header to use Grid and USWDS
- refactor global.scss to use Grid and USWDS
- updates snapshots
* Move styles from global to modules
- move BetaBanner styles from global to modules
- move J40Header to a folder component and module styles
- add J40Header unit test
- add a design-system.scss file that allows USWDS styles in modules
- updates snapshots
* Update en.json file
* Trigger Build
* Add initial Spanish content
- add README for translation team
- add createSpanishJson script
- add initial version of es.json
- add a spanish string variable to test translation
* Add retry and timeout config to stalled test
* Remove redundant test cases for AboutCard
- update snapshot
* Update BetaBanner description