As a user, I should be able to edit a News Feed that I added. Once I have edited the message a saved, I should see my updated message print to the page and the new message should be saved to firebase.
Acceptance Criteria
GIVEN a user wants to update a news article
WHEN the user clicks the edit icon
THEN a pop-up modal should display a form to the user
AND all the information for the article should pre-populate in the form
AND after the user edits the information and pushes a 'Save Article' button the data should update in firebase
Developer Notes
Create a modalUtil.js file that displays a modal that we can use to render a particular form.
Run a formStringBuilder that creates inputs for Title, Synopsis, and URL link.
Make Axios Get request to populate form fields with the appropriate data.
Make Axios Put request to update data that's been changed.
User Story
As a user, I should be able to edit a News Feed that I added. Once I have edited the message a saved, I should see my updated message print to the page and the new message should be saved to firebase.
Acceptance Criteria
GIVEN a user wants to update a news article WHEN the user clicks the edit icon THEN a pop-up modal should display a form to the user AND all the information for the article should pre-populate in the form AND after the user edits the information and pushes a 'Save Article' button the data should update in firebase
Developer Notes