sandboxnu / ScoutTrek-Frontend

The future of Scouting
Other
1 stars 0 forks source link

Change owner of event (Milestone 2) #57

Open SimChadha opened 1 year ago

SimChadha commented 1 year ago

Functionality Info

Summary: For milestone 2, we want the owner of the event to delegate another member as the new event owner.

Flow: If the user is the event owner, there will be a "Change" button next to the name of the event owner. Tapping this button will open a pop over that displays all valid owner alternatives (other members of the troop/patrol). The owner can select a person, and confirm their changes with the confirm button on the bottom of the popover. After confirming, ownership is changed and the old owner can no longer see the change button.

More details: There is an update event mutation that can be used to update the 'creator' field which is our event owner.

Design Details

Follow the designs here. Ignore the "Past owners" section in the second picture and just show other users from troop.

Image