From 0b260affd7194ca0cb9745c56bece0e637461afa Mon Sep 17 00:00:00 2001 From: fraxle Date: Tue, 7 Jul 2026 13:23:08 +0100 Subject: [PATCH] 3.2.2 Updated logo Added average seasonal temps compare --- assets/js/app.js | 13 +++-- assets/js/components/Wordmark.js | 2 +- assets/js/compute.js | 34 +++++++++++- assets/js/hooks/useAppState.js | 4 +- assets/js/hooks/useForecast.js | 89 +++++++++++++++++++++++++++++++- data/tracking.json | 4 ++ favicon.svg | 29 +++++------ 7 files changed, 151 insertions(+), 24 deletions(-) diff --git a/assets/js/app.js b/assets/js/app.js index 4ff68c1..20b2a64 100644 --- a/assets/js/app.js +++ b/assets/js/app.js @@ -176,7 +176,7 @@ export function UTCIForecast() { // useAppState. See hooks/useAppState.js for the full reading order. const { location, setLocationAndSave, recentLocations, - forecast, airQuality, loading, error, now, fetchedAt, + forecast, airQuality, loading, error, now, fetchedAt, normals, searchQuery, setSearchQuery, searchResults, setSearchResults, searching, selectedDay, setSelectedDay, proPromptDay, setProPromptDay, @@ -469,6 +469,9 @@ export function UTCIForecast() { // Farming uses these for seasonal sow/harvest advice (week's dates + weather). activeProfile === 'farming' ? days : null, location?.lat, + // Climate normals + selected day's date drive the "vs seasonal average" row. + normals, + days[selectedDay]?.key, ); // Human-readable date for the "Day at a glance" heading, e.g. "Mon 2nd June 2026". @@ -539,7 +542,7 @@ export function UTCIForecast() {