From c505745ace1c7ab73096f0a496380245f49abb08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tam=C3=A1s=20Nagy?= Date: Wed, 25 Mar 2026 22:30:26 +0100 Subject: [PATCH] #EX-307: Add empty screen for statistics.component --- .../statistics/statistics.component.html | 34 +++++++++++++------ .../statistics/statistics.component.scss | 4 +++ .../statistics/statistics.component.ts | 14 +++++--- .../Exence/src/assets/empty-statistics.svg | 26 ++++++++++++++ 4 files changed, 63 insertions(+), 15 deletions(-) create mode 100644 frontend/Exence/src/assets/empty-statistics.svg diff --git a/frontend/Exence/src/app/private/statistics/statistics.component.html b/frontend/Exence/src/app/private/statistics/statistics.component.html index 950b5dd8..094ab3c3 100644 --- a/frontend/Exence/src/app/private/statistics/statistics.component.html +++ b/frontend/Exence/src/app/private/statistics/statistics.component.html @@ -1,18 +1,30 @@ -
- @if (store.statCards().length) { - - } +@if (isEmpty()) { +
+ +
+

Your dashboard is empty

+

Add charts and stat cards to customize your statistics dashboard.

+
+
+} @else { +
+ @if (store.statCards().length) { + + } - + +
+} - -
+ - + @if (!isEmpty()) { + + }