-
Notifications
You must be signed in to change notification settings - Fork 603
Spec: Introduce Community Health Score panel #4367
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
Changes from 1 commit
ed1e417
aed15b5
d7b4611
3415ffc
c2e4648
3bc62b6
40c7f17
c47bfc8
f03d991
48b75e5
9298f1f
8ccb308
f7e7622
70e7d27
aa8754c
d53c2c5
a7439fb
3223c60
bc6e7e8
0606367
a8abf6e
d72d4e5
5ccdbfc
14e869c
1178461
0c56a18
8cba2de
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,55 @@ | ||
| - Feature Name: Insights Dashboard | ||
| - Created: 2026-08-04 | ||
| - Associated PR: [#4189](https://github.com/mozilla/pontoon/pull/4189) | ||
|
|
||
| # Summary | ||
|
|
||
| Introduce an admin-only dashboard within `/insights` where PMs can observe the monthly changes to the Community Health Score through a deconstruction of its algorithm, and implement additional statistics tracking within global and locale Insights pages for PM ingestion. | ||
|
functionzz marked this conversation as resolved.
Outdated
|
||
|
|
||
| # Motivation | ||
|
|
||
| Currently, the CHS is calculated via a series of moz-l10n scripts and Google Sheets formulas, collected manually on a monthly basis. Other than the tedious nature of needing to do this monthly, PMs need better options to analyze CHS data holistically. | ||
|
functionzz marked this conversation as resolved.
Outdated
|
||
|
|
||
| # Feature explanation | ||
|
|
||
| ## Community health score activity | ||
|
functionzz marked this conversation as resolved.
Outdated
|
||
|
|
||
| This feature located at `/insights` consists of a table of locales similar to the `/teams` page, and a multi-line graph. | ||
|
functionzz marked this conversation as resolved.
Outdated
|
||
|
|
||
| - Top menu title: `Community health activity` | ||
|
functionzz marked this conversation as resolved.
Outdated
|
||
| - Dashboard: | ||
|
functionzz marked this conversation as resolved.
Outdated
|
||
| - Widget: contains locale search and buttons titled `Configuration` and `Show Scores` | ||
|
functionzz marked this conversation as resolved.
Outdated
|
||
| - `Configuration`: links to a separate page that enables admins to change locale availability on the dashboard and CHS activity graph | ||
|
functionzz marked this conversation as resolved.
Outdated
|
||
| - `Show Scores`: toggles default and score view of components that make up the CHS | ||
|
functionzz marked this conversation as resolved.
Outdated
|
||
| - Layout: tabular | ||
|
functionzz marked this conversation as resolved.
Outdated
|
||
| - Each row contains the following information: | ||
| - Locale code linking to individual locale pages | ||
| - \# of managers with > 500 submissions trailing 12 months / 1 | ||
|
functionzz marked this conversation as resolved.
Outdated
|
||
| - \# of translators with > 400 submissions trailing 12 months / 2 | ||
| - \# of contributors with > 200 submissions trailing 12 months / 2 | ||
| - \# of contributors (all) this month / 2 | ||
| - \# of new signups with > 100 submissions / 2 | ||
| - \# of enabled projects / total # of key projects * 100% | ||
|
functionzz marked this conversation as resolved.
Outdated
functionzz marked this conversation as resolved.
Outdated
|
||
| - Overall completion percentage of locale | ||
| - CHS, written as a float | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. How is CHS Calculated?
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Added a section to briefly explain how CHS is calculated, although this should definitely be expounded upon via the external CHS docs which have yet to be created. |
||
| - Beside each statistic, an up/down arrow combined with a smaller number, indicating increase or decrease, presents the delta over the previous month's statistic. Data that has no change is not represented with a delta. | ||
| - Value formatting: | ||
| - For counts (contributor, translator, manager counts etc.), each value is an integer without exception. | ||
| - For the scores and percentages, each value is fixed at 2 places (e.g. `20.00`) without exception. | ||
|
functionzz marked this conversation as resolved.
Outdated
|
||
| - Graph: | ||
| - Tooltip: describes basic functionality, which is to track CHS per locale | ||
| - Legend: contains locales and `Average (all locales)`, which can be selected/deselected to display corresponding CHS datapoints over time. | ||
| - Display: displays CHS scores for selected locales trailing 12 months. As soon as the CHS calculation automation on Pontoon runs on the first of each month, the previous month's scores will be automatically available for display. | ||
|
functionzz marked this conversation as resolved.
Outdated
|
||
|
|
||
| ## Insights Configuration | ||
|
|
||
| The dashboard page has a button named `Edit Locales`. Upon clicking it, admins are redirected to a locale selector that enables them to add/remove locales from their dashboard view. | ||
|
|
||
| ## Locale Insights changes | ||
|
|
||
| The `/<locale-code>/insights/` page currently includes statistics and useful information regarding locale health and performance. The main change includes a new graph as follows: | ||
|
functionzz marked this conversation as resolved.
Outdated
|
||
|
|
||
| - Graph: | ||
| - Name: `Community health score` | ||
| - Tooltip: describes basic functionality, which is to track CHS of current locale | ||
| - Display: displays CHS scores for current locale trailing 12 months. As soon as the CHS calculation automation on Pontoon runs on the first of each month, the previous month's scores will be automatically available for display. | ||
Uh oh!
There was an error while loading. Please reload this page.