Summary
We want to allow users to invite others to existing shopping lists so they can manage them with friends or family. This would take the following steps:
- User enters an existing user's email into a form
- The
shareList function in src/api/firebase.js is called with the appropriate inputs
Please note that an existing user is a user that has signed into the app before.
Acceptance criteria
Notes
- You will know your
<label> is correctly implemented if you click on the label and keyboard focus moves to the related input. Refer to the MDN docs on <label> for more info.
- Users will be able to submit the form with the
Enter key if you listen for the right JavaScript event on the right element! If you're adding an onKeyDown listener anywhere, you might be overcomplicating things.
- Check the
shareList function in src/api/firebase.js to get an idea of how you will know if a list was shared.
Summary
We want to allow users to invite others to existing shopping lists so they can manage them with friends or family. This would take the following steps:
shareListfunction insrc/api/firebase.jsis called with the appropriate inputsPlease note that an existing user is a user that has signed into the app before.
Acceptance criteria
ManageListview shows a form that allows the user to enter an email to invite an existing user to a list, in addition to the form that allows them to add items to that list.labelelement associated with itEnterkeyNotes
<label>is correctly implemented if you click on the label and keyboard focus moves to the related input. Refer to the MDN docs on<label>for more info.Enterkey if you listen for the right JavaScript event on the right element! If you're adding anonKeyDownlistener anywhere, you might be overcomplicating things.shareListfunction insrc/api/firebase.jsto get an idea of how you will know if a list was shared.