FightPandemics / FightPandemics/FightPandemics-iOS

Milestone: Type filter selection

Open
#126 0 comments 0 reactions 0 assignees View on GitHub
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 "Type" filter by clicking 'Type' or '+'
**Then** I should be presented with 'Type' options to select from

Screen Shot 2020-05-14 at 18 22 53
Screen Shot 2020-05-19 at 22 41 41
Screen Shot 2020-05-19 at 23 13 29

**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. The number of features selected should also be displayed next to the From Whom filter on the modal. (For eg: If there is only 1 filter applied, then it will say 1 filter applied)
9. Clicking on apply filters closes the layout and shows the results

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.