casa icon indicating copy to clipboard operation
casa copied to clipboard

New Line Chart: WAU (Weekly Active Users) by Role

Open sarvaiyanidhi opened this issue 1 year ago • 35 comments

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:

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.

sarvaiyanidhi avatar Mar 27 '24 17:03 sarvaiyanidhi

@bcastillo32 I am unable to self assign issue to myself.. can you please do it?

sarvaiyanidhi avatar Mar 27 '24 17:03 sarvaiyanidhi

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

github-actions[bot] avatar Apr 08 '24 00:04 github-actions[bot]

WIP

sarvaiyanidhi avatar Apr 09 '24 02:04 sarvaiyanidhi

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

github-actions[bot] avatar Apr 20 '24 00:04 github-actions[bot]

WIP

sarvaiyanidhi avatar Apr 22 '24 21:04 sarvaiyanidhi

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

github-actions[bot] avatar May 03 '24 00:05 github-actions[bot]

Raised PR for related issue #5652

sarvaiyanidhi avatar May 03 '24 03:05 sarvaiyanidhi

Cool :)

compwron avatar May 05 '24 20:05 compwron

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.

sarvaiyanidhi avatar May 10 '24 03:05 sarvaiyanidhi

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

github-actions[bot] avatar May 21 '24 00:05 github-actions[bot]

WIP.. Fixed MAU chart by fetching details now from login_activity table and merged with separate PR. Working on WAU chart.

sarvaiyanidhi avatar May 21 '24 02:05 sarvaiyanidhi

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 :)

bcastillo32 avatar May 26 '24 02:05 bcastillo32

Sure @bcastillo32 Will try to close this asap. Thanks

sarvaiyanidhi avatar May 28 '24 16:05 sarvaiyanidhi

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

github-actions[bot] avatar Jun 08 '24 00:06 github-actions[bot]

Will be working on this issue in this week and try to close it.

sarvaiyanidhi avatar Jun 10 '24 16:06 sarvaiyanidhi

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

github-actions[bot] avatar Jun 21 '24 00:06 github-actions[bot]

Work in progress

sarvaiyanidhi avatar Jun 21 '24 17:06 sarvaiyanidhi

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

github-actions[bot] avatar Jul 02 '24 00:07 github-actions[bot]

Was busy but will try to close and push PR soon.

sarvaiyanidhi avatar Jul 02 '24 23:07 sarvaiyanidhi

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

github-actions[bot] avatar Jul 13 '24 00:07 github-actions[bot]

Long time pending.. Will close in this week.

sarvaiyanidhi avatar Jul 15 '24 16:07 sarvaiyanidhi

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

github-actions[bot] avatar Jul 26 '24 00:07 github-actions[bot]

Restarted working on this issue..

sarvaiyanidhi avatar Jul 26 '24 21:07 sarvaiyanidhi

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

github-actions[bot] avatar Aug 06 '24 00:08 github-actions[bot]

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.

github-actions[bot] avatar Aug 11 '24 00:08 github-actions[bot]

Planning to start on this next week.

sarvaiyanidhi avatar Sep 20 '24 20:09 sarvaiyanidhi

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

github-actions[bot] avatar Oct 01 '24 00:10 github-actions[bot]

Work is in progress

sarvaiyanidhi avatar Oct 01 '24 02:10 sarvaiyanidhi

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

github-actions[bot] avatar Oct 12 '24 00:10 github-actions[bot]

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.

github-actions[bot] avatar Oct 17 '24 00:10 github-actions[bot]