marinara icon indicating copy to clipboard operation
marinara copied to clipboard

add ability to view specific date range within Pomodoro history

Open finnigantime opened this issue 3 years ago • 0 comments

This allows the history tab Pomodoro data to be filtered to a specific date range. This allows the user to, for example, visualize their Pomodoro history for just 2019.

  • Partially addresses https://github.com/schmich/marinara/issues/75
  • I don't have much experience with Chrome extensions or Vue so not sure I did things correctly. I went off existing patterns I saw in the codebase. Feel free to call out anything weird.
  • The timestamp calculation on the beginning/end dates may be slightly off - I wasn't rigorous about zeroing out hh:mm:ss to the start of the day or dealing with timezones. But other than that it should work and most of the time you'd care to view data over a longer multi-day range, and you can always choose a day earlier or later than the range to safely include all data.
  • I only added locale strings for English. Is that okay?

before:

Screen Shot 2020-08-01 at 8 54 02 PM

after:

Screen Shot 2020-08-01 at 8 45 33 PM Screen Shot 2020-08-01 at 8 45 48 PM Screen Shot 2020-08-01 at 8 46 36 PM

finnigantime avatar Aug 02 '20 04:08 finnigantime