-
Notifications
You must be signed in to change notification settings - Fork 598
Community Health Score Dashboard #4189
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
Open
functionzz
wants to merge
31
commits into
mozilla:main
Choose a base branch
from
functionzz:chs_dashboard
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
7592cd6
add chs cron job (not fully functional)
functionzz 474b32d
Update pontoon/insights/chs.py
functionzz 39ed6cc
Update pontoon/insights/chs.py
functionzz db3fd41
Update pontoon/insights/chs.py
functionzz a7f24ff
add env variables over hardcoded constants
functionzz 257014a
change LocaleChsSnapshot to LocaleHealthSnapshot, completion formula …
functionzz a064a00
dashboard frontend base
functionzz 7df3b42
add configuration form + button + model changes, add staff authentica…
functionzz 9da467a
add score/default view, change fields to Decimal, reform css, improv…
functionzz 8dd04bd
missing dashboard.html addition
functionzz 93d6417
add no locale check, order locales by code
functionzz 56f737f
full feature parity with scripts
functionzz 56a5929
add community health activity charts to Locale and Global insights
functionzz 1ec9668
small snapshot logic, docs + DX changes
functionzz db983ac
fix global insights tests
functionzz 7014e00
fix typo
functionzz 8ba21ff
Delete config.js
functionzz 3370eb7
fix small nits, add locales param to build_chs_snapshots
functionzz 9869c0a
add snapshot + supporting function tests
functionzz c4b12d7
rename columns, rename graphs, remove CHS Y-axis
functionzz 49b1681
move /dashboard contents into /insights + renaming work
functionzz c4ce014
renaming dashboards
functionzz 836bd41
doc changes
functionzz e2f4802
Create 0118_merge_20260624_0350.py
functionzz e0eade8
run make format
functionzz 3be5b90
revert temp stopgap
functionzz 6b12b9a
streamline LocaleHealthSnapshot migrations
functionzz 898c2e7
run make format
functionzz 845b226
merge migration
functionzz bf7a7a3
run make format
functionzz 7f6dc85
rename collect_chs_snapshot file, center Locale, show All in graphs
functionzz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
pontoon/base/migrations/0117_userprofile_dashboard_locales.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| # Generated by Django 5.2.14 on 2026-06-11 19:42 | ||
|
|
||
| import django.contrib.postgres.fields | ||
|
|
||
| from django.db import migrations, models | ||
|
|
||
|
|
||
| class Migration(migrations.Migration): | ||
| dependencies = [ | ||
| ("base", "0116_remove_systran_locale_fields"), | ||
| ] | ||
|
|
||
| operations = [ | ||
| migrations.AddField( | ||
| model_name="userprofile", | ||
| name="dashboard_locales", | ||
| field=django.contrib.postgres.fields.ArrayField( | ||
| base_field=models.PositiveIntegerField(), | ||
| blank=True, | ||
| default=list, | ||
| size=None, | ||
| ), | ||
| ), | ||
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| # Generated by Django 5.2.14 on 2026-06-24 03:50 | ||
|
|
||
| from django.db import migrations | ||
|
|
||
|
|
||
| class Migration(migrations.Migration): | ||
| dependencies = [ | ||
| ("base", "0117_userprofile_dashboard_locales"), | ||
| ("base", "0117_userprofile_editor_theme"), | ||
| ] | ||
|
|
||
| operations = [] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| # Generated by Django 5.2.14 on 2026-06-24 18:35 | ||
|
|
||
| from django.db import migrations | ||
|
|
||
|
|
||
| class Migration(migrations.Migration): | ||
| dependencies = [ | ||
| ("base", "0118_fix_terminology_entity_value"), | ||
| ("base", "0118_merge_20260624_0350"), | ||
| ] | ||
|
|
||
| operations = [] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I assume only this migration should be part of your patch, the number and dependency updated, and the others removed?