From 9a25170b275d7b8afee6fd001891b4d687836c32 Mon Sep 17 00:00:00 2001 From: rafaeldpsilva Date: Fri, 3 Oct 2025 15:06:34 +0100 Subject: [PATCH] Refactor dashboard layout and update sensor table columns - Make metric cards and charts more compact and consistent - Change SensorConsumptionTable columns: show Room and Value, remove Current/Total/Average - Update headings and layout for AnalyticsView and HomeView - Improve responsiveness and spacing for cards and sections --- src/components/cards/MetricCard.vue | 2 +- .../cards/RealtimeEnergyChartCard.vue | 8 +- .../cards/SensorConsumptionTable.vue | 14 +- src/views/AnalyticsView.vue | 574 +++++++++--------- src/views/HomeView.vue | 42 +- 5 files changed, 307 insertions(+), 333 deletions(-) diff --git a/src/components/cards/MetricCard.vue b/src/components/cards/MetricCard.vue index 1ad2fb5..b096014 100644 --- a/src/components/cards/MetricCard.vue +++ b/src/components/cards/MetricCard.vue @@ -1,5 +1,5 @@