dashboard: add retention and quick fix loading states

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-05-01 14:15:31 +02:00
parent c3815bf6ab
commit 5e743a3502
52 changed files with 1324 additions and 205 deletions

View File

@@ -9,6 +9,7 @@ import type { IChartData } from '@/trpc/client';
import { getChartColor } from '@/utils/theme';
import {
CartesianGrid,
Legend,
Line,
LineChart,
ReferenceLine,
@@ -79,6 +80,7 @@ export function ReportLineChart({
allowDecimals={false}
tickFormatter={number.short}
/>
<Legend wrapperStyle={{ fontSize: '10px' }} />
<Tooltip content={<ReportChartTooltip />} />
<XAxis
axisLine={false}