cd to whatever directory this is saved in, then run npm install
followed by bower update
, and finally grunt build
Message me if you have issues.
- If there are 4 or more MUGs within 100 miles, show 4 MUGs
- If there are <4 MUGs within 100 miles, show alternative layout:
- If there are 0 MUGs within 100 miles, only show the start card like so
- If there are 0 MUGs within 100 miles AND there are 0 people with topic within 50 miles, don't show local content
- If there are <500 people with topic within 50 miles, say the actual number
- If there are >500 people with topic within 50 miles, say "500+"
- If there are 0 people with topic within 50 miles, hide the card
- When clicking to change the topic you're viewing, a list of "Suggested" topics appears. Use
/2/topic_categories
and take the firstbest_topic
from each category. If it affects what gets returned, pass in user's lat/lon (or zip) with a radius of 50mi
- When a user begins typing, clear out "Suggestions" content
- When a user has typed 2 characters, begin returning results
- Wait 250ms before showing loading state
- If no results are returned, show [empty state] (http://mperrotti.com/temp_storage/TopicSearch_empty.png)
- Clicking anywhere except the linked city name takes the user to the MUG
- Clicking the linked city name takes the user to the /find page, scoped to that city
- passing
?topic={topic-shortname}
will show data about another topic - passing
?lat={latCoord}&lon={lonCoord}
should change the map and content the "Nearby Meetups" stripe_?zip=_
support coming soon