From 8eb3e493084edc597bc7627617c91c89d87bec0b Mon Sep 17 00:00:00 2001 From: ztimson Date: Sun, 13 Sep 2026 14:04:03 -0400 Subject: [PATCH] Finished Sonde support --- client/src/components/Altitude.vue | 8 +- client/src/components/WeatherBalloon.vue | 122 +++++++++++++++++------ client/src/services/sats.ts | 62 +++++------- server/src/sats.mjs | 1 - server/src/sonde.mjs | 7 +- 5 files changed, 124 insertions(+), 76 deletions(-) diff --git a/client/src/components/Altitude.vue b/client/src/components/Altitude.vue index 1d7bf5b..b3d60f4 100644 --- a/client/src/components/Altitude.vue +++ b/client/src/components/Altitude.vue @@ -5,7 +5,9 @@ const props = withDefaults(defineProps<{ history: any[] currentAltitude: number | null color?: string, - unit: string + unit: string, + startTime?: string, + endTime?: string, }>(), { color: '#0f0' }); @@ -153,11 +155,11 @@ const graph = computed(() => { /> - {{ graph.startTime }} + {{ startTime || graph.startTime }} - {{ graph.endTime }} + {{ endTime || graph.endTime }} diff --git a/client/src/components/WeatherBalloon.vue b/client/src/components/WeatherBalloon.vue index afa97b0..629a010 100644 --- a/client/src/components/WeatherBalloon.vue +++ b/client/src/components/WeatherBalloon.vue @@ -1,4 +1,5 @@