Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
ed1e417
insights dashboard spec
functionzz Aug 4, 2026
aed15b5
Update specs/0123-insights-dashboard.md
functionzz Aug 5, 2026
d7b4611
Update specs/0123-insights-dashboard.md
functionzz Aug 5, 2026
3415ffc
Update specs/0123-insights-dashboard.md
functionzz Aug 5, 2026
c2e4648
Update specs/0123-insights-dashboard.md
functionzz Aug 5, 2026
3bc62b6
Update specs/0123-insights-dashboard.md
functionzz Aug 5, 2026
40c7f17
Update specs/0123-insights-dashboard.md
functionzz Aug 5, 2026
c47bfc8
Update specs/0123-insights-dashboard.md
functionzz Aug 5, 2026
f03d991
Update specs/0123-insights-dashboard.md
functionzz Aug 5, 2026
48b75e5
Update specs/0123-insights-dashboard.md
functionzz Aug 5, 2026
9298f1f
Update specs/0123-insights-dashboard.md
functionzz Aug 5, 2026
8ccb308
edit docs to reflect requested changes
functionzz Aug 5, 2026
f7e7622
add chs context to docs
functionzz Aug 5, 2026
70e7d27
reference locale insights page
functionzz Aug 5, 2026
aa8754c
revamp docs changes
functionzz Aug 6, 2026
d53c2c5
Update specs/0123-insights-dashboard.md
functionzz Aug 6, 2026
a7439fb
Update specs/0123-insights-dashboard.md
functionzz Aug 6, 2026
3223c60
Update specs/0123-insights-dashboard.md
functionzz Aug 6, 2026
bc6e7e8
Update specs/0123-insights-dashboard.md
functionzz Aug 7, 2026
0606367
reword CHS variable explanation
functionzz Aug 7, 2026
a8abf6e
remove useless score mentions
functionzz Aug 7, 2026
d72d4e5
Update specs/0123-insights-dashboard.md
functionzz Aug 7, 2026
5ccdbfc
Update specs/0123-insights-dashboard.md
functionzz Aug 7, 2026
14e869c
Update specs/0123-insights-dashboard.md
functionzz Aug 7, 2026
1178461
expand on thresholds
functionzz Aug 10, 2026
0c56a18
Update specs/0123-insights-dashboard.md
functionzz Aug 10, 2026
8cba2de
add more information for CHS formula
functionzz Aug 10, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 55 additions & 0 deletions specs/0123-insights-dashboard.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
- Feature Name: Insights Dashboard
Comment thread
functionzz marked this conversation as resolved.
Outdated
- 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.
Comment thread
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.
Comment thread
functionzz marked this conversation as resolved.
Outdated

# Feature explanation

## Community health score activity
Comment thread
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.
Comment thread
functionzz marked this conversation as resolved.
Outdated

- Top menu title: `Community health activity`
Comment thread
functionzz marked this conversation as resolved.
Outdated
- Dashboard:
Comment thread
functionzz marked this conversation as resolved.
Outdated
- Widget: contains locale search and buttons titled `Configuration` and `Show Scores`
Comment thread
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
Comment thread
functionzz marked this conversation as resolved.
Outdated
- `Show Scores`: toggles default and score view of components that make up the CHS
Comment thread
functionzz marked this conversation as resolved.
Outdated
- Layout: tabular
Comment thread
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
Comment thread
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%
Comment thread
functionzz marked this conversation as resolved.
Outdated
Comment thread
functionzz marked this conversation as resolved.
Outdated
- Overall completion percentage of locale
- CHS, written as a float

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How is CHS Calculated?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The 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.
Comment thread
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.
Comment thread
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:
Comment thread
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.
Loading