New Line Chart: WAU (Weekly Active Users) by Role
What type(s) of user does this feature affect?
- supervisors?
- admins?
Description
On the /health page, add a new line chart. -WAU: count unique users by role (Volunteer, Supervisor, Admin) who logged in a given week on that month
Create a json endpoint for the chart data. Make sure the json contains the minimum amount of data for the chart. Make sure the endpoint is accessible to users who are logged out.
If chart creation fails, display an error to the user explaining why. Print a detailed version of the error in the console.
No testing required but prove your solution works.
See:
https://github.com/rubyforgood/casa/blob/main/app/controllers/health_controller.rb https://github.com/rubyforgood/casa/blob/main/app/javascript/src/display_app_metric.js
We use chart.js for graphs
See: https://github.com/rubyforgood/casa/wiki/Working-with-Frontend-Assets
More details in issue #5530
How to access the QA site
Login Details:
Link to QA site
Login Emails:
- [email protected] view site as a volunteer
- [email protected] view site as a supervisor
- [email protected] view site as an admin
- [email protected] view site as an all casa admin
- go to
/all_casa_admins/sign_in
- go to
password for all users: 12345678
Questions? Join Slack!
We highly recommend that you join us in slack #casa channel to ask questions quickly. And discord for office hours (currently Tuesday 5-7pm Pacific), stakeholder news, and upcoming new issues.
@bcastillo32 I am unable to self assign issue to myself.. can you please do it?
This issue has been inactive for 243 hours (10.13 days) and will be unassigned after 117 more hours (4.88 days). If you have questions, please
If you are still working on this, comment here to tell the bot to give you more time
WIP
This issue has been inactive for 261 hours (10.88 days) and will be unassigned after 99 more hours (4.13 days). If you have questions, please
If you are still working on this, comment here to tell the bot to give you more time
WIP
This issue has been inactive for 242 hours (10.08 days) and will be unassigned after 118 more hours (4.92 days). If you have questions, please
If you are still working on this, comment here to tell the bot to give you more time
Raised PR for related issue #5652
Cool :)
Hey @bcastillo32 ,
Just a quick update that I have raised separate PR which implements functionality to track each login of user. Once that PR is merged in main code I will continue further to implement MAU and WAU functionality asap.
This issue has been inactive for 261 hours (10.88 days) and will be unassigned after 99 more hours (4.13 days). If you have questions, please
If you are still working on this, comment here to tell the bot to give you more time
WIP.. Fixed MAU chart by fetching details now from login_activity table and merged with separate PR. Working on WAU chart.
WIP.. Fixed MAU chart by fetching details now from login_activity table and merged with separate PR. Working on WAU chart.
Thank you @sarvaiyanidhi very much so looking forward to this one :)
Sure @bcastillo32 Will try to close this asap. Thanks
This issue has been inactive for 247 hours (10.29 days) and will be unassigned after 113 more hours (4.71 days). If you have questions, please
If you are still working on this, comment here to tell the bot to give you more time
Will be working on this issue in this week and try to close it.
This issue has been inactive for 248 hours (10.33 days) and will be unassigned after 112 more hours (4.67 days). If you have questions, please
If you are still working on this, comment here to tell the bot to give you more time
Work in progress
This issue has been inactive for 247 hours (10.29 days) and will be unassigned after 113 more hours (4.71 days). If you have questions, please
If you are still working on this, comment here to tell the bot to give you more time
Was busy but will try to close and push PR soon.
This issue has been inactive for 241 hours (10.04 days) and will be unassigned after 119 more hours (4.96 days). If you have questions, please
If you are still working on this, comment here to tell the bot to give you more time
Long time pending.. Will close in this week.
This issue has been inactive for 247 hours (10.29 days) and will be unassigned after 113 more hours (4.71 days). If you have questions, please
If you are still working on this, comment here to tell the bot to give you more time
Restarted working on this issue..
This issue has been inactive for 243 hours (10.13 days) and will be unassigned after 117 more hours (4.88 days). If you have questions, please
If you are still working on this, comment here to tell the bot to give you more time
This issue has been inactive for 363 hours (15.13 days) and is past the limit of 360 hours (15.00 days) so is being unassigned.You’ve just been unassigned from this ticket due to inactivity – but feel free to pick it back up (or a new one!) in the future! Thank you again for your contribution to this project.
Planning to start on this next week.
This issue has been inactive for 244 hours (10.17 days) and will be unassigned after 116 more hours (4.83 days). If you have questions, please
If you are still working on this, comment here to tell the bot to give you more time
Work is in progress
This issue has been inactive for 262 hours (10.92 days) and will be unassigned after 98 more hours (4.08 days). If you have questions, please
If you are still working on this, comment here to tell the bot to give you more time
This issue has been inactive for 382 hours (15.92 days) and is past the limit of 360 hours (15.00 days) so is being unassigned.You’ve just been unassigned from this ticket due to inactivity – but feel free to pick it back up (or a new one!) in the future! Thank you again for your contribution to this project.