@@ -88,6 +95,7 @@ import * as os from '@/os';
import { i18n } from '@/i18n';
import MkActiveUsersHeatmap from '@/components/MkActiveUsersHeatmap.vue';
import MkFolder from '@/components/MkFolder.vue';
+import MkRetentionHeatmap from '@/components/MkRetentionHeatmap.vue';
Chart.register(
ArcElement,
@@ -224,6 +232,11 @@ onMounted(() => {
margin-bottom: 16px;
}
+.retention {
+ padding: 16px;
+ margin-bottom: 16px;
+}
+
.federation {
&:global {
> .pies {
diff --git a/packages/frontend/src/components/MkRetentionHeatmap.vue b/packages/frontend/src/components/MkRetentionHeatmap.vue
new file mode 100644
index 0000000000..cdfbd0d9a2
--- /dev/null
+++ b/packages/frontend/src/components/MkRetentionHeatmap.vue
@@ -0,0 +1,218 @@
+
+
+
+
+
diff --git a/packages/frontend/src/pages/admin/overview.retention.vue b/packages/frontend/src/pages/admin/overview.retention.vue
index feac6f8118..25de8a57c1 100644
--- a/packages/frontend/src/pages/admin/overview.retention.vue
+++ b/packages/frontend/src/pages/admin/overview.retention.vue
@@ -1,49 +1,15 @@
-