Skip to content

User Story: Comment on article

sungbin92 edited this page Nov 4, 2019 · 2 revisions

Feature : comment on article

As a SNUBot user who found the interesting article on the board I want to represent my opinion on article So that writer can elaborate and develop writer's own opinion

Button

  • Comment button
  • id: comment-write-button
  • label: Comment
  • action: refresh the article page

Form Fields

  • New Comment content
  • id: comment-content
  • field type: input

Acceptance test:

  1. user enters specific article which interested user.
  2. user have some questions or want to give some opinion on article.
  3. user can see the comments on that article from other user.
  4. user can write a comment on 'comment-content' form.
  5. if not logged in, user is directed to login page when user click the 'comment-write-button'.
  6. after login, user can click the 'comment-write-button' and user can see refreshed page with user's comment.
  7. if user exits while writing comment, ask user to make sure using 'react bootstrap confirm'