FightPandemics / FightPandemics/FightPandemics-iOS

Milestone: Feed/Filter by Location

Open
#77 1 comment 0 reactions 1 assignee Claimed by @devarshjoshi View on GitHub
3 - hard enhancement WIP
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.
Screen Shot 2020-05-15 at 15 40 01

**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

Screen Shot 2020-05-15 at 15 39 31

**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

Screen Shot 2020-05-15 at 15 40 40

Screen Shot 2020-05-15 at 15 40 25

**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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.