pretalx / pretalx

Conference planning tool: CfP, scheduling, speaker management
https://pretalx.com
Apache License 2.0
739 stars 206 forks source link

Feature Request: Resend Invite #885

Closed jberkus closed 4 years ago

jberkus commented 4 years ago

Problem you are facing

Sometimes team members do not get their initial invitation. The UI path to re-invite them is cumbersome.

Possible Solution

Add a "resend invite" button to Pending team member listing, in the same place that the "reset password" button is for confirmed team members.

jberkus commented 4 years ago

This seem like it would be a good first issue for someone.

rixx commented 4 years ago

This is an issue that is well-suited for external contributors – let me know if I can be of any help, either via this issue or via support@pretalx.com.

What this is about

pretalx allows groups organisers of an event in teams, and organisers with sufficient access rights can invite new team members. There is currently no easy way to re-send an invitation, which would be useful.

How to get started

First of all, leave a comment on this issue to make sure nobody else starts working on this issue at the same time!

Next, you need pretalx running locally on your machine. First, fork the repository to your own GitHub account. Then clone it locally (or set it as your remote if you already cloned it earlier)

Follow the developer setup guide, and then play around with pretalx a bit. Have a look at the places impacting this issue. Look at the code responsible for the issues (searching for relevant words or files should help you find your way around). We have an explanation of our code structure and the actual data models.

How to do this

The interface currently looks like this:

DeepinScreenshot_select-area_20200308163702

Add button to the line with the pending invitations, titled "Resend invite". Then add the functionality to a new view.

You're looking for the template in pretalx/orga/templates/orga/settings/team_detail.html, and the view code is in pretalx.orga.views.organiser.TeamDetail. You can look at the TeamUninvite view to see how to an individual action can be implemented. The TeamInvite class has a send method that you should call to re-send the email in question.

Submit the PR

There are a number of tutorials on the Pull Request workflow online, for example this short version by GitHub itself and this more in-depth tutorial.

Remember to provide documentation and tests, if applicable. Run the tests before opening your PR, including style checks. We have a contribution guide, which ought to prove helpful at this stage.

koebi commented 4 years ago

I'd like to take a look at that :)

rixx commented 4 years ago

Cool, go for it!