sarthakm21 / WorkTrack

A nodejs, express and mongodb based productivity tracker application.
https://work-track.herokuapp.com/
6 stars 19 forks source link

Add a option on the home screen for the user to select the duration for which they want to see their works #3

Closed sarthakm21 closed 4 years ago

sarthakm21 commented 4 years ago

The user can select the time(in days) for which they wan't their works to be displayed. A dropdown menu would do the job!

shahidsiddiqui786 commented 4 years ago

I want to work on this! @sarthakm21 what exactly here we need to do? is it like that below? Screenshot_2020-10-12 Tryit Editor v3 6 Screenshot_2020-10-12 Tryit Editor v3 6(1)

sarthakm21 commented 4 years ago

No not a search option, but a filter like system where the user can select the start date and end date from some menu and then we only display the works that were created between the selected time period

shahidsiddiqui786 commented 4 years ago

okay ,I got it assign me!

sarthakm21 commented 4 years ago

Assigned 👍

sarthakm21 commented 4 years ago

Hey, make sure that you link this issue to the PR that you'll make. Add Fixes #issue_number in the comments to link it to that issue

sarthakm21 commented 4 years ago

Hey @shahidsiddiqui786, any updates?

shahidsiddiqui786 commented 4 years ago

I 'm working on issue, but just confused how to get input data value in home.ejs file enter by user to re render the page @sarthakm21 any guess! how to do it? should I use form to post data and then re render the page from show.js file?

sarthakm21 commented 4 years ago

I think you'll need to create a new Post route to handle the form submissions.