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

Add Custom Time Range #40

Open
shafy opened this issue Feb 16, 2022 · 0 comments
Open

Add Custom Time Range #40

shafy opened this issue Feb 16, 2022 · 0 comments
Labels
feature New feature

Comments

@shafy
Copy link
Owner

shafy commented Feb 16, 2022

Currently, users can only select from different predefined time ranges. I think it would be useful to allow users to set custom time ranges additionally.

I'm not sure yet how to best implement this UI-wise. One idea could be to show it as an additional option in the date range dropdown, and when the user clicks on it they will see two date fields to set a range (e.g., below the predefined date ranges or in a new pop up). Another idea could be that the custom date range inputs are shown by default.

For the first iteration I wouldn't go with a custom JavaScript date picker, but use the default HTML <input type="date">. I think that it looks good enough and going forward will also be improved.

@shafy shafy added the feature New feature label Feb 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature
Projects
None yet
Development

No branches or pull requests

1 participant