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:
Acceptance criteria:
"Filter by" button in available above the sidebar list with places for Unregistered user.
WHEN an unregistered user clicks "Filter by" button, panel with filtering options is opened.
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;
An unregistered user can drag a filter between the smallest and the biggest values.
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.
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.
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](https://user-images.githubusercontent.com/53810790/64706373-0be3e100-d4ba-11e9-925a-91b861e05933.png)
Acceptance criteria:
"Filter by" button in available above the sidebar list with places for Unregistered user.
WHEN an unregistered user clicks "Filter by" button, panel with filtering options is opened.
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;
An unregistered user can drag a filter between the smallest and the biggest values.
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.
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.