Skip to content

Commit

Permalink
feat: Add resolvers and mutations for managing weather widget (#1075)
Browse files Browse the repository at this point in the history
* Add resolvers and mutations for managing weather widget

* fix copy pasta

* actually use the editWeatherWidget from mySpaceContext

* update edit to change zipcode and coords

* remove unused

* refresh weather widget if coords updated

* removing a comment

* revert myspace to remove demo code

* remove demo weather widget

* add tests for weather model and fix db functions

* add and update unit tests related to weather widget and resolvers

* cleaning up lint errors

* pin dependency

* address feedback

* Add test for useWeather hook

---------

Co-authored-by: Shauna Keating <59394696+shkeating@users.noreply.github.com>
  • Loading branch information
abbyoung and shkeating authored Aug 16, 2023
1 parent c92ae65 commit a652766
Show file tree
Hide file tree
Showing 28 changed files with 5,110 additions and 52 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
"@opentelemetry/tracing": "0.24.0",
"@trussworks/react-uswds": "5.1.1",
"@uswds/uswds": "3.5.0",
"apollo-datasource-rest": "3.7.0",
"apollo-server-core": "3.12.0",
"apollo-server-micro": "3.12.0",
"axios": "1.4.0",
Expand Down
Loading

0 comments on commit a652766

Please sign in to comment.