From 45680a9980cf9151b21a461f8e172889aef86203 Mon Sep 17 00:00:00 2001 From: JerryVincent Date: Wed, 11 Mar 2026 10:18:30 +0100 Subject: [PATCH 1/3] This commit fixes the overflow issue of the measurement graph. --- app/components/device-detail/graph.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/components/device-detail/graph.tsx b/app/components/device-detail/graph.tsx index 114675ba..31eae117 100644 --- a/app/components/device-detail/graph.tsx +++ b/app/components/device-detail/graph.tsx @@ -534,7 +534,7 @@ export default function Graph({ >
{navigation.state === 'loading' && (
@@ -542,14 +542,14 @@ export default function Graph({
)}
-
+
-
+
{currentZoom !== null && currentZoom.xMax !== 0 && currentZoom.xMin !== 0 && ( @@ -597,7 +597,7 @@ export default function Graph({ />
-
+
{(sensors[0].data.length === 0 && sensors[1] === undefined) || (sensors[0].data.length === 0 && sensors[1].data.length === 0) ? (
There is no data for the selected time period.
From 1f2465121c837e08b92f51efb7f62e4c3ca32c78 Mon Sep 17 00:00:00 2001 From: JerryVincent Date: Wed, 11 Mar 2026 10:59:06 +0100 Subject: [PATCH 2/3] This commit fixes the jumping issue of the measurement graph upon clicking the filter or download button. --- app/root.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/root.tsx b/app/root.tsx index 85a8e691..8111f84d 100644 --- a/app/root.tsx +++ b/app/root.tsx @@ -111,13 +111,13 @@ export function App() { useChangeLanguage(data.locale) return ( - + {/* */} - + From 353f3faff98f5469f3ac69d356b9dd02a9242561 Mon Sep 17 00:00:00 2001 From: David Scheidt Date: Wed, 11 Mar 2026 16:20:44 +0100 Subject: [PATCH 3/3] improve wrapping --- app/components/aggregation-filter.tsx | 2 +- app/components/device-detail/graph.tsx | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/components/aggregation-filter.tsx b/app/components/aggregation-filter.tsx index 18326765..2e8ecf57 100644 --- a/app/components/aggregation-filter.tsx +++ b/app/components/aggregation-filter.tsx @@ -57,7 +57,7 @@ export function AggregationFilter() { >
diff --git a/app/components/device-detail/graph.tsx b/app/components/device-detail/graph.tsx index 31eae117..6b447401 100644 --- a/app/components/device-detail/graph.tsx +++ b/app/components/device-detail/graph.tsx @@ -542,14 +542,14 @@ export default function Graph({
)}
-
+
-
+
{currentZoom !== null && currentZoom.xMax !== 0 && currentZoom.xMin !== 0 && ( @@ -597,7 +597,7 @@ export default function Graph({ />
-
+
{(sensors[0].data.length === 0 && sensors[1] === undefined) || (sensors[0].data.length === 0 && sensors[1].data.length === 0) ? (
There is no data for the selected time period.