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

Filter trips by year #8

Open
jahlela opened this issue Oct 21, 2019 · 4 comments
Open

Filter trips by year #8

jahlela opened this issue Oct 21, 2019 · 4 comments
Assignees
Labels
hacktoberfest Tasks for Hacktoberfest contributors

Comments

@jahlela
Copy link
Contributor

jahlela commented Oct 21, 2019

Description

  • Currently, all trips are shown in the trip list.
  • Add a button that allows the user to filter by "Year", instead of just "Week" and "Month"
  • Filtering should be the last 365 days

Specs

  • This shows the eventual result for filtering by week, month, and year. However, this task is only adding filtering by the last YEAR
  • Mockup:

Screen Shot 2019-10-21 at 11 48 20 AM

Screen Shot 2019-10-21 at 11 53 35 AM

@jahlela jahlela added the hacktoberfest Tasks for Hacktoberfest contributors label Oct 21, 2019
@machen2
Copy link

machen2 commented Oct 21, 2019

I'd like to give this a try!

@machen2
Copy link

machen2 commented Oct 22, 2019

How would I seed data into my mongodb? I can run the app locally and tried to stand up a mongo database, but I have an empty Leaderboard.. Thanks!

@jahlela
Copy link
Contributor Author

jahlela commented Oct 22, 2019

@machen2 You can create trips to seed the data or there is an extra README step for how to load some test data here: https://github.com/Ledgy/TrainTrack/wiki/Mongo-db-dev-setup

(Sorry for the time delay - we're in Zurich 🤓)

@machen2
Copy link

machen2 commented Oct 23, 2019

Thanks, this helped!

@machen2 You can create trips to seed the data or there is an extra README step for how to load some test data here: https://github.com/Ledgy/TrainTrack/wiki/Mongo-db-dev-setup

(Sorry for the time delay - we're in Zurich 🤓)

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

No branches or pull requests

2 participants