cityofaustin / resource-list

MIT License
0 stars 1 forks source link

Filter by data attribute #4

Open easherma opened 4 years ago

easherma commented 4 years ago

As a site user I want to filter by given data attributes so that I can narrow down the list of resources to only show what is relevant for my needs.

Ideally we'd flesh out what fields to filter by, and the nature of that filter. There is a fine UX line between too little and too many ways of filtering. Would be good to link up with our user research on this one.

I'm anticipating that we might lean towards a more natural/sentence-based way of filtering.

i.e. I'm looking for all resources that are for women over 40 that provide sanitary items

women over 40 (or perhaps 'women' and 'over 40') would both be types of exclusionary criteria sanitary items would be a resource category? (i didn't actually look at our identified category list when I wrote this.

Detailed Description

Acceptance Criteria

as a BDD scenario:

Scenario: User narrows the resource list displayed using filters
Given The user has indicated they want to filter the list
  And filter attributes are valid
When  Filter attributes are selected
Then  The resource list displays only the items matching the given criteria
  And The search parameters in the URL are updated so the search can be bookmarked

Possible Implementation

Describe alternatives you've considered

Additional context