diff --git a/pontoon/insights/chs.py b/pontoon/insights/chs.py index 0b19585abe..25129f4b02 100644 --- a/pontoon/insights/chs.py +++ b/pontoon/insights/chs.py @@ -18,6 +18,7 @@ ALL_CONTRIBUTOR_STRING_THRESHOLD, COMPLETION_POINTS, ENABLED_PROJECT_POINTS, + KEY_PROJECT_SLUGS, MANAGER_POINTS, MANAGER_STRING_THRESHOLD, NEW_SIGNUP_POINTS, @@ -27,17 +28,6 @@ ) -KEY_PROJECT_SLUGS = [ - "firefox-for-android", - "firefox-for-ios", - "mozilla-monitor-website", - "firefox-relay-website", - "firefox", - "mozilla-accounts", - "mozilla-vpn-client", -] - - def get_completion_by_locale(locales) -> dict[int, float]: """Locale-level completion %: (approved + warnings) / total * 100.""" diff --git a/pontoon/insights/static/css/insights.css b/pontoon/insights/static/css/insights.css index 3d4ed2acf4..62e48bab64 100644 --- a/pontoon/insights/static/css/insights.css +++ b/pontoon/insights/static/css/insights.css @@ -96,6 +96,22 @@ background: var(--black-3); } + .cell { + vertical-align: bottom; + height: 44px; + + a { + color: var(--status-translated-alt); + } + + div { + margin-bottom: 6px; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + } + } + &.show-score-view { .info-container.base-view { display: none; @@ -141,10 +157,6 @@ color: var(--status-error); } - &.equal { - color: var(--grey-1); - } - .fa-caret-up, .fa-caret-down { font-size: 1.4em; diff --git a/pontoon/insights/templates/insights/widgets/community_health_table.html b/pontoon/insights/templates/insights/widgets/community_health_table.html index c3c1ee5737..4dd26ea45e 100644 --- a/pontoon/insights/templates/insights/widgets/community_health_table.html +++ b/pontoon/insights/templates/insights/widgets/community_health_table.html @@ -20,7 +20,7 @@