generated from hackforla/.github-hackforla-base-repo-template
-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
Support filtering by future days/times #62
Labels
idea
Suggestions, ideas that could be discussed and reviewed with the team
Milestone
Comments
Oops, opened a dupe again! https://github.com/foodoasisla/site/issues/113 |
Different options for filtering: |
First option (buttons all in one line)Open Times:
Open Days:
|
Second option (Wrapped buttons)Open Times:
Open Days:
|
Third option (slider for open times)Open Times:
Open Days:
|
@kimhjona got a first version of this working… It supports filtering by a time in the future. Way to go, Jon! |
jimthoburn
referenced
this issue
in foodoasisla/site
Feb 14, 2018
jimthoburn
referenced
this issue
in foodoasisla/site
Feb 14, 2018
jimthoburn
referenced
this issue
in foodoasisla/foodoasis.la
Feb 14, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We currently have an option to filter the search result by what’s “open now”.
https://foodoasis.la/filters/?open=1
Let’s allow users to choose a day and time in the future, so they can plan a trip to a healthy food location.
A simple way to start might be to add two
<select>
elements–one with the days of the week (Monday–Sunday), and another with the hours of the day (midnight–11am and noon–11pm).Here’s a script for the “open now“ feature that we have now…
https://github.com/foodoasisla/site/blob/master/assets/js/helpers.js#L99-L135
Bonus Points: Highlight today’s date in the list of hours for each location, and show a special notice if a location is opening soon, closing soon, or has already closed.
The text was updated successfully, but these errors were encountered: