Skip to content

User Story : Article Editing

desiderare edited this page Nov 18, 2019 · 1 revision

Feature : Editing Article

As a SNUBot user who posted article to improve it but some thoughts were changed. I want to edit my article. So that users and developers don’t get confused with my article

Button

  • Submit button
  • id: submit-change-button
  • label: Submit
  • disabled: when contents and title never changed
  • action: redirect to article-detail page
  • Delete button
  • id: delete-aritcle-button
  • label: Delete
  • action: redirect to board-detail page

Form Fields

  • New suggestion title
  • id: new-suggestion-title
  • field type: input:text
  • New suggestion content
  • id: new-suggestion-content
  • field type: input:textarea

Acceptance Test

  1. At article-detail user clicks edit button
  2. If requesting user is not author of article edit button is disabled
  3. If user is author of article, user goes article-edit page.
  4. When some changes have been made to title or contents submit button is active
  5. If title or content is '(No contents)', submit button is also disabled
  6. After user made some changes to article and click submit button, user is directed to article-detail page
  7. If user click delete button, user is directed to board-detail page