FightPandemics / FightPandemics/FightPandemics-iOS
Milestone: Feed/Filter by Location
- Dominant language
- Swift
- Stars
- 13
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
**As** a user
**Given** I have selected the filter icon on the feed, and the filter modal appeared on the screen
**When** I select the "location" filter
**Then** I should be presented with options to enter my location manually or allow the app to identify my location. Once my location has been detected, when I click on "Apply filters" I should be taken back to the feed with the filter applied.

**As** a user
**Given** I have selected the filter icon on the feed, and the filter modal appeared on the screen
**When** I select the "location" filter and enter my location manually
**Then** the app should identify my location based on the text entered and present it on the search bar.
**Then** when I click on "Apply filters", I should be taken back to my feed with the filter applied

**As** a user
**Given** I have selected the filter icon on the feed, and the filter modal appeared on the screen
**When** I select the "location" filter and allow the app to select my location
**Then** a pop up should appear requesting for the FightPandemics app to access my location. If I allow the app to access my location, my detected location should be displayed in the search bar
**Then** when I click on "Apply filters", I should be taken back to my feed with the filter applied


**Acceptance Criteria**
- When I select the location option on the filters modal, I should be presented with options to enter my location or allow the app to automatically detect them
- When I manually enter my location, the app picks up the text entered and identifies my location to present it on the screen
- When I allow the app to identify my location, a pop up appears to confirm the access I'm giving the app to identify my location. If I don't allow the app to access my location, the location will not be picked up and user will be taken back to the previous screen
- After selecting my filter and entering my location, when I enter "apply filters", I should be taken back to the feed with the filters applied
Contributor guide
Assessment
This issue has not been assessed yet.