From d987b64b054a7527e6681e97c531182710791c92 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Thu, 22 Apr 2021 21:00:28 -0500 Subject: [PATCH] Display user retention % in dashboard --- app/soapbox/features/admin/index.js | 36 ++++++++++++++++-------- app/soapbox/locales/ar.json | 2 +- app/soapbox/locales/ast.json | 2 +- app/soapbox/locales/bg.json | 2 +- app/soapbox/locales/bn.json | 2 +- app/soapbox/locales/br.json | 2 +- app/soapbox/locales/ca.json | 2 +- app/soapbox/locales/co.json | 2 +- app/soapbox/locales/cs.json | 2 +- app/soapbox/locales/cy.json | 2 +- app/soapbox/locales/da.json | 2 +- app/soapbox/locales/defaultMessages.json | 4 +-- app/soapbox/locales/el.json | 2 +- app/soapbox/locales/en.json | 2 +- app/soapbox/locales/eo.json | 2 +- app/soapbox/locales/es-AR.json | 2 +- app/soapbox/locales/es.json | 2 +- app/soapbox/locales/et.json | 2 +- app/soapbox/locales/eu.json | 2 +- app/soapbox/locales/fa.json | 2 +- app/soapbox/locales/fi.json | 2 +- app/soapbox/locales/fr.json | 2 +- app/soapbox/locales/ga.json | 2 +- app/soapbox/locales/gl.json | 2 +- app/soapbox/locales/he.json | 2 +- app/soapbox/locales/hi.json | 2 +- app/soapbox/locales/hr.json | 2 +- app/soapbox/locales/hu.json | 2 +- app/soapbox/locales/hy.json | 2 +- app/soapbox/locales/id.json | 2 +- app/soapbox/locales/io.json | 2 +- app/soapbox/locales/it.json | 2 +- app/soapbox/locales/ja.json | 2 +- app/soapbox/locales/ka.json | 2 +- app/soapbox/locales/kk.json | 2 +- app/soapbox/locales/ko.json | 2 +- app/soapbox/locales/lt.json | 2 +- app/soapbox/locales/lv.json | 2 +- app/soapbox/locales/mk.json | 2 +- app/soapbox/locales/ms.json | 2 +- app/soapbox/locales/nl.json | 2 +- app/soapbox/locales/nn.json | 2 +- app/soapbox/locales/no.json | 2 +- app/soapbox/locales/oc.json | 2 +- app/soapbox/locales/pt-BR.json | 2 +- app/soapbox/locales/ro.json | 2 +- app/soapbox/locales/sk.json | 2 +- app/soapbox/locales/sl.json | 2 +- app/soapbox/locales/sq.json | 2 +- app/soapbox/locales/sr-Latn.json | 2 +- app/soapbox/locales/sr.json | 2 +- app/soapbox/locales/sv.json | 2 +- app/soapbox/locales/ta.json | 2 +- app/soapbox/locales/te.json | 2 +- app/soapbox/locales/th.json | 2 +- app/soapbox/locales/tr.json | 2 +- app/soapbox/locales/uk.json | 2 +- app/soapbox/locales/zh-CN.json | 2 +- app/soapbox/locales/zh-HK.json | 2 +- app/soapbox/locales/zh-TW.json | 2 +- app/styles/components/admin.scss | 2 ++ 61 files changed, 86 insertions(+), 72 deletions(-) diff --git a/app/soapbox/features/admin/index.js b/app/soapbox/features/admin/index.js index e0e49e1ad..a0c4dbaa1 100644 --- a/app/soapbox/features/admin/index.js +++ b/app/soapbox/features/admin/index.js @@ -29,21 +29,43 @@ class Dashboard extends ImmutablePureComponent { render() { const { intl, instance } = this.props; const v = parseVersion(instance.get('version')); + const userCount = instance.getIn(['stats', 'user_count']); const mau = instance.getIn(['pleroma', 'stats', 'mau']); + const retention = (userCount && mau) ? Math.round(mau / userCount * 100) : null; return (
+ {mau &&
+
+
+ +
+
+ +
+
+
}
- +
- +
+ {retention &&
+
+
+ {retention}% +
+
+ +
+
+
}
@@ -64,16 +86,6 @@ class Dashboard extends ImmutablePureComponent {
- {mau &&
-
-
- -
-
- -
-
-
}
diff --git a/app/soapbox/locales/ar.json b/app/soapbox/locales/ar.json index c9c3116d0..fe622fe17 100644 --- a/app/soapbox/locales/ar.json +++ b/app/soapbox/locales/ar.json @@ -60,7 +60,7 @@ "admin.dashboard.settings_saved": "Settings saved!", "admin.dashcounters.domain_count_label": "peers", "admin.dashcounters.status_count_label": "posts", - "admin.dashcounters.user_count_label": "users", + "admin.dashcounters.user_count_label": "total users", "admin.dashwidgets.software_header": "Software", "admin.moderation_log.empty_message": "You have not performed any moderation actions yet. When you do, a history will be shown here.", "admin.reports.actions.close": "Close", diff --git a/app/soapbox/locales/ast.json b/app/soapbox/locales/ast.json index d26a12bfd..31361693f 100644 --- a/app/soapbox/locales/ast.json +++ b/app/soapbox/locales/ast.json @@ -60,7 +60,7 @@ "admin.dashboard.settings_saved": "Settings saved!", "admin.dashcounters.domain_count_label": "peers", "admin.dashcounters.status_count_label": "posts", - "admin.dashcounters.user_count_label": "users", + "admin.dashcounters.user_count_label": "total users", "admin.dashwidgets.software_header": "Software", "admin.moderation_log.empty_message": "You have not performed any moderation actions yet. When you do, a history will be shown here.", "admin.reports.actions.close": "Close", diff --git a/app/soapbox/locales/bg.json b/app/soapbox/locales/bg.json index 40ad6d49f..3c63f0ca2 100644 --- a/app/soapbox/locales/bg.json +++ b/app/soapbox/locales/bg.json @@ -60,7 +60,7 @@ "admin.dashboard.settings_saved": "Settings saved!", "admin.dashcounters.domain_count_label": "peers", "admin.dashcounters.status_count_label": "posts", - "admin.dashcounters.user_count_label": "users", + "admin.dashcounters.user_count_label": "total users", "admin.dashwidgets.software_header": "Software", "admin.moderation_log.empty_message": "You have not performed any moderation actions yet. When you do, a history will be shown here.", "admin.reports.actions.close": "Close", diff --git a/app/soapbox/locales/bn.json b/app/soapbox/locales/bn.json index 5af4d7305..2ef091b7e 100644 --- a/app/soapbox/locales/bn.json +++ b/app/soapbox/locales/bn.json @@ -60,7 +60,7 @@ "admin.dashboard.settings_saved": "Settings saved!", "admin.dashcounters.domain_count_label": "peers", "admin.dashcounters.status_count_label": "posts", - "admin.dashcounters.user_count_label": "users", + "admin.dashcounters.user_count_label": "total users", "admin.dashwidgets.software_header": "Software", "admin.moderation_log.empty_message": "You have not performed any moderation actions yet. When you do, a history will be shown here.", "admin.reports.actions.close": "Close", diff --git a/app/soapbox/locales/br.json b/app/soapbox/locales/br.json index f38873623..48aaeb960 100644 --- a/app/soapbox/locales/br.json +++ b/app/soapbox/locales/br.json @@ -60,7 +60,7 @@ "admin.dashboard.settings_saved": "Settings saved!", "admin.dashcounters.domain_count_label": "peers", "admin.dashcounters.status_count_label": "posts", - "admin.dashcounters.user_count_label": "users", + "admin.dashcounters.user_count_label": "total users", "admin.dashwidgets.software_header": "Software", "admin.moderation_log.empty_message": "You have not performed any moderation actions yet. When you do, a history will be shown here.", "admin.reports.actions.close": "Close", diff --git a/app/soapbox/locales/ca.json b/app/soapbox/locales/ca.json index 45a700ad5..95470042c 100644 --- a/app/soapbox/locales/ca.json +++ b/app/soapbox/locales/ca.json @@ -60,7 +60,7 @@ "admin.dashboard.settings_saved": "Settings saved!", "admin.dashcounters.domain_count_label": "peers", "admin.dashcounters.status_count_label": "posts", - "admin.dashcounters.user_count_label": "users", + "admin.dashcounters.user_count_label": "total users", "admin.dashwidgets.software_header": "Software", "admin.moderation_log.empty_message": "You have not performed any moderation actions yet. When you do, a history will be shown here.", "admin.reports.actions.close": "Close", diff --git a/app/soapbox/locales/co.json b/app/soapbox/locales/co.json index 1a88fd3ce..34f889fe9 100644 --- a/app/soapbox/locales/co.json +++ b/app/soapbox/locales/co.json @@ -60,7 +60,7 @@ "admin.dashboard.settings_saved": "Settings saved!", "admin.dashcounters.domain_count_label": "peers", "admin.dashcounters.status_count_label": "posts", - "admin.dashcounters.user_count_label": "users", + "admin.dashcounters.user_count_label": "total users", "admin.dashwidgets.software_header": "Software", "admin.moderation_log.empty_message": "You have not performed any moderation actions yet. When you do, a history will be shown here.", "admin.reports.actions.close": "Close", diff --git a/app/soapbox/locales/cs.json b/app/soapbox/locales/cs.json index 80f33c60c..e3e389a98 100644 --- a/app/soapbox/locales/cs.json +++ b/app/soapbox/locales/cs.json @@ -60,7 +60,7 @@ "admin.dashboard.settings_saved": "Settings saved!", "admin.dashcounters.domain_count_label": "peers", "admin.dashcounters.status_count_label": "posts", - "admin.dashcounters.user_count_label": "users", + "admin.dashcounters.user_count_label": "total users", "admin.dashwidgets.software_header": "Software", "admin.moderation_log.empty_message": "You have not performed any moderation actions yet. When you do, a history will be shown here.", "admin.reports.actions.close": "Close", diff --git a/app/soapbox/locales/cy.json b/app/soapbox/locales/cy.json index 91cc914ba..7788b1fbd 100644 --- a/app/soapbox/locales/cy.json +++ b/app/soapbox/locales/cy.json @@ -60,7 +60,7 @@ "admin.dashboard.settings_saved": "Settings saved!", "admin.dashcounters.domain_count_label": "peers", "admin.dashcounters.status_count_label": "posts", - "admin.dashcounters.user_count_label": "users", + "admin.dashcounters.user_count_label": "total users", "admin.dashwidgets.software_header": "Software", "admin.moderation_log.empty_message": "You have not performed any moderation actions yet. When you do, a history will be shown here.", "admin.reports.actions.close": "Close", diff --git a/app/soapbox/locales/da.json b/app/soapbox/locales/da.json index 2569bdee6..e981ac8b5 100644 --- a/app/soapbox/locales/da.json +++ b/app/soapbox/locales/da.json @@ -60,7 +60,7 @@ "admin.dashboard.settings_saved": "Settings saved!", "admin.dashcounters.domain_count_label": "peers", "admin.dashcounters.status_count_label": "posts", - "admin.dashcounters.user_count_label": "users", + "admin.dashcounters.user_count_label": "total users", "admin.dashwidgets.software_header": "Software", "admin.moderation_log.empty_message": "You have not performed any moderation actions yet. When you do, a history will be shown here.", "admin.reports.actions.close": "Close", diff --git a/app/soapbox/locales/defaultMessages.json b/app/soapbox/locales/defaultMessages.json index 3cc26a86e..a40f160d0 100644 --- a/app/soapbox/locales/defaultMessages.json +++ b/app/soapbox/locales/defaultMessages.json @@ -1118,7 +1118,7 @@ "id": "column.admin.dashboard" }, { - "defaultMessage": "users", + "defaultMessage": "total users", "id": "admin.dashcounters.user_count_label" }, { @@ -4161,4 +4161,4 @@ ], "path": "app/soapbox/features/video/index.json" } -] \ No newline at end of file +] diff --git a/app/soapbox/locales/el.json b/app/soapbox/locales/el.json index 34a2bd944..559516f95 100644 --- a/app/soapbox/locales/el.json +++ b/app/soapbox/locales/el.json @@ -60,7 +60,7 @@ "admin.dashboard.settings_saved": "Settings saved!", "admin.dashcounters.domain_count_label": "peers", "admin.dashcounters.status_count_label": "posts", - "admin.dashcounters.user_count_label": "users", + "admin.dashcounters.user_count_label": "total users", "admin.dashwidgets.software_header": "Software", "admin.moderation_log.empty_message": "You have not performed any moderation actions yet. When you do, a history will be shown here.", "admin.reports.actions.close": "Close", diff --git a/app/soapbox/locales/en.json b/app/soapbox/locales/en.json index 5cf00f8ed..797ec9da7 100644 --- a/app/soapbox/locales/en.json +++ b/app/soapbox/locales/en.json @@ -60,7 +60,7 @@ "admin.dashboard.settings_saved": "Settings saved!", "admin.dashcounters.domain_count_label": "peers", "admin.dashcounters.status_count_label": "posts", - "admin.dashcounters.user_count_label": "users", + "admin.dashcounters.user_count_label": "total users", "admin.dashwidgets.software_header": "Software", "admin.moderation_log.empty_message": "You have not performed any moderation actions yet. When you do, a history will be shown here.", "admin.reports.actions.close": "Close", diff --git a/app/soapbox/locales/eo.json b/app/soapbox/locales/eo.json index c0a032d0b..f622fed5a 100644 --- a/app/soapbox/locales/eo.json +++ b/app/soapbox/locales/eo.json @@ -60,7 +60,7 @@ "admin.dashboard.settings_saved": "Settings saved!", "admin.dashcounters.domain_count_label": "peers", "admin.dashcounters.status_count_label": "posts", - "admin.dashcounters.user_count_label": "users", + "admin.dashcounters.user_count_label": "total users", "admin.dashwidgets.software_header": "Software", "admin.moderation_log.empty_message": "You have not performed any moderation actions yet. When you do, a history will be shown here.", "admin.reports.actions.close": "Close", diff --git a/app/soapbox/locales/es-AR.json b/app/soapbox/locales/es-AR.json index aea7c823d..6c1e0dafe 100644 --- a/app/soapbox/locales/es-AR.json +++ b/app/soapbox/locales/es-AR.json @@ -60,7 +60,7 @@ "admin.dashboard.settings_saved": "Settings saved!", "admin.dashcounters.domain_count_label": "peers", "admin.dashcounters.status_count_label": "posts", - "admin.dashcounters.user_count_label": "users", + "admin.dashcounters.user_count_label": "total users", "admin.dashwidgets.software_header": "Software", "admin.moderation_log.empty_message": "You have not performed any moderation actions yet. When you do, a history will be shown here.", "admin.reports.actions.close": "Close", diff --git a/app/soapbox/locales/es.json b/app/soapbox/locales/es.json index 63aeb2be2..15b93c3cd 100644 --- a/app/soapbox/locales/es.json +++ b/app/soapbox/locales/es.json @@ -60,7 +60,7 @@ "admin.dashboard.settings_saved": "Settings saved!", "admin.dashcounters.domain_count_label": "peers", "admin.dashcounters.status_count_label": "posts", - "admin.dashcounters.user_count_label": "users", + "admin.dashcounters.user_count_label": "total users", "admin.dashwidgets.software_header": "Software", "admin.moderation_log.empty_message": "You have not performed any moderation actions yet. When you do, a history will be shown here.", "admin.reports.actions.close": "Close", diff --git a/app/soapbox/locales/et.json b/app/soapbox/locales/et.json index d674f464a..5e443e26b 100644 --- a/app/soapbox/locales/et.json +++ b/app/soapbox/locales/et.json @@ -60,7 +60,7 @@ "admin.dashboard.settings_saved": "Settings saved!", "admin.dashcounters.domain_count_label": "peers", "admin.dashcounters.status_count_label": "posts", - "admin.dashcounters.user_count_label": "users", + "admin.dashcounters.user_count_label": "total users", "admin.dashwidgets.software_header": "Software", "admin.moderation_log.empty_message": "You have not performed any moderation actions yet. When you do, a history will be shown here.", "admin.reports.actions.close": "Close", diff --git a/app/soapbox/locales/eu.json b/app/soapbox/locales/eu.json index 081622033..6eeea9f66 100644 --- a/app/soapbox/locales/eu.json +++ b/app/soapbox/locales/eu.json @@ -60,7 +60,7 @@ "admin.dashboard.settings_saved": "Settings saved!", "admin.dashcounters.domain_count_label": "peers", "admin.dashcounters.status_count_label": "posts", - "admin.dashcounters.user_count_label": "users", + "admin.dashcounters.user_count_label": "total users", "admin.dashwidgets.software_header": "Software", "admin.moderation_log.empty_message": "You have not performed any moderation actions yet. When you do, a history will be shown here.", "admin.reports.actions.close": "Close", diff --git a/app/soapbox/locales/fa.json b/app/soapbox/locales/fa.json index fa6c06db1..e31f8e008 100644 --- a/app/soapbox/locales/fa.json +++ b/app/soapbox/locales/fa.json @@ -60,7 +60,7 @@ "admin.dashboard.settings_saved": "Settings saved!", "admin.dashcounters.domain_count_label": "peers", "admin.dashcounters.status_count_label": "posts", - "admin.dashcounters.user_count_label": "users", + "admin.dashcounters.user_count_label": "total users", "admin.dashwidgets.software_header": "Software", "admin.moderation_log.empty_message": "You have not performed any moderation actions yet. When you do, a history will be shown here.", "admin.reports.actions.close": "Close", diff --git a/app/soapbox/locales/fi.json b/app/soapbox/locales/fi.json index 796424b41..788b06d7b 100644 --- a/app/soapbox/locales/fi.json +++ b/app/soapbox/locales/fi.json @@ -60,7 +60,7 @@ "admin.dashboard.settings_saved": "Settings saved!", "admin.dashcounters.domain_count_label": "peers", "admin.dashcounters.status_count_label": "posts", - "admin.dashcounters.user_count_label": "users", + "admin.dashcounters.user_count_label": "total users", "admin.dashwidgets.software_header": "Software", "admin.moderation_log.empty_message": "You have not performed any moderation actions yet. When you do, a history will be shown here.", "admin.reports.actions.close": "Close", diff --git a/app/soapbox/locales/fr.json b/app/soapbox/locales/fr.json index 81fa4f367..38a7f24b3 100644 --- a/app/soapbox/locales/fr.json +++ b/app/soapbox/locales/fr.json @@ -60,7 +60,7 @@ "admin.dashboard.settings_saved": "Settings saved!", "admin.dashcounters.domain_count_label": "peers", "admin.dashcounters.status_count_label": "posts", - "admin.dashcounters.user_count_label": "users", + "admin.dashcounters.user_count_label": "total users", "admin.dashwidgets.software_header": "Software", "admin.moderation_log.empty_message": "You have not performed any moderation actions yet. When you do, a history will be shown here.", "admin.reports.actions.close": "Close", diff --git a/app/soapbox/locales/ga.json b/app/soapbox/locales/ga.json index d82b7b291..59266409c 100644 --- a/app/soapbox/locales/ga.json +++ b/app/soapbox/locales/ga.json @@ -60,7 +60,7 @@ "admin.dashboard.settings_saved": "Settings saved!", "admin.dashcounters.domain_count_label": "peers", "admin.dashcounters.status_count_label": "posts", - "admin.dashcounters.user_count_label": "users", + "admin.dashcounters.user_count_label": "total users", "admin.dashwidgets.software_header": "Software", "admin.moderation_log.empty_message": "You have not performed any moderation actions yet. When you do, a history will be shown here.", "admin.reports.actions.close": "Close", diff --git a/app/soapbox/locales/gl.json b/app/soapbox/locales/gl.json index 15f01d417..94c671cfb 100644 --- a/app/soapbox/locales/gl.json +++ b/app/soapbox/locales/gl.json @@ -60,7 +60,7 @@ "admin.dashboard.settings_saved": "Settings saved!", "admin.dashcounters.domain_count_label": "peers", "admin.dashcounters.status_count_label": "posts", - "admin.dashcounters.user_count_label": "users", + "admin.dashcounters.user_count_label": "total users", "admin.dashwidgets.software_header": "Software", "admin.moderation_log.empty_message": "You have not performed any moderation actions yet. When you do, a history will be shown here.", "admin.reports.actions.close": "Close", diff --git a/app/soapbox/locales/he.json b/app/soapbox/locales/he.json index 7a4a37816..7f8fefac5 100644 --- a/app/soapbox/locales/he.json +++ b/app/soapbox/locales/he.json @@ -60,7 +60,7 @@ "admin.dashboard.settings_saved": "Settings saved!", "admin.dashcounters.domain_count_label": "peers", "admin.dashcounters.status_count_label": "posts", - "admin.dashcounters.user_count_label": "users", + "admin.dashcounters.user_count_label": "total users", "admin.dashwidgets.software_header": "Software", "admin.moderation_log.empty_message": "You have not performed any moderation actions yet. When you do, a history will be shown here.", "admin.reports.actions.close": "Close", diff --git a/app/soapbox/locales/hi.json b/app/soapbox/locales/hi.json index bf6e13970..02f6951b8 100644 --- a/app/soapbox/locales/hi.json +++ b/app/soapbox/locales/hi.json @@ -60,7 +60,7 @@ "admin.dashboard.settings_saved": "Settings saved!", "admin.dashcounters.domain_count_label": "peers", "admin.dashcounters.status_count_label": "posts", - "admin.dashcounters.user_count_label": "users", + "admin.dashcounters.user_count_label": "total users", "admin.dashwidgets.software_header": "Software", "admin.moderation_log.empty_message": "You have not performed any moderation actions yet. When you do, a history will be shown here.", "admin.reports.actions.close": "Close", diff --git a/app/soapbox/locales/hr.json b/app/soapbox/locales/hr.json index 99cda1ff6..99d30a3ec 100644 --- a/app/soapbox/locales/hr.json +++ b/app/soapbox/locales/hr.json @@ -60,7 +60,7 @@ "admin.dashboard.settings_saved": "Settings saved!", "admin.dashcounters.domain_count_label": "peers", "admin.dashcounters.status_count_label": "posts", - "admin.dashcounters.user_count_label": "users", + "admin.dashcounters.user_count_label": "total users", "admin.dashwidgets.software_header": "Software", "admin.moderation_log.empty_message": "You have not performed any moderation actions yet. When you do, a history will be shown here.", "admin.reports.actions.close": "Close", diff --git a/app/soapbox/locales/hu.json b/app/soapbox/locales/hu.json index 3693ce044..dc01eafd6 100644 --- a/app/soapbox/locales/hu.json +++ b/app/soapbox/locales/hu.json @@ -60,7 +60,7 @@ "admin.dashboard.settings_saved": "Settings saved!", "admin.dashcounters.domain_count_label": "peers", "admin.dashcounters.status_count_label": "posts", - "admin.dashcounters.user_count_label": "users", + "admin.dashcounters.user_count_label": "total users", "admin.dashwidgets.software_header": "Software", "admin.moderation_log.empty_message": "You have not performed any moderation actions yet. When you do, a history will be shown here.", "admin.reports.actions.close": "Close", diff --git a/app/soapbox/locales/hy.json b/app/soapbox/locales/hy.json index 969686ed2..a0d8a55eb 100644 --- a/app/soapbox/locales/hy.json +++ b/app/soapbox/locales/hy.json @@ -60,7 +60,7 @@ "admin.dashboard.settings_saved": "Settings saved!", "admin.dashcounters.domain_count_label": "peers", "admin.dashcounters.status_count_label": "posts", - "admin.dashcounters.user_count_label": "users", + "admin.dashcounters.user_count_label": "total users", "admin.dashwidgets.software_header": "Software", "admin.moderation_log.empty_message": "You have not performed any moderation actions yet. When you do, a history will be shown here.", "admin.reports.actions.close": "Close", diff --git a/app/soapbox/locales/id.json b/app/soapbox/locales/id.json index 68a085753..ce28eaf15 100644 --- a/app/soapbox/locales/id.json +++ b/app/soapbox/locales/id.json @@ -60,7 +60,7 @@ "admin.dashboard.settings_saved": "Settings saved!", "admin.dashcounters.domain_count_label": "peers", "admin.dashcounters.status_count_label": "posts", - "admin.dashcounters.user_count_label": "users", + "admin.dashcounters.user_count_label": "total users", "admin.dashwidgets.software_header": "Software", "admin.moderation_log.empty_message": "You have not performed any moderation actions yet. When you do, a history will be shown here.", "admin.reports.actions.close": "Close", diff --git a/app/soapbox/locales/io.json b/app/soapbox/locales/io.json index f0920c904..d8c219439 100644 --- a/app/soapbox/locales/io.json +++ b/app/soapbox/locales/io.json @@ -60,7 +60,7 @@ "admin.dashboard.settings_saved": "Settings saved!", "admin.dashcounters.domain_count_label": "peers", "admin.dashcounters.status_count_label": "posts", - "admin.dashcounters.user_count_label": "users", + "admin.dashcounters.user_count_label": "total users", "admin.dashwidgets.software_header": "Software", "admin.moderation_log.empty_message": "You have not performed any moderation actions yet. When you do, a history will be shown here.", "admin.reports.actions.close": "Close", diff --git a/app/soapbox/locales/it.json b/app/soapbox/locales/it.json index bdf91e687..7c5646f8a 100644 --- a/app/soapbox/locales/it.json +++ b/app/soapbox/locales/it.json @@ -60,7 +60,7 @@ "admin.dashboard.settings_saved": "Settings saved!", "admin.dashcounters.domain_count_label": "peers", "admin.dashcounters.status_count_label": "posts", - "admin.dashcounters.user_count_label": "users", + "admin.dashcounters.user_count_label": "total users", "admin.dashwidgets.software_header": "Software", "admin.moderation_log.empty_message": "You have not performed any moderation actions yet. When you do, a history will be shown here.", "admin.reports.actions.close": "Close", diff --git a/app/soapbox/locales/ja.json b/app/soapbox/locales/ja.json index cdb3ca842..61edb442b 100644 --- a/app/soapbox/locales/ja.json +++ b/app/soapbox/locales/ja.json @@ -60,7 +60,7 @@ "admin.dashboard.settings_saved": "Settings saved!", "admin.dashcounters.domain_count_label": "peers", "admin.dashcounters.status_count_label": "posts", - "admin.dashcounters.user_count_label": "users", + "admin.dashcounters.user_count_label": "total users", "admin.dashwidgets.software_header": "Software", "admin.moderation_log.empty_message": "You have not performed any moderation actions yet. When you do, a history will be shown here.", "admin.reports.actions.close": "Close", diff --git a/app/soapbox/locales/ka.json b/app/soapbox/locales/ka.json index 8cab7faa1..994052b59 100644 --- a/app/soapbox/locales/ka.json +++ b/app/soapbox/locales/ka.json @@ -60,7 +60,7 @@ "admin.dashboard.settings_saved": "Settings saved!", "admin.dashcounters.domain_count_label": "peers", "admin.dashcounters.status_count_label": "posts", - "admin.dashcounters.user_count_label": "users", + "admin.dashcounters.user_count_label": "total users", "admin.dashwidgets.software_header": "Software", "admin.moderation_log.empty_message": "You have not performed any moderation actions yet. When you do, a history will be shown here.", "admin.reports.actions.close": "Close", diff --git a/app/soapbox/locales/kk.json b/app/soapbox/locales/kk.json index 999d2681b..01ec90189 100644 --- a/app/soapbox/locales/kk.json +++ b/app/soapbox/locales/kk.json @@ -60,7 +60,7 @@ "admin.dashboard.settings_saved": "Settings saved!", "admin.dashcounters.domain_count_label": "peers", "admin.dashcounters.status_count_label": "posts", - "admin.dashcounters.user_count_label": "users", + "admin.dashcounters.user_count_label": "total users", "admin.dashwidgets.software_header": "Software", "admin.moderation_log.empty_message": "You have not performed any moderation actions yet. When you do, a history will be shown here.", "admin.reports.actions.close": "Close", diff --git a/app/soapbox/locales/ko.json b/app/soapbox/locales/ko.json index b6008c2a4..d0a64e6b3 100644 --- a/app/soapbox/locales/ko.json +++ b/app/soapbox/locales/ko.json @@ -60,7 +60,7 @@ "admin.dashboard.settings_saved": "Settings saved!", "admin.dashcounters.domain_count_label": "peers", "admin.dashcounters.status_count_label": "posts", - "admin.dashcounters.user_count_label": "users", + "admin.dashcounters.user_count_label": "total users", "admin.dashwidgets.software_header": "Software", "admin.moderation_log.empty_message": "You have not performed any moderation actions yet. When you do, a history will be shown here.", "admin.reports.actions.close": "Close", diff --git a/app/soapbox/locales/lt.json b/app/soapbox/locales/lt.json index d6f7fcc14..347757a8d 100644 --- a/app/soapbox/locales/lt.json +++ b/app/soapbox/locales/lt.json @@ -60,7 +60,7 @@ "admin.dashboard.settings_saved": "Settings saved!", "admin.dashcounters.domain_count_label": "peers", "admin.dashcounters.status_count_label": "posts", - "admin.dashcounters.user_count_label": "users", + "admin.dashcounters.user_count_label": "total users", "admin.dashwidgets.software_header": "Software", "admin.moderation_log.empty_message": "You have not performed any moderation actions yet. When you do, a history will be shown here.", "admin.reports.actions.close": "Close", diff --git a/app/soapbox/locales/lv.json b/app/soapbox/locales/lv.json index 58cf4779e..6004b0149 100644 --- a/app/soapbox/locales/lv.json +++ b/app/soapbox/locales/lv.json @@ -60,7 +60,7 @@ "admin.dashboard.settings_saved": "Settings saved!", "admin.dashcounters.domain_count_label": "peers", "admin.dashcounters.status_count_label": "posts", - "admin.dashcounters.user_count_label": "users", + "admin.dashcounters.user_count_label": "total users", "admin.dashwidgets.software_header": "Software", "admin.moderation_log.empty_message": "You have not performed any moderation actions yet. When you do, a history will be shown here.", "admin.reports.actions.close": "Close", diff --git a/app/soapbox/locales/mk.json b/app/soapbox/locales/mk.json index 2cfce55f3..3988feb45 100644 --- a/app/soapbox/locales/mk.json +++ b/app/soapbox/locales/mk.json @@ -60,7 +60,7 @@ "admin.dashboard.settings_saved": "Settings saved!", "admin.dashcounters.domain_count_label": "peers", "admin.dashcounters.status_count_label": "posts", - "admin.dashcounters.user_count_label": "users", + "admin.dashcounters.user_count_label": "total users", "admin.dashwidgets.software_header": "Software", "admin.moderation_log.empty_message": "You have not performed any moderation actions yet. When you do, a history will be shown here.", "admin.reports.actions.close": "Close", diff --git a/app/soapbox/locales/ms.json b/app/soapbox/locales/ms.json index 8cec63f73..427dd531f 100644 --- a/app/soapbox/locales/ms.json +++ b/app/soapbox/locales/ms.json @@ -60,7 +60,7 @@ "admin.dashboard.settings_saved": "Settings saved!", "admin.dashcounters.domain_count_label": "peers", "admin.dashcounters.status_count_label": "posts", - "admin.dashcounters.user_count_label": "users", + "admin.dashcounters.user_count_label": "total users", "admin.dashwidgets.software_header": "Software", "admin.moderation_log.empty_message": "You have not performed any moderation actions yet. When you do, a history will be shown here.", "admin.reports.actions.close": "Close", diff --git a/app/soapbox/locales/nl.json b/app/soapbox/locales/nl.json index 9b97d65e9..9cf320953 100644 --- a/app/soapbox/locales/nl.json +++ b/app/soapbox/locales/nl.json @@ -60,7 +60,7 @@ "admin.dashboard.settings_saved": "Settings saved!", "admin.dashcounters.domain_count_label": "peers", "admin.dashcounters.status_count_label": "posts", - "admin.dashcounters.user_count_label": "users", + "admin.dashcounters.user_count_label": "total users", "admin.dashwidgets.software_header": "Software", "admin.moderation_log.empty_message": "You have not performed any moderation actions yet. When you do, a history will be shown here.", "admin.reports.actions.close": "Close", diff --git a/app/soapbox/locales/nn.json b/app/soapbox/locales/nn.json index 6a3d18ca2..12adb78d5 100644 --- a/app/soapbox/locales/nn.json +++ b/app/soapbox/locales/nn.json @@ -60,7 +60,7 @@ "admin.dashboard.settings_saved": "Settings saved!", "admin.dashcounters.domain_count_label": "peers", "admin.dashcounters.status_count_label": "posts", - "admin.dashcounters.user_count_label": "users", + "admin.dashcounters.user_count_label": "total users", "admin.dashwidgets.software_header": "Software", "admin.moderation_log.empty_message": "You have not performed any moderation actions yet. When you do, a history will be shown here.", "admin.reports.actions.close": "Close", diff --git a/app/soapbox/locales/no.json b/app/soapbox/locales/no.json index a3c68fdb0..d515f520a 100644 --- a/app/soapbox/locales/no.json +++ b/app/soapbox/locales/no.json @@ -60,7 +60,7 @@ "admin.dashboard.settings_saved": "Settings saved!", "admin.dashcounters.domain_count_label": "peers", "admin.dashcounters.status_count_label": "posts", - "admin.dashcounters.user_count_label": "users", + "admin.dashcounters.user_count_label": "total users", "admin.dashwidgets.software_header": "Software", "admin.moderation_log.empty_message": "You have not performed any moderation actions yet. When you do, a history will be shown here.", "admin.reports.actions.close": "Close", diff --git a/app/soapbox/locales/oc.json b/app/soapbox/locales/oc.json index fb1b329e7..15ff5db8e 100644 --- a/app/soapbox/locales/oc.json +++ b/app/soapbox/locales/oc.json @@ -60,7 +60,7 @@ "admin.dashboard.settings_saved": "Settings saved!", "admin.dashcounters.domain_count_label": "peers", "admin.dashcounters.status_count_label": "posts", - "admin.dashcounters.user_count_label": "users", + "admin.dashcounters.user_count_label": "total users", "admin.dashwidgets.software_header": "Software", "admin.moderation_log.empty_message": "You have not performed any moderation actions yet. When you do, a history will be shown here.", "admin.reports.actions.close": "Close", diff --git a/app/soapbox/locales/pt-BR.json b/app/soapbox/locales/pt-BR.json index 06c553cbf..598bdeb4b 100644 --- a/app/soapbox/locales/pt-BR.json +++ b/app/soapbox/locales/pt-BR.json @@ -60,7 +60,7 @@ "admin.dashboard.settings_saved": "Settings saved!", "admin.dashcounters.domain_count_label": "peers", "admin.dashcounters.status_count_label": "posts", - "admin.dashcounters.user_count_label": "users", + "admin.dashcounters.user_count_label": "total users", "admin.dashwidgets.software_header": "Software", "admin.moderation_log.empty_message": "You have not performed any moderation actions yet. When you do, a history will be shown here.", "admin.reports.actions.close": "Close", diff --git a/app/soapbox/locales/ro.json b/app/soapbox/locales/ro.json index 55574c242..a4287e3c9 100644 --- a/app/soapbox/locales/ro.json +++ b/app/soapbox/locales/ro.json @@ -60,7 +60,7 @@ "admin.dashboard.settings_saved": "Settings saved!", "admin.dashcounters.domain_count_label": "peers", "admin.dashcounters.status_count_label": "posts", - "admin.dashcounters.user_count_label": "users", + "admin.dashcounters.user_count_label": "total users", "admin.dashwidgets.software_header": "Software", "admin.moderation_log.empty_message": "You have not performed any moderation actions yet. When you do, a history will be shown here.", "admin.reports.actions.close": "Close", diff --git a/app/soapbox/locales/sk.json b/app/soapbox/locales/sk.json index 5818bcd40..67d7edb6e 100644 --- a/app/soapbox/locales/sk.json +++ b/app/soapbox/locales/sk.json @@ -60,7 +60,7 @@ "admin.dashboard.settings_saved": "Settings saved!", "admin.dashcounters.domain_count_label": "peers", "admin.dashcounters.status_count_label": "posts", - "admin.dashcounters.user_count_label": "users", + "admin.dashcounters.user_count_label": "total users", "admin.dashwidgets.software_header": "Software", "admin.moderation_log.empty_message": "You have not performed any moderation actions yet. When you do, a history will be shown here.", "admin.reports.actions.close": "Close", diff --git a/app/soapbox/locales/sl.json b/app/soapbox/locales/sl.json index a05ea451a..16b582d3e 100644 --- a/app/soapbox/locales/sl.json +++ b/app/soapbox/locales/sl.json @@ -60,7 +60,7 @@ "admin.dashboard.settings_saved": "Settings saved!", "admin.dashcounters.domain_count_label": "peers", "admin.dashcounters.status_count_label": "posts", - "admin.dashcounters.user_count_label": "users", + "admin.dashcounters.user_count_label": "total users", "admin.dashwidgets.software_header": "Software", "admin.moderation_log.empty_message": "You have not performed any moderation actions yet. When you do, a history will be shown here.", "admin.reports.actions.close": "Close", diff --git a/app/soapbox/locales/sq.json b/app/soapbox/locales/sq.json index 14d0fe89c..c6ef31ea7 100644 --- a/app/soapbox/locales/sq.json +++ b/app/soapbox/locales/sq.json @@ -60,7 +60,7 @@ "admin.dashboard.settings_saved": "Settings saved!", "admin.dashcounters.domain_count_label": "peers", "admin.dashcounters.status_count_label": "posts", - "admin.dashcounters.user_count_label": "users", + "admin.dashcounters.user_count_label": "total users", "admin.dashwidgets.software_header": "Software", "admin.moderation_log.empty_message": "You have not performed any moderation actions yet. When you do, a history will be shown here.", "admin.reports.actions.close": "Close", diff --git a/app/soapbox/locales/sr-Latn.json b/app/soapbox/locales/sr-Latn.json index b6e7f4b74..2a1906fe6 100644 --- a/app/soapbox/locales/sr-Latn.json +++ b/app/soapbox/locales/sr-Latn.json @@ -60,7 +60,7 @@ "admin.dashboard.settings_saved": "Settings saved!", "admin.dashcounters.domain_count_label": "peers", "admin.dashcounters.status_count_label": "posts", - "admin.dashcounters.user_count_label": "users", + "admin.dashcounters.user_count_label": "total users", "admin.dashwidgets.software_header": "Software", "admin.moderation_log.empty_message": "You have not performed any moderation actions yet. When you do, a history will be shown here.", "admin.reports.actions.close": "Close", diff --git a/app/soapbox/locales/sr.json b/app/soapbox/locales/sr.json index 8b4a58833..bdba2c579 100644 --- a/app/soapbox/locales/sr.json +++ b/app/soapbox/locales/sr.json @@ -60,7 +60,7 @@ "admin.dashboard.settings_saved": "Settings saved!", "admin.dashcounters.domain_count_label": "peers", "admin.dashcounters.status_count_label": "posts", - "admin.dashcounters.user_count_label": "users", + "admin.dashcounters.user_count_label": "total users", "admin.dashwidgets.software_header": "Software", "admin.moderation_log.empty_message": "You have not performed any moderation actions yet. When you do, a history will be shown here.", "admin.reports.actions.close": "Close", diff --git a/app/soapbox/locales/sv.json b/app/soapbox/locales/sv.json index 87415bfe3..e23f1c3c5 100644 --- a/app/soapbox/locales/sv.json +++ b/app/soapbox/locales/sv.json @@ -60,7 +60,7 @@ "admin.dashboard.settings_saved": "Settings saved!", "admin.dashcounters.domain_count_label": "peers", "admin.dashcounters.status_count_label": "posts", - "admin.dashcounters.user_count_label": "users", + "admin.dashcounters.user_count_label": "total users", "admin.dashwidgets.software_header": "Software", "admin.moderation_log.empty_message": "You have not performed any moderation actions yet. When you do, a history will be shown here.", "admin.reports.actions.close": "Close", diff --git a/app/soapbox/locales/ta.json b/app/soapbox/locales/ta.json index 14140ada8..e7e4c4b1d 100644 --- a/app/soapbox/locales/ta.json +++ b/app/soapbox/locales/ta.json @@ -60,7 +60,7 @@ "admin.dashboard.settings_saved": "Settings saved!", "admin.dashcounters.domain_count_label": "peers", "admin.dashcounters.status_count_label": "posts", - "admin.dashcounters.user_count_label": "users", + "admin.dashcounters.user_count_label": "total users", "admin.dashwidgets.software_header": "Software", "admin.moderation_log.empty_message": "You have not performed any moderation actions yet. When you do, a history will be shown here.", "admin.reports.actions.close": "Close", diff --git a/app/soapbox/locales/te.json b/app/soapbox/locales/te.json index 6f6d30c55..c534107ff 100644 --- a/app/soapbox/locales/te.json +++ b/app/soapbox/locales/te.json @@ -60,7 +60,7 @@ "admin.dashboard.settings_saved": "Settings saved!", "admin.dashcounters.domain_count_label": "peers", "admin.dashcounters.status_count_label": "posts", - "admin.dashcounters.user_count_label": "users", + "admin.dashcounters.user_count_label": "total users", "admin.dashwidgets.software_header": "Software", "admin.moderation_log.empty_message": "You have not performed any moderation actions yet. When you do, a history will be shown here.", "admin.reports.actions.close": "Close", diff --git a/app/soapbox/locales/th.json b/app/soapbox/locales/th.json index e3f6099cd..ad7a6d22f 100644 --- a/app/soapbox/locales/th.json +++ b/app/soapbox/locales/th.json @@ -60,7 +60,7 @@ "admin.dashboard.settings_saved": "Settings saved!", "admin.dashcounters.domain_count_label": "peers", "admin.dashcounters.status_count_label": "posts", - "admin.dashcounters.user_count_label": "users", + "admin.dashcounters.user_count_label": "total users", "admin.dashwidgets.software_header": "Software", "admin.moderation_log.empty_message": "You have not performed any moderation actions yet. When you do, a history will be shown here.", "admin.reports.actions.close": "Close", diff --git a/app/soapbox/locales/tr.json b/app/soapbox/locales/tr.json index 2087fd20d..24762b706 100644 --- a/app/soapbox/locales/tr.json +++ b/app/soapbox/locales/tr.json @@ -60,7 +60,7 @@ "admin.dashboard.settings_saved": "Settings saved!", "admin.dashcounters.domain_count_label": "peers", "admin.dashcounters.status_count_label": "posts", - "admin.dashcounters.user_count_label": "users", + "admin.dashcounters.user_count_label": "total users", "admin.dashwidgets.software_header": "Software", "admin.moderation_log.empty_message": "You have not performed any moderation actions yet. When you do, a history will be shown here.", "admin.reports.actions.close": "Close", diff --git a/app/soapbox/locales/uk.json b/app/soapbox/locales/uk.json index 2f390cbec..a8d4ac5a6 100644 --- a/app/soapbox/locales/uk.json +++ b/app/soapbox/locales/uk.json @@ -60,7 +60,7 @@ "admin.dashboard.settings_saved": "Settings saved!", "admin.dashcounters.domain_count_label": "peers", "admin.dashcounters.status_count_label": "posts", - "admin.dashcounters.user_count_label": "users", + "admin.dashcounters.user_count_label": "total users", "admin.dashwidgets.software_header": "Software", "admin.moderation_log.empty_message": "You have not performed any moderation actions yet. When you do, a history will be shown here.", "admin.reports.actions.close": "Close", diff --git a/app/soapbox/locales/zh-CN.json b/app/soapbox/locales/zh-CN.json index e44da52b6..e19d830e2 100644 --- a/app/soapbox/locales/zh-CN.json +++ b/app/soapbox/locales/zh-CN.json @@ -60,7 +60,7 @@ "admin.dashboard.settings_saved": "Settings saved!", "admin.dashcounters.domain_count_label": "peers", "admin.dashcounters.status_count_label": "posts", - "admin.dashcounters.user_count_label": "users", + "admin.dashcounters.user_count_label": "total users", "admin.dashwidgets.software_header": "Software", "admin.moderation_log.empty_message": "You have not performed any moderation actions yet. When you do, a history will be shown here.", "admin.reports.actions.close": "Close", diff --git a/app/soapbox/locales/zh-HK.json b/app/soapbox/locales/zh-HK.json index 757255a75..0435dd978 100644 --- a/app/soapbox/locales/zh-HK.json +++ b/app/soapbox/locales/zh-HK.json @@ -60,7 +60,7 @@ "admin.dashboard.settings_saved": "Settings saved!", "admin.dashcounters.domain_count_label": "peers", "admin.dashcounters.status_count_label": "posts", - "admin.dashcounters.user_count_label": "users", + "admin.dashcounters.user_count_label": "total users", "admin.dashwidgets.software_header": "Software", "admin.moderation_log.empty_message": "You have not performed any moderation actions yet. When you do, a history will be shown here.", "admin.reports.actions.close": "Close", diff --git a/app/soapbox/locales/zh-TW.json b/app/soapbox/locales/zh-TW.json index a9eac7e29..6799212a3 100644 --- a/app/soapbox/locales/zh-TW.json +++ b/app/soapbox/locales/zh-TW.json @@ -60,7 +60,7 @@ "admin.dashboard.settings_saved": "Settings saved!", "admin.dashcounters.domain_count_label": "peers", "admin.dashcounters.status_count_label": "posts", - "admin.dashcounters.user_count_label": "users", + "admin.dashcounters.user_count_label": "total users", "admin.dashwidgets.software_header": "Software", "admin.moderation_log.empty_message": "You have not performed any moderation actions yet. When you do, a history will be shown here.", "admin.reports.actions.close": "Close", diff --git a/app/styles/components/admin.scss b/app/styles/components/admin.scss index f8a562834..f2e6400aa 100644 --- a/app/styles/components/admin.scss +++ b/app/styles/components/admin.scss @@ -13,6 +13,7 @@ > a, > div { + box-sizing: border-box; text-decoration: none; color: inherit; display: block; @@ -20,6 +21,7 @@ background: var(--accent-color--faint); border-radius: 4px; transition: 0.2s; + height: 100%; } > a:hover {