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

Allow team admins to approve/reject requests to join the team, and email applicant on decision #45

Closed zarino closed 1 year ago

zarino commented 1 year ago

The three outstanding tasks from #39:

zarino commented 1 year ago

@struan – See below wording for the emails, from @sequencefree.

We’ll need to think how this gets split between email and webpage (we probably don’t want a form submission inside the admin email markup, for example).

Email to admin

Congratulations!

[ NAME ] has requested to join your team, [ TEAM NAME ].

[ checkbox ] Allow this person to approve/reject join requests from other people from now on.

[ Button: Approve member ] [ Button: Reject request ]

Thanks!

Neighbourhood Warmth HQ

P.S. If you want to stop new member requests, please change the open/closed group setting on your team’s homepage: [ LINK ]

Email to approved applicant

Congratulations!

[ TEAM NAME ] has approved your request to join. [ IF USER.IS_ADMIN ] You have also been given permission to approve/reject requests from future applicants to this team. [ /IF ]

Visit your new team’s homepage to get involved in the next step on their current neighbourhood challenge:

[ TEAM URL ]

Thanks!

Neighbourhood Warmth HQ

Email to rejected applicant

Thanks for applying to join [ TEAM NAME ]!

This team hasn’t accepted your request, probably because they’ve already got too many members and may have forgotten to close the group to new requests.

Why not apply to join another team by searching with your postcode again? If there are no other teams nearby, you could always start your own – we’ll walk you through the process.

[ URL ]

All the best,

Neighbourhood Warmth HQ

struan commented 1 year ago

I am not in favour of having forms in the email so yes, it's just going to have a link to the admin page.

sequencefree commented 1 year ago

Point made by an external I talked this through with earlier – approver need to be able to tailor the email (or the team homepage) to let the new member know how to communicate with other team members?

Sorry if this is already covered, just sharing quickly before battery dies.