gpsimpact / census-relational-organizing-frontend

1 stars 1 forks source link

Allow team admins to see individual messenger progress #157

Open CaptainTeft opened 4 years ago

CaptainTeft commented 4 years ago

In order to manage and evaluate the success of trusted messengers, Team Administrators need to be able to not just see their team totals in the dashboard, but also the progress of individual messengers.

We should add a feature, perhaps on the "messengers" page, that allows a team admin to see these numbers.

Additionally, if the "all contacts" page should show a team administrator which messengers have created which contacts. This, too, is critical to evaluating the success of trusted messengers.

jakelowen commented 4 years ago

@jrazmi - I just merged backend change to allow this. summaryCountMyTeamTasks query now takes optional userId argument.

If not provided it defaults to current authed user. (So it should not break any existing)

If userId arg is provided the current authed user must be either an admin of the team of which the provided userId is a member OR a global admin.

jakelowen commented 4 years ago

@CaptainTeft - We are ready to work on this feature, but we have an implementation question first:

Would you rather: A) see some aggregated roll up statistic next to a user's name on the all team users list (and if so, what) OR B) click on the user's name and see a full blown report formatted exactly as if you were looking at your own progress report?