-
Notifications
You must be signed in to change notification settings - Fork 3
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
Jk vy share list #23
Jk vy share list #23
Conversation
Visit the preview URL for this PR (updated for commit db38b74): https://tcl-71-smart-shopping-list--pr23-jk-vy-share-list-n4z44xgo.web.app (expires Tue, 27 Feb 2024 12:27:21 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 1e7ade9d0f374c4ddb5d7ab6fc541062fc7a1ab4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nicely done! I like the checking for an empty user input!
Something that is not in the requirement, but could be a nice add: checking if the user is not assigning their own email address.
It looks good. Well done. |
@ocsiddisco Do you mean if I put my own email I get a message saying "You put in your own email?" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested locally and works as expected, nice job!! 💪
- display an error message if the user tries to submit an empty string - edit alert messages
I noticed that in our implementation, a user is only able to share a list if they are the owner of that list. I wonder if this is the expected behavior in the app, or if we might be missing some work to allow every user in the list to share it with others. I created a new-test-list and shared it with all team members in case anyone wants to test it. |
I could imagine that is the expected behaviour tbh. In fact, picturing myself using this app, I wouldn't want a random user to share my list |
Yes, I guess so... I was unsure about this since I tested the feature with |
Description
Implemented the "sharing list with another user by email" functionality
Related Issue
closes #6
Acceptance Criteria
ManageList
view 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.label
element associated with itEnter
keyType of Changes
adding feature
Updates
Before
After
Testing Steps / QA Criteria
git checkout jk--vy--share-list
git pull
npm start
go to manage list
provide email