ClimateMind / climatemind-backend

Your climate action is here 🌎 Our API is a source for learning how climate change personally affects you and the things you care about most. Additionally, it will teach a scientifically proven method for communicating to others that climate change is a personally relevant issue to inspire action.
https://contribute.climatemind.org/v/rest-api/
MIT License
18 stars 19 forks source link

feedback model added #481

Closed danmash closed 1 year ago

danmash commented 1 year ago

Detailed information:

New Feedback model to handle users' feedback

Test plan (required)

codecov-commenter commented 1 year ago

Codecov Report

Base: 72.26% // Head: 72.75% // Increases project coverage by +0.48% :tada:

Coverage data is based on head (d4391ce) compared to base (f965826). Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #481 +/- ## =========================================== + Coverage 72.26% 72.75% +0.48% =========================================== Files 82 85 +3 Lines 2639 2679 +40 Branches 315 315 =========================================== + Hits 1907 1949 +42 + Misses 696 695 -1 + Partials 36 35 -1 ``` | [Impacted Files](https://codecov.io/gh/ClimateMind/climatemind-backend/pull/481?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ClimateMind) | Coverage Δ | | |---|---|---| | [app/\_\_init\_\_.py](https://codecov.io/gh/ClimateMind/climatemind-backend/pull/481?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ClimateMind#diff-YXBwL19faW5pdF9fLnB5) | `91.04% <100.00%> (+0.27%)` | :arrow_up: | | [app/feedback/\_\_init\_\_.py](https://codecov.io/gh/ClimateMind/climatemind-backend/pull/481?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ClimateMind#diff-YXBwL2ZlZWRiYWNrL19faW5pdF9fLnB5) | `100.00% <100.00%> (ø)` | | | [app/feedback/routes.py](https://codecov.io/gh/ClimateMind/climatemind-backend/pull/481?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ClimateMind#diff-YXBwL2ZlZWRiYWNrL3JvdXRlcy5weQ==) | `100.00% <100.00%> (ø)` | | | [app/feedback/schemas.py](https://codecov.io/gh/ClimateMind/climatemind-backend/pull/481?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ClimateMind#diff-YXBwL2ZlZWRiYWNrL3NjaGVtYXMucHk=) | `100.00% <100.00%> (ø)` | | | [app/models.py](https://codecov.io/gh/ClimateMind/climatemind-backend/pull/481?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ClimateMind#diff-YXBwL21vZGVscy5weQ==) | `100.00% <100.00%> (ø)` | | | [app/scoring/tests/data.py](https://codecov.io/gh/ClimateMind/climatemind-backend/pull/481?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ClimateMind#diff-YXBwL3Njb3JpbmcvdGVzdHMvZGF0YS5weQ==) | `100.00% <0.00%> (+6.66%)` | :arrow_up: | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ClimateMind). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ClimateMind)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.