OlhenShu / ProjectStage_Team2_May

0 stars 0 forks source link

Event search #177

Open OlhenShu opened 5 months ago

OlhenShu commented 5 months ago

As an User, I shall be able to search for the event by the keywords, in order to find the one I need to review.

Preconditions

  1. The registered user is logged in.

Acceptance Criteria

  1. User shall be able to search for the event on the dashboard. System filters the content of the dashboard as per user request.

  2. User shall be able to clear the search input. System shows all nearest the events with mutual friends and other nearest the events.

  3. Case filter applied; System cancels the search filtration only with the other filters applied. Case no search results per user input -> show "No results" message on the dashboard.

  4. User can search for an event using the “search” field: 4.1. user can see a text “Search an event” in the search field: a. text in the input field disappears when user enters the first character, and appears again when the input field is empty. 4.2. by typing an events name systems displays results of events based on the correct combination of letters in events name: a. user should type minimum 1 character and maximum 30 characters (alphabetic characters, a dot, a space, apostrophe and hyphen); b. system starts searching results from 1 character typed; c. system searches results in any part of event’s name respectively to the order of characters typed; 4.3. system displays no more than 10 results by default, to see more user should be able to use infinite scroll; 4.4. results are displayed in most relevant order.

By clicking on the symbol "x" on the "Search an event" field the filter results and search results should be canceled and user should see all list of events in the order of most relevant. Записати

  1. System should display the search results under the “search” field: 5.1. search results are represented by a list of events’ cards which contain the following attributes: a. avatar b. name c. personal rate d. city d. date and time e. all user's friends f. button “Join event” g. button “Save event”

5.2. by clicking on the “event’s card” user is redirected to the event’s page. 5.3. when system didn’t find any results user sees a message “We didn't find any results matching this search”.

5.4 When a user clicks on the button “join event” \ “save event” it is automatically replaced by a button “cancel request” on the event’s card and on the event’s profile page.

5.5. When a user clicks "Cancel Request" button it is automatically replaced by "Join event/ Save event" button on the event's card and on the event's profile page.

Out of scope Filter event

Epic link E.g.: Epic #11
E.g.: Epic #179

Labels to be added "User story"

Tasks

    • [ ] sample task.