StephMode / art-gallery-app

0 stars 0 forks source link

#07 User Story 7: Comments for Art Pieces #7

Open StephMode opened 15 hours ago

StephMode commented 15 hours ago

Value Proposition

As an art enthusiast

I want to write comments for art pieces

so that I can note my ideas regarding the work.

Acceptance Criteria

[ ] The detail view has a list of comments for this art piece with the headline "Comments" [ ] Each comment's text is displayed [ ] Each comment's date and time is displayed [ ] The detail view has an input field to write a comment [ ] The detail view has a submit button labeled "Send" [ ] After submitting the form, the comment is appended to the list of comments

Tasks

[ ] Store comments per art piece in the artPiecesInfo state [ ] Create a CommentForm component [ ] CommentForm props: onSubmitComment [ ] Create a Comments components [ ] Comments props: comments