OlhenShu / ProjectStage_Team2_May

0 stars 0 forks source link

Filtering places by Discount rate #231

Open OlhenShu opened 2 months ago

OlhenShu commented 2 months ago

As an unregistered user I want to filter places in the sidebar list by discount rate so that I can find the place with cheapest drink to buy.

Mockups: image image image

Acceptance criteria:

  1. "Filter by" button in available above the sidebar list with places for Unregistered user.

  2. WHEN an unregistered user clicks "Filter by" button, panel with filtering options is opened.

  3. Panel with filtering options contains the next information: a. Discount rate; b. Text "Choose a discount range to search in:" b. Low rate (first value is the smallest discount among all places) c. High rate (the last value is the biggest discount among all places) d. "Apply" button; e. "Cancel" button;

  4. An unregistered user can drag a filter between the smallest and the biggest values.

  5. WHEN un unregistered user choose filtering options AND clicks "Apply" button, THEN system shall display places, where discount rate value fits in the filtered range.

  6. WHEN an unregistered user choose one filtering option of Discount rate and clicks "Cancel" button, THEN he/she can see default places in the list.