diff --git a/app/(main)/insights/components/InsightsSummary.tsx b/app/(main)/insights/components/InsightsSummary.tsx
new file mode 100644
index 0000000..8724ee1
--- /dev/null
+++ b/app/(main)/insights/components/InsightsSummary.tsx
@@ -0,0 +1,22 @@
+'use client';
+
+import { Card, CardContent } from '@components/ui/Card/Card';
+
+export default function InsightsSummary() {
+ return (
+
+
+
+
+
+
Know Your Happiness Patterns
+
+
happiness down, productivity down
+
most happiness influencing worktype..
+
correlations..
+
+
+ {' '}
+
+ );
+}
diff --git a/app/(main)/insights/components/WorkkindRadarChart.tsx b/app/(main)/insights/components/WorkkindRadarChart.tsx
index 6d5c12d..a16d937 100644
--- a/app/(main)/insights/components/WorkkindRadarChart.tsx
+++ b/app/(main)/insights/components/WorkkindRadarChart.tsx
@@ -14,7 +14,7 @@ const chartData = [
];
const chartConfig = {
- quantity: {
+ userAverage: {
label: 'Quantity',
color: '#E94B68',
},
@@ -35,7 +35,8 @@ export default function WorkkindRadarChart() {
} />
-
+
+
@@ -43,7 +44,7 @@ export default function WorkkindRadarChart() {
-
Trackings per work type
+
Happiness per work type - Personal vs. team
Showing number of tracked worktypes this year
diff --git a/app/(main)/insights/page.tsx b/app/(main)/insights/page.tsx
index 3e8398b..b313e4c 100644
--- a/app/(main)/insights/page.tsx
+++ b/app/(main)/insights/page.tsx
@@ -33,6 +33,10 @@ export interface Sprint {
endDate: string;
}
+function InsightsSummary() {
+ return null;
+}
+
const InsightsPage: React.FC = () => {
const { user } = useAuth();
const { getInsightsByTeam } = useInsightsClient();
@@ -125,6 +129,8 @@ const InsightsPage: React.FC = () => {
document.body.removeChild(link);
};
+ // todo
+
return (
{user && selectedTeam && data && sprints ? (
@@ -175,7 +181,7 @@ const InsightsPage: React.FC = () => {
-
+