codefordenver / partner-finder

Using an open dataset with registered colorado business to build a tool that manages outreach to potential CFD partners.
3 stars 14 forks source link

Allow querying for leads on a single tag #217

Closed galbwe closed 2 years ago

galbwe commented 3 years ago

Add a Material UI Select component to the header next to the search bar. The user should be able to select a single tag from the dropdown. When a tag is selected, only display leads that are lableled with that tag. The user should be able to enter query for both a search term and a tag.

To get all available tags, you can call the GET /tags endpoint. To filter leads by tag, you can add a query parameter tag=<tag name> to the url for the GET /leads endpoint.

Ex:

GET /leads?page=1&perpage=100&tag=Veterans

GET /leads?page=1&perpage=100&tag=Veterans&search=wish