Closed
Conversation
braughtg
reviewed
Oct 3, 2025
braughtg
left a comment
There was a problem hiding this comment.
- - The "Add Item" and "Cancel" buttons show and hide the form for adding a new item.
- - The "AddItem" and "Cancel" buttons call the
doEditmethod correctly.
- - The "AddItem" and "Cancel" buttons call the
- - The
add-item-formdivis shown whenediting. - - The
v-onhandlers for thetextinput andbuttoncall thesaveItemmethod. - - The "Nice job! You've bought all your items!" message appears when the list is empty and is hidden when an item is added.
- - The
itemslist is initially empty. - - The
saveItemmethod is added to the Vuemethods.- - The
saveItemmethod has been extended to clear thetextinput when a new item is saved.
- - The
- - The
doEditmethod has been added to the Vuemethods- - The text field is cleared if
doEditis clicked.
- - The text field is cleared if
- - Work is spread across multiple commits.
Nicely done!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request Description
Implements features of Tutorial 5 as detailed within. This took me approximately 30 minutes
Licensing Certification
FarmData2 is a Free Cultural Work and all accepted contributions are licensed as described in the LICENSE.md file. This requires that the contributor holds the rights to do so. By submitting this pull request I certify that I satisfy the terms of the Developer Certificate of Origin for its contents.