Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Milestone: Feed/Filter by Location #77

Open
Samdisha opened this issue May 15, 2020 · 1 comment
Open

Milestone: Feed/Filter by Location #77

Samdisha opened this issue May 15, 2020 · 1 comment
Assignees
Labels
3 - hard Level of Effort is Hard enhancement New feature or request WIP Work in Progress

Comments

@Samdisha
Copy link
Collaborator

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
@hkellaway hkellaway added the 3 - hard Level of Effort is Hard label May 17, 2020
@hkellaway hkellaway changed the title Filters for the feed- Location Feed - Filter by Location May 17, 2020
@hkellaway hkellaway changed the title Feed - Filter by Location Milestone: Feed/Filter by Location May 17, 2020
@hkellaway hkellaway added this to the Feed/Filter by Location milestone May 17, 2020
@hkellaway hkellaway added enhancement New feature or request WIP Work in Progress and removed Feed UI labels May 17, 2020
@Samdisha
Copy link
Collaborator Author

Updated acceptance criteria:

  1. User is able to select multiple tags
  2. The apply filters button is highlighted if at least 1 tag is selected
  3. The selected filter tag changes colour when selected
  4. Clicking on the feature twice should remove the filter selection
  5. Clear filters is only highlighted if a filter is selected
  6. Clicking on the "-" icon at the bottom right collapses the screen
  7. Apply filter option should be updated based on the number of filters selected. (For eg: If there is only 1 filter applied, then it will say 'Apply filters', but for x filters applied, the option will say 'Apply x filters' as seen in the mocks)
  8. Clicking on apply filters closes the layout and shows the results

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 - hard Level of Effort is Hard enhancement New feature or request WIP Work in Progress
Projects
None yet
Development

No branches or pull requests

3 participants