mysociety / neighbourhood-warmth

A prototype built as part of mySociety’s April 2022 prototyping week exploring conditional commitment services around home energy.
https://mysociety.github.io/neighbourhood-warmth
Other
1 stars 0 forks source link

WIP very basic area page #56

Closed struan closed 1 year ago

struan commented 1 year ago

Adds a /areas/ page with a postcode lookup that currently picks the first matching council and the opens up /area/<gss>/ page with a map view that shows the location of any teams in that area.

To do, in priority order, I think, is:

Fixes #52 Fixes #53

codecov[bot] commented 1 year ago

Codecov Report

Merging #56 (e0e0e51) into main (c092429) will decrease coverage by 3.55%. The diff coverage is 66.66%.

:exclamation: Current head e0e0e51 differs from pull request most recent head 2245ac9. Consider uploading reports for the commit 2245ac9 to get more accurate results

@@            Coverage Diff             @@
##             main      #56      +/-   ##
==========================================
- Coverage   80.09%   76.55%   -3.55%     
==========================================
  Files          35       35              
  Lines         854      951      +97     
  Branches       46       52       +6     
==========================================
+ Hits          684      728      +44     
- Misses        152      209      +57     
+ Partials       18       14       -4     
Impacted Files Coverage Δ
neighbourhood_warmth/settings.py 100.00% <ø> (ø)
neighbourhood_warmth/urls.py 100.00% <ø> (ø)
neighbourhood/mapit.py 48.00% <35.71%> (-22.00%) :arrow_down:
neighbourhood/utils.py 30.76% <37.50%> (-2.57%) :arrow_down:
neighbourhood/views.py 56.73% <44.44%> (-5.30%) :arrow_down:
neighbourhood/forms.py 72.83% <69.23%> (+0.23%) :arrow_up:
neighbourhood/services/teams.py 91.17% <81.25%> (ø)
neighbourhood/models.py 85.18% <91.66%> (+0.13%) :arrow_up:
neighbourhood/migrations/0017_add_areas.py 100.00% <100.00%> (ø)
neighbourhood/tests/test_views.py 100.00% <100.00%> (ø)