Closed jberkus closed 4 years ago
This seem like it would be a good first issue for someone.
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.
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.
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.
The interface currently looks like this:
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.
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.
I'd like to take a look at that :)
Cool, go for it!
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.