OlhenShu / ProjectStage_Team2_May

0 stars 0 forks source link

Add feedback to a place #235

Open OlhenShu opened 2 months ago

OlhenShu commented 2 months ago

As registered user I want to add a feedback on a place, so that there will be more information about a place in order to choose one.

Mockup (for example): image

Acceptance criteria:

  1. "Submit feedback" button shall be displayed on the site and shall be available only for registered user.

  2. A registered user can click "Submit feedback" button.

  3. WHEN a registered user clicks "Submit feedback" button, THEN popup, which contains the next information: a. Rate (is shown as five empty stars from 1 to 5) b. Input text filed (with placeholder "Please write a comment", min length - 5 symb, max - 300 symb with gaps). c. "Attach file" button (max size 20 MB and is optional to submit a feedback) d. Field for attached file name (with placeholder jpg, png, gif) e. "Submit" , "Cancel" buttons

  4. System shall display submitted feedback under the place in the sidebar list for unregistered and registered users.

  5. Feedback shall be visible WHEN an user (registered/unregistered) clicks on the place in the sidebar list.

  6. Registered user can leave only one feedback for one place.

  7. Admin shall receive a notification about each submitted feedback to his email address.