[ ] 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
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