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

Work for Marple energy flexibility pilot #78

Open struan opened 1 month ago

struan commented 1 month ago

Things to make the energy flexibility pilot work possible.

Removes the create a team option from the template.

Adds basic functionality to store challenges in the database to make administering this possible without editing the template. Can use either html, plain text or a custom template for the challenge description displayed on the team page. Also uses the challenges to populate the progress scale on the private and public team page.

If there is no challenge set for a Team then it will display thing things in the template as before. If you set a challenge then it will use that, and all the challenges in the database to display progress.

A challenge should have an order which will be used in the progress ladders.

It can be marked as not public in which case it doesn't appear on the non logged in team page.

The description can be one of:

Fixes #77