-
Notifications
You must be signed in to change notification settings - Fork 109
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
Generate usage stats #154
Comments
Details on the API can be seen at: https://github.com/DMPRoadmap/roadmap/wiki/API-Documentation You can:
For reference the stats we pull for Edinburgh each month cover:
** these last two are in a table with funders along one side and months across the other and running total for DMPs per funder and DMPs per month at ends It would be good to set these stats into wider context as the DMPTool dashboard above does |
@stephaniesimms and @sjDCC is allowing a custom date range instead of predefined combobox options (e.g. last 7 days, annual, etc.) ok? After discussing in the dev meeting today we have determined that it would be easier to just let the user select their own range. |
that sounds great to me. admins have asked for this and will appreciate being able to tailor the reports using a specific date range. if it's possible to default to something like "last 30 days" that would be good and then allow them to customize from there. |
Yes, agree. Much better to be able to let them generate reports to desired date range if that's not too much of a load on us. |
See screenshot below for the first mockup working. As I described yesterday:
Note that organisation select is only available for super admins and by default your organisation gets selected from the list. Any feedback will be appreciated to perform any enhancement. |
yay for data visualizations! my initial thought is that we need to add some text or tooltip with basic instructions, but that's easy enough. other suggestions:
|
Usage Dashboard requires an API Token. Should we put in text noting this? |
completed_plans action started. DMPRoadmap#154 usage#index action and server view completed. Started dynamic UI through JS. added moment js library and ajaxified joined_users stats. charts.js integration for users joined. DMPRoadmap#154
We have an error message that displays if the admin does not have an API token. It currently reads "You don't have access to use the API. An api token is needed to generate usage statistics.". Since we don't have a super admin function yet that will create these I think we should just add an additional line to that message like: 'Contact the %{helpdesk_email} to request an API token for your organisation.'. |
after some more tinkering I definitely think it would be better to have the filters at the top of the page since that's where most of the actions are happening. the graph looks great and i think it's fine to keep as a static feature or only change with the topic variable selection, but i keep expecting something to happen with the graph when I click Go and don't notice the numbers updating below it when testing on my laptop. I can only display Users data at the moment. the date range selection is awesome!
|
Integrate pre-fetching plan and phase from 25e2669 after_save callback for answer model with tests. DMPRoadmap#154 rake task to update completed plans. DMPRoadmap#154 statistics#completed_plans action done. DMPRoadmap#154 HTML view for completed plans and tweaks to JS file associated. DMPRoadmap#154
looking good @jollopre - a few changes:
|
thanks for the comments @stephaniesimms. The amendments are part of #1167. |
In response to your comment @stephaniesimms "in addition to global usage we might only want to provide downloadable usage data for a user's affiliated Org - not sure if you have a preference/requirement regarding this @sjDCC ?" Org admins should just download their own data, but I guess for superadmins they could download data for all orgs if it's not too big a query or volume of data to represent. Otherwise reports according to org-affiliation should suffice for now. We can always add more functions post MVP. |
Renamed export to download. DMPRoadmap#1149
@jollopre I like the smaller side-by-side graphs and other changes look good - this is great for now. we just need to add some explanatory info about being able to view stats from any Org using the filters at the top, but the graphs and CSV download are only available for an admin's own Org. I'll suggest some text in a new issue. closing this one. |
Adapt the prototype DMPTool dashboard
Org admins want to know the following (per @sjDCC comments on Edinburgh reports):
Example of what this could look like in Roadmap - for discussion. Note that 'Date Range' field should be constrained to monthly, annual, and/or total reports. Under 'Institution' (change to Org) a user can select to display their own Org usage or "All Orgs."
Screenshot of DMPTool Usage dashboard
The text was updated successfully, but these errors were encountered: