Skip to content

Community Health Score Dashboard#4189

Open
functionzz wants to merge 31 commits into
mozilla:mainfrom
functionzz:chs_dashboard
Open

Community Health Score Dashboard#4189
functionzz wants to merge 31 commits into
mozilla:mainfrom
functionzz:chs_dashboard

Conversation

@functionzz

@functionzz functionzz commented Jun 3, 2026

Copy link
Copy Markdown
Collaborator

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 LocaleChsSnapshot is 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 scripts
  • Implement dashboard (confirm visuals with team)
  • Consider edge cases of various forms
  • Implement Locale,Global Insights graphs
  • Implement Locale,Global Insights changes

Comment thread pontoon/insights/chs.py Outdated
Comment thread pontoon/insights/chs.py Outdated
Comment thread pontoon/insights/chs.py Outdated
Comment thread pontoon/insights/chs.py Outdated
@functionzz functionzz changed the title Community Health Dashboard Community Health Score Dashboard Jun 4, 2026
@codecov-commenter

codecov-commenter commented Jun 11, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 83.33333% with 62 lines in your changes missing coverage. Please review.
✅ Project coverage is 81.05%. Comparing base (6727ff3) to head (7f6dc85).

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@functionzz functionzz marked this pull request as ready for review June 24, 2026 03:56
@functionzz functionzz requested a review from mathjazz June 24, 2026 03:57

@mathjazz mathjazz left a comment

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.

Nice work!

Just a few high-level observations.

  • The "Locale" header in the table needs to be center-aligned like other headers.
  • On the Pretranslation charts, I would select the global line (All) and put All to the top of the legend.

Comment thread pontoon/insights/management/commands/collect_chs_snapshots.py
width: 240px;
}
.dashboard-container {
min-height: 600px;

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.

Why do we need that? If you select a small number of locales, there's a lot of blank space under the sheet.

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.

Yep, that's what causes that blank space. If you remove it the leftover is 40px of space between the table and the chart.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants