Commit graph

10 commits

Author SHA1 Message Date
Vim
85ffb1b6b9
Fix typos found in en.json files and copy (#1648) 2022-05-17 10:22:57 -07:00
TomNUSDS
aa35758e42
Put codebook into <callout></callout> section (#1590)
Also, updated intl and tests snapshots
2022-05-04 12:08:44 -04:00
TomNUSDS
6ab7d76fdb
Update Download sidebar, add new alert (#1587)
* Update Download sidebar, add new alert

- Fixes #1567
- Cleaned up styles related to buttons.
- Refactored buttons a little to make easier to maintain.
- Updated test snapshots/translation files

* Fixes

* More text fixes
2022-04-27 10:43:34 -04:00
TomNUSDS
5b5d6051a8
Spanish survey support (#1589)
* Spanish site improvements

* surveybutton localization

* Basic ES support. Localization done, too.

* Update test snapshots.

Co-authored-by: Jorge Escobar <jorge.e.escobar@omb.eop.gov>
2022-04-27 10:38:59 -04:00
TomNUSDS
0cdc44aaab
Change primary alert message, expiration date, update intl and tests (#1584)
* Change primary alert message, expiration date, update intl and tests
* Update Request for Info box on Contact page
2022-04-25 11:57:00 -07:00
TomNUSDS
c07d790b77
Fixes #1571 (TSD download button) (#1578)
* Fixes #1571

* Split out last updated for all downloads
2022-04-19 15:30:42 -04:00
TomNUSDS
5c0e6e8096
Minor edits to copy - Fixes #1572 (#1574)
* Minor edits
* Fix `intl:compile-en` and the `intl:extract`
2022-04-19 10:21:59 -07:00
Vim
b1adc1f69f
Add beta site banner (#802)
* 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
2021-10-21 14:56:32 -07:00
Vim
62ab7f58df
Nightly cypress failure mapspec (#580)
* fixes failing tests

* adds snapshot test
2021-09-01 11:26:49 -07:00
Vim
36f43b2d44
adds map side panel (#406)
* initial map side panel

* componentize MapSidePanel

* remove selection from J40Map

* adds isFeatureSelected to toggle component

* filters data from server for client UI

* styling and refactor

* added TODO

* adds styling to intro and pairing feedback

* add mobile styling

* adds popup back to fs feature flag

* adds tests and aria roles

* makes mobile content same as desktop

* prettier update

* initial e2e mapSidePanel test

* adds cypress tests on desktop and mobile

* adds sass util and updates cypress tests

* cleans up tests

* reverts tsconfig file

* fixes map alignment

* renaming and using constants

* renaming sidePanel to infoPanel

* intl messaging

* adds snapshot testing and utility sass file

* PR feedback
- adds intl messages
- adds data-cy attr to cy tests
- snapshot testing for unit tests
- fixes bug where side panel extends past the map
- moves all wrapper content in MapWrapper

* logs isMobile to troubleshoot deployed PR

* adds react-device-detect for isMobile detection

* adds new instance of map for mobile

* adds instance

* adds isMobile to state

* tests the fix for mobile map view on PR

* PR review feedback
- localize MapIntroduction
- update snapshot tests
- QA feedback
- constants.isMobile points to react-device-detect
2021-07-27 12:05:25 -07:00