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 UI for direct changes to the date range #241

Open
Zodiac1978 opened this issue Mar 6, 2023 · 1 comment
Open

Add UI for direct changes to the date range #241

Zodiac1978 opened this issue Mar 6, 2023 · 1 comment

Comments

@Zodiac1978
Copy link
Member

It would be really helpful to set a date range in the dashboard widget. For example a dropdown to set typical date range settings (last week, this week, last month, this month, last 90 days, last year, this year, etc.)

@stklcode
Copy link
Contributor

stklcode commented Mar 6, 2023

Do you have the “front“ side of the widget in mind with a non-persistent selection of the range? Just quickly override the preset and refresh via AJAX?

The persistent range setting is just one click away on the “back“ (settings) side.

Point for discussion might be: is there a scenario where a site administrator would want to restrict this setting and only allow a pre-configured range for a broader audience or can we safely assume there is just all or nothing for non-administrators?

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

No branches or pull requests

2 participants