diff --git a/frontend/src/components/WeatherCard.vue b/frontend/src/components/WeatherCard.vue index 7e52c06..c25cebd 100644 --- a/frontend/src/components/WeatherCard.vue +++ b/frontend/src/components/WeatherCard.vue @@ -7,6 +7,7 @@ interface ForecastDay { high: number low: number precip_probability: number | null + precip_mm: number | null windspeed_max: number } @@ -90,7 +91,12 @@ const fetchedAtLabel = computed(() => { {{ weatherIcon(day.condition) }} {{ day.condition }} {{ day.high }}° / {{ day.low }}° - 💧 {{ day.precip_probability }}% + + 💧 {{ day.precip_probability }}% + + + 💧 {{ day.precip_mm.toFixed(1) }}mm + 💧 — 💨 {{ day.windspeed_max }} {{ weather.wind_unit ?? 'km/h' }} diff --git a/frontend/src/views/BriefingView.vue b/frontend/src/views/BriefingView.vue index aa39caa..674dec3 100644 --- a/frontend/src/views/BriefingView.vue +++ b/frontend/src/views/BriefingView.vue @@ -36,7 +36,7 @@ interface WeatherData { yesterday_high: number | null yesterday_low: number | null wind_unit?: string - forecast: { day: string; condition: string; high: number; low: number; precip_probability: number | null; windspeed_max: number }[] + forecast: { day: string; condition: string; high: number; low: number; precip_probability: number | null; precip_mm: number | null; windspeed_max: number }[] } const chatStore = useChatStore() diff --git a/frontend/src/views/KnowledgeView.vue b/frontend/src/views/KnowledgeView.vue index 906d1e6..8c8c65d 100644 --- a/frontend/src/views/KnowledgeView.vue +++ b/frontend/src/views/KnowledgeView.vue @@ -136,6 +136,7 @@ function toggleGraph() { const chatInput = ref(""); const chatOpen = ref(false); +const chatCollapsed = ref(false); const chatConvId = ref(null); const chatSending = ref(false); const chatMessages = computed(() => { @@ -437,8 +438,8 @@ onUnmounted(() => {
- -
+ +
@@ -495,6 +496,17 @@ onUnmounted(() => { title="Send" >↑
+