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

Home page - add filtering #30

Open
niall-rb opened this issue Jun 30, 2022 · 0 comments
Open

Home page - add filtering #30

niall-rb opened this issue Jun 30, 2022 · 0 comments

Comments

@niall-rb
Copy link

Description
Events on the home page are filtered by the interests the user selected when they created. We want to user to be able to temporarily alter these through filtering where a user can what they're interested in and see other events.

If they click on the filter button they should be presented with a modal bottom sheet of interests, similar to the Interests setup page. Here they can alter their selection but they must select at least one interest.

The user dismisses the interests modal by swiping down on it. After they do this the the events should be updated based on their selection. By design they should not be able interact with the content beneath the modal while it's active.

If a user tries to filter for a second time, any changes they made the first time should be persisted.

If a user leaves and returns to the page then events that match their original interests should be shown.

Acceptance criteria
GIVEN A user navigates to the home page
WHEN They click on the filter icon
THEN They should see their initial interests pre-selected in the filter options

GIVEN A user navigates to the home page
WHEN They click on the filter icon and select one or more interests
AND They dismiss the modal
THEN Then the events should be filtered based on their selection

GIVEN A user has applied a filter
WHEN They click on the filter icon
THEN Then the interests of the previously applied filter should be pre-selected

Non-functional requirements
The design should match those provided in Badger Me App

Linked issues
Filter By Interests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant