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

Client-side UI for 'Search for Approved Foods' feature #28

Open
jesserosato opened this issue Jan 25, 2015 · 6 comments
Open

Client-side UI for 'Search for Approved Foods' feature #28

jesserosato opened this issue Jan 25, 2015 · 6 comments

Comments

@jesserosato
Copy link
Contributor

A search page is needed to allow users to search for WIC approved foods. The server-side is in place (working on a limited data set for now), and available via a GET request to /foods, which returns a JSON array of 'food' objects.

@donmccurdy
Copy link
Contributor

Hey I was just wondering what you all have in mind here. Like should this be a separate page with a searchbar and a list of results?

Example mockup:

mockup

@jesserosato
Copy link
Contributor Author

@donmccurdy spot on. When I was building the nav, I noticed some issues with usability/readability on mobile, so keep an eye out for that. Eventually, we'll want to include a 'shopping list' feature (maybe even tied in with recipe sites?), but what you have here should be a good base for that. Thanks again for your contribs, please let me know if you have anything that you're working on that could use hands.

@donmccurdy
Copy link
Contributor

There's some kind of scaling issue switching in/out of emulation mode in Chrome (seeing this until I refresh the page, then this) but on my iphone it looks great. I'll keep an eye out though! And sure thing – I came across the CfA issue tracker recently and thought I'd try to contribute some.

@donmccurdy
Copy link
Contributor

@jesserosato what version of Sass are you running, by the way? I might need to try to match that, I'm on 3.4.10 and for some reason it is outputting colors differently in the compiled style.css (replacing 'white' with '#fff' and so on).

@jesserosato
Copy link
Contributor Author

@donmccurdy we're using the grunt-contrib-sass node module, which compiles SASS files using your local SASS install. Not sure about why it would be switching color formats, but I'm not a SASS guru by any means

@jesserosato
Copy link
Contributor Author

@donmccurdy I think I misunderstood your question (probably time for me to hit the hay!), I'm running SASS 3.4.9 right now on my machine.

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

No branches or pull requests

2 participants