OlhenShu / ProjectStage_Team2_May

0 stars 0 forks source link

Edit comment #171

Open OlhenShu opened 5 months ago

OlhenShu commented 5 months ago

As an Authorized User, I shall be able to edit my comment, in order to update its content.

Assumptions & Constraints 1.

Preconditions

  1. The user should be authorized.
  2. The user should be logged in.
  3. The user can edit only his comments.

Business rules

  1. Authorized user can edit comments he has left with no time limits.

Acceptance Criteria

  1. Authorized User shall be able to edit comment by clicking on the "Edit" bttn.
  2. When ‘Edit’ button is tapped, all text symbols from the current comment becomes editable.
  3. Under the box with text are two buttons ‘save’ and ‘cancel’.
  4. When ‘cancel’ is tapped, changes aren’t saved. The user can see the box with not edited comment.
  5. When "Save" is tapped, the changes are saved and depicted in the current comment list.
  6. Show "Edited" label after this action in the list of comments.

Out of scope Add comment Delete comment Reply on comment

Epic link E.g.: Epic #11

Labels to be added "User story", Corresponding Functionality (e.g. User), Priority ("pri: "), "Corresponding Epic"

Tasks

  1. [x] back-end
  2. [ ] front UI
  3. [ ] - front logic