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

Improve functionality of the Usage tab #79

Open
TheLisaVL opened this issue Jun 2, 2023 · 3 comments
Open

Improve functionality of the Usage tab #79

TheLisaVL opened this issue Jun 2, 2023 · 3 comments
Labels
enhancement New feature or request, improvement to existing feature

Comments

@TheLisaVL
Copy link
Collaborator

Please complete the following fields as applicable:

What version of the DMPRoadmap code are you running? (e.g. v2.2.0)
3.1.1

Actual behaviour:
The Usage tab allows admins to see and download statistics about new users/plans and the usage of templates. You can download a csv with the numbers from the last year.

Expected behaviour:
It's not possible to go back further than one year and the generated reports only go back 12 months. Because of this it's hard to get a view from one year (ex 2022) unless you generate multiple reports over time and manually add them together.

Perhaps we can add an option to set specific dates?

@TheLisaVL TheLisaVL added the enhancement New feature or request, improvement to existing feature label Jun 2, 2023
@TheLisaVL
Copy link
Collaborator Author

I also remember an older question about seeing some statistics on plan progress, grouped by template.

@nicolasfranck
Copy link
Collaborator

I may be able to increase the maximum by setting these values: https://github.com/DMPbelgium/roadmap/blob/master/app/helpers/usage_helper.rb#L63

@nicolasfranck
Copy link
Collaborator

@TheLisaVL which ones would you like besides the available ones:

  • last 12 months
  • last 6 months
  • last 3 months
  • last month

(Looking at the code of the controller, there seems to be a method that calculates these statistics
between a start_date and an end_date. The end_date is by default the current month, and the start date
is determined by the select box above. But making use of that that seems out of scope and unreliable for the near future)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request, improvement to existing feature
Projects
None yet
Development

No branches or pull requests

2 participants