Rfishernc / gardenshare

0 stars 0 forks source link

user search page #8

Open Rfishernc opened 5 years ago

Rfishernc commented 5 years ago

User Story When the user goes to the users search page, they should see a list of users and their surplus plants within their zipcode as well as a search bar. The user should also see a dropdown menu allowing them to expand the search radius. When the user clicks on an individual listing, they should see more detailed information on the user and an option to request a trade.

Acceptance Criteria A list of users within the user zipcode display by default on the search page. Selecting a larger search radius will update the list with users from the newly selected search area. (based on zipcode).
Clicking on a user listing displays a more detailed listing and an option to request a trade.

Tech Details Route to search component. Get request to firebase for user objects. Filter returned users by selected filters.
Use zipcode api call for radius filtering. Requested trade makes post request to firebase for trade request object.
Clicking on an individual listing brings up detailed view as a modal.

Rfishernc commented 5 years ago

garsearchpage