Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Organizers can view and (sometimes) edit volunteer information on mission edit view #561

Open
utunga opened this issue May 17, 2020 · 1 comment
Assignees
Labels
organizer Belongs to the organizer view

Comments

@utunga
Copy link
Contributor

utunga commented May 17, 2020

Part of the mission edit user story - #431

There's a special component for assigning volunteers built already - used in Mission Control in planning view. We want to keep the business logic the same as that but put it into the mission edit view. Hopefully, this can be (or already is) componentized so it can be reused here.

The organizer needs to be able to:

  • see how is assigned to a mission
  • see whether they are tentative or have accepted
  • unassign a volunteer (up until the mission is started)
  • suggest a new one (up until the mission is started)

The fields involved are:

"tentativeVolunteerUid": "",
"tentativeVolunteerDisplayName": "",
"tentativeVolunteerPhoneNumber": "",
"volunteerUid": "",
"volunteerDisplayName": "",
"volunteerPhoneNumber": "",

--

Once a mission is started it should be read-only. That is if MissionState is X, then:
unassigned - editable
tentative - editable,
assigned - editable
started - read only
delivered - read only
succeeded - read only
failed - read only

Per the component, if the volunteer field is changed it should clear volunteerUid field and set tentativeVolunteerUid - thus requiring volunteer to accept it before it moves from tentative to 'accepted'

It should always be possible (whether read-only or editable) for the organizer to see whether the volunteer has 'accepted' or if the mission assignment is still 'tentative'.

@utunga utunga added the organizer Belongs to the organizer view label May 17, 2020
@utunga utunga changed the title Organizers can view and (somtimes) edit volunteer information on mission edit view Organizers can view and (sometimes) edit volunteer information on mission edit view May 17, 2020
@laredotornado
Copy link
Contributor

Hi, Please assign this to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
organizer Belongs to the organizer view
Projects
None yet
Development

No branches or pull requests

2 participants