Raghwendra-Dey / productivity_meter

Productivity meter for measuring productivity of solving problems
https://raghwendra-dey.github.io/productivity_meter/
MIT License
13 stars 23 forks source link

Saving the data from the main page and loading from it to continue from there. #77

Closed rsriramc closed 3 years ago

rsriramc commented 3 years ago

Issues/PRs related

Related to issue #22

Comments regarding the updates made

Changes made - Screenshots

A button to save things

image

A backdrop with a modal input to take a name for the saved timer data

(if empty is sent as ok, automatically the time and date of saving is given as name) image

After clicking Yes save it automatically redirects to that saved info

image (As a side note the theme of this page is synchronised with index page) (Also the first save time and last save time are saved)

After clicking Load into timer button

image

If clicked red button, redirects to a fresh page with all rest data, else the timer data are fed

image

If a loaded timer is clicked to save the name is automatically fed into the input

(The last time of saving the changes will be saved in the data history.html) image image

Raghwendra-Dey commented 3 years ago

I think you need to somewhere make make /history.html to ./history.html, since if you are not in the root of file structure, only /history.html won't work. Or maybe some other issues. Look at this, when I pressed the reset button on the navbar this happens: Screenshot from 2020-12-27 13-51-47

And when I press the save and reset all button then this happens: Screenshot from 2020-12-27 13-55-01

rsriramc commented 3 years ago

I think you need to somewhere make make /history.html to ./history.html, since if you are not in the root of file structure, only /history.html won't work. Or maybe some other issues. Look at this, when I pressed the reset button on the navbar this happens......

And when I press the save and reset all button then this happens.......

Yeah now the bug is fixed with the recent commit. Thanks for mentioning it.

Raghwendra-Dey commented 3 years ago

Good work @ravisrc !!