generated from the-collab-lab/smart-shopping-list
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
24. Edit Item names #45
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
After Users have added items to a list, the User will be able to edit the item names from the
List
component.Acceptance Criteria
edit item
button opens a modal with a label, text box and submit button that allows users to edit the item namecancel
button on the modal to exit out?Stretch Goal
edit item
button on the List page, the modal that appears also has an input allowing users to edit the NextPurchaseDatesoon - 7 days
,kind of soon - 14 days
andnot soon - 30 days
, selecting one of theseNotes
Ensure that the EditItem function does not edit the item name to an empty string when updating the NextPurchaseDate only, and ensure the function also does not edit the NextPurchaseDate to null when updating the item name only, if we choose to make only one required.
Also important to note is the purpose of implementing this functionality. After this idea was introduced, mentors suggested that users could simply just delete the item they no longer want and add a new one to the list instead of editing the name of the item. Consider the scenarios in which a user would want to edit the name of an item. If Users wanted to edit the purchase urgency of an item, they could similarly delete it and create a new item with the desired purchase urgency.
The text was updated successfully, but these errors were encountered: