Added a tab in the admin page for stats. This page currently simply has the count of contributors by channel.
It does not filter out for active contributors or anything else currently.
Whats not included in this PR and why
Currently, it seems pretty limited what we can easily achieve with administrate gem. Our css styles do not get loaded or applied and we cannot connect to our stimulus controllers without overriding administrate's js files, it seems. Have not tried. It might be nice to have a pie chart that displays this info.
Maybe, we could display info on our dashboard page? Is it only interesting for admin? If we wanted to scope it to admin only, we could easily add a flag to display it only to admin.
What changed in this PR and why
Added a tab in the admin page for stats. This page currently simply has the count of contributors by channel. It does not filter out for active contributors or anything else currently.
Whats not included in this PR and why
Currently, it seems pretty limited what we can easily achieve with administrate gem. Our css styles do not get loaded or applied and we cannot connect to our stimulus controllers without overriding administrate's js files, it seems. Have not tried. It might be nice to have a pie chart that displays this info.
Maybe, we could display info on our dashboard page? Is it only interesting for admin? If we wanted to scope it to admin only, we could easily add a flag to display it only to admin.
Closes #1861