Skip to content
This repository has been archived by the owner on Dec 22, 2023. It is now read-only.

Allow date ranges, presets and custom #43

Open
5 tasks done
mikenikles opened this issue Jul 19, 2020 · 1 comment
Open
5 tasks done

Allow date ranges, presets and custom #43

mikenikles opened this issue Jul 19, 2020 · 1 comment

Comments

@mikenikles
Copy link
Owner

mikenikles commented Jul 19, 2020

Start with a select with the following options

  • Today
  • Last 7 days
  • Last 30 days
  • This year (Jan - Today)
  • Custom

Develop the API so it requires from/to date parameters. Deal with presets (e.g. last 7 days) on the client and create the from/to dates before calling the API

@mikenikles
Copy link
Owner Author

A few enhancements to be completed.

Custom date range

  • Ensure both dates are provided
  • Disable future dates
  • Ensure "From" date is earlier than "To" date
  • Replace with a proper date picker instead of relying on the browser's implementation of the date input type.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant