Community Health Score Dashboard#4189
Conversation
0efa854 to
5aaf75c
Compare
Codecov Report❌ Patch coverage is 🚀 New features to boost your workflow:
|
62d77d5 to
01de982
Compare
Co-authored-by: Francesco Lodolo <flod@lodolo.net>
Co-authored-by: Francesco Lodolo <flod@lodolo.net>
Co-authored-by: Francesco Lodolo <flod@lodolo.net>
…tweak, rename active_contributors+active_contributors_200_approved, migrations
… existing table sorting
mathjazz
left a comment
There was a problem hiding this comment.
Nice work. Left a couple more nits.
Two more questions:
- Are we adding tooltips to the table header? At least for "Contr. 1" and "Contr. 2" we probably should.
- Should we add "All" / "Overall" to the "Team community health score" chart and only enable that option by default, same as on the pretranslation charts?
| class="button" | ||
| id="edit-config" | ||
| href="{{ url('pontoon.insights.config') }}" | ||
| >Edit Configuration |
|
… average CHS, add tests
mathjazz
left a comment
There was a problem hiding this comment.
Nice work!
I feel like a title for the spreadsheet is missing. Something along the lines of "(Team) Community health activity"?
Thanks for the update! Note that this one is still missing. |
mathjazz
left a comment
There was a problem hiding this comment.
I looked at most of the code and left comments inside. Please let me know if you have any questions.
One additional change we should do is create a more user friendly view when no locales are selected (just show the title of the table, "Please select communities to track" text and the EDIT CONFIGURATION button). You can also file a followup issue for this.
We should also (but this should be a followup for sure) drop the standalon configuration page and instead show locale configuration in the panel, with a UX pattern similar to Request more projects / new languages.
Co-authored-by: Matjaž Horvat <matjaz.horvat@gmail.com>
Co-authored-by: Matjaž Horvat <matjaz.horvat@gmail.com>
Co-authored-by: Matjaž Horvat <matjaz.horvat@gmail.com>
Co-authored-by: Matjaž Horvat <matjaz.horvat@gmail.com>
Co-authored-by: Matjaž Horvat <matjaz.horvat@gmail.com>
Co-authored-by: Matjaž Horvat <matjaz.horvat@gmail.com>
mathjazz
left a comment
There was a problem hiding this comment.
Great work - let's land this!
Please file the followup issues mentioned above:
#4189 (review)

Community Health for Pontoon is currently manually managed via a series of scripts and Google Sheets by TPMs. This dashboard is meant to offload manual script running and give clearer pictures on community health.
The backend consists of a cron job that creates a snapshot of the current CHS state, with several variables tracked. This automation is run monthly, on the first of each month.
The snapshot, called
LocaleChsSnapshotis then displayed thru various formats, namely the CHS Dashboard, Insights (per locale) and Global Insights (all locales).TODO
Implement cron job with full data parity to existing scriptsImplement dashboard (confirm visuals with team)Consider edge cases of various formsImplement Locale,Global Insights graphsImplement Locale,Global Insights changes