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

Create BusinessFilter Component #52

Closed
magnificode opened this issue Jun 7, 2020 · 2 comments
Closed

Create BusinessFilter Component #52

magnificode opened this issue Jun 7, 2020 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@magnificode
Copy link
Member

BusinessFilter

Since data structure has been finalized we can now work on getting the BusinessFilter functionality wired up. Here's the logic:

As a user, I should be able to optionally filter businesses by category. This field should incorporate the following:

Field type: dropdown select
Field label: Business
Field placeholder option: Select type
Dropdown options:

  • Entertainment
  • Food and beverage
  • Health and wellness
  • Professional services
  • Retail

As a user, I should be able to optionally filter businesses by City / State OR Zipcode. By leveraging this NPM package we should be able to take in "Atlanta, GA" for example, return an array of zip codes that are associated with that city state string, and return results that match any zip in that array

Field type: Text search (likely will need strict validation to ensure the "Atlanta, GA" format. Searching "Atlanta" or "ATL" will not yield any results in v0). This will accept both city state, or a zip code.

Field label: Location
Field placeholder text : Eg. "Atlanta, GA" or "30301"

As a user, I should be able to filter businesses by their level of need. This is a boolean value in the database. Businesses impacted by current events will be labelled as "In Need" in the database.

Field type: Checkbox (Should be pre-checked for v0)
Field Label: "In Immediate Need" (this is subject to change as designs are fully approved)

@magnificode magnificode added the enhancement New feature or request label Jun 7, 2020
@magnificode
Copy link
Member Author

@ryancharris will be tackling this

@mbifulco
Copy link
Member

mbifulco commented Jun 8, 2020

This was closed by #55

@mbifulco mbifulco closed this as completed Jun 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants