hackforla / HomeUniteUs

We're working with community non-profits who have a Host Home or empty bedrooms initiative to develop a workflow management tool to make the process scalable (across all providers), reduce institutional bias, and effectively capture data.
https://homeunite.us/
GNU General Public License v2.0
39 stars 21 forks source link

Section 2 | Coordinator: Invite Guest #520

Open rpradheap opened 1 year ago

rpradheap commented 1 year ago

Dependencies

Problem Alignment

The Problem

Currently, Coordinators do not have a digital way to invite Guests to start the application (Intake Profile). Coordinators have to hand Guests a paper form.

User Story:

As a Coordinator, I want to send an email to invite Guests so that the Guest can create an account and start an application (Intake Profile) in the HUU system.

High Level Approach

From the Dashboard, the Coordinator is able to enter the email and name of a guest to invite the Guest to the HUU system.

Solution Alignment

Considerations

Goals & Success

Coordinator can successfully send an email invite to a Guest.

Key Features

  1. Coordinator should have an "Invite New Guest" option on the Dashboard page.
  2. Coordinator can enter the email address and name of a Guest and send the invite.
  3. Each Guest that is invited should be tracked, and the Coordinator should be able to view a list of invited Guests (via the table defined in #501).

Acceptance criteria

Metrics

Frontend visibility of metrics will be outlined in a separate future User Story.

Design

https://www.figma.com/file/BNWqZk8SHKbtN1nw8BB7VM/HUU-Everything-Figma-Nov-2022?node-id=2353%3A17352&t=ZM7AykeF7WVNoXkD-0

Engineering

Known Limitations

Team Reviews:

pardhama commented 1 year ago

Check with engineering regarding personalization of email text and work on the draft

sanya301 commented 1 year ago

Check if invites expire, and define a flow in the story for what happens if it does expire What happens if co-ordinator sends two invites which are still in the "active" timeframe

erikguntner commented 1 year ago

The temporary passwords in the invite do expire. The default is 7 days and can be adjusted all the way up to 365 days. I'll look into sending new invites.

stevbark commented 1 year ago

I can work on this for the Engineering side. One note is that it says this has both front and back end components and I am focused on backend atm.

edela0015 commented 1 year ago

Quick question: are we giving the coordinator the ability to revoke the invite as well? or resend? thank you.

randelbrot commented 1 year ago

Hi @edela0015,

Is there a user scenario that you are envisioning for revoke invite? If we think it will be an infrequent occurrence and it's not critical, it's ok to leave out in the first version.

For resend, my take is that we keep it simple/low effort in this version and just allow Coordinators to go through the user flow again to invite a user, versus build dedicated re-send invite functionality.

KowDesign commented 1 year ago

https://www.figma.com/file/BNWqZk8SHKbtN1nw8BB7VM/HUU-Everything-Figma-Nov-2022?type=design&node-id=5872-72669&mode=design&t=6P4UHiA7FqyFeQuC-4

rpradheap commented 1 year ago

@KowDesign - Please check my comment in Figma about the Invite Guest Button placement. I think the pages once we click the invite - name and email looks good .

erikguntner commented 1 year ago

@stevbark The back end is actually already in place for this. @rochun is currently working on the front end

erikguntner commented 1 year ago

@stevbark scratch that. It's most of the way there, but still needs some updates

KowDesign commented 1 year ago

@KowDesign - Please check my comment in Figma about the Invite Guest Button placement. I think the pages once we click the invite - name and email looks good .

@rpradheap here is the updated design

erikguntner commented 1 year ago

@KowDesign @rpradheap I put together a user flow so engineering can have a better idea of how this is supposed to work together. Let me know if it looks right and feel free to make changes.

https://www.figma.com/file/BNWqZk8SHKbtN1nw8BB7VM/HUU-Everything-Figma-Nov-2022?type=design&node-id=8071-110097&mode=design&t=qXPmdmA4atJvkami-4

rochun commented 1 year ago

@erikguntner I'm in the process of adding the API route for the host's invite guest functionality. Are we considering separating concerns for files between auth and host API services? Or should I add the invite guest endpoint to the services/auth.ts file?

erikguntner commented 1 year ago

@rochun Yeah, good idea. This should probably go in a separate service for coordinators

rochun commented 1 year ago

@erikguntner okay, sounds good. I'll go ahead and create a new coordinator service.

sanya301 commented 5 months ago

@lasryariel to review and close this out, or come up with action items

lasryariel commented 5 months ago

There are a few acceptance criteria that have not been met. will discuss in todays meeting.

lasryariel commented 5 months ago

@tylerthome will be updating dev.homeunite.us to have it show data that matches the data model, rather than dummy data. This will allow us to check things like Coordinator assignment to invited guest, status updates, and other applicable acceptance criteria.

lasryariel commented 5 months ago

Reviewed acceptance criteria, these items remain: Engineering:

We can discuss with engineering during the next meeting.

PM updates to story:

sanya301 commented 5 months ago

@lasryariel I just discovered, there seems to be another story with the same functionality but marked in a separate section https://github.com/hackforla/HomeUniteUs/issues/405. Can you confirm whether 405 is a duplicate, and that everything in that story is covered here?

paulespinosa commented 1 month ago

Email bounce: By default, Cognito doesn't provide bounce information/notification.

Cognito needs to be configured to use an Amazon SES (Simple Email Service) account to send email. An Amazon SES account needs to be created with a Configuration Set that is configured to monitor and, optionally, publish email events.

https://trog.qgl.org/20211014/tracking-email-bounces-from-aws-cognito-sent-by-ses/ https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-email.html#user-pool-email-developer https://docs.aws.amazon.com/ses/latest/dg/monitor-using-event-publishing.html