Merge /conditions into the app as a Station tab

- New Station tab (top tabs, bottom nav, swipe order) carrying the old /conditions look:
  radar-ring hero, condition pill, wind compass, atmosphere/precip/solar cards, indoor
- Scoped sl-* styles and station-live.js; units follow the app's metric/imperial setting
- Empty/error states when no station is connected
- /conditions now 301-redirects to /?tab=station; removed conditions.html,
  /api/conditions/public and the old My Station drawer
- /api/ambient-config also returns the station name
- Dashboard and settings links updated; SW cache v8; manifest shortcut for Station
- Drops an indoor-temp block in applyStationOverlay that referenced an out-of-scope helper

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Nate EmmertandClaude Sonnet 5.5 committed 2026-10-15 12:45:47 -04:00
1 parent 7dea2734ea
commit 1830fb2e2b
11 files changed
+361 -917

No files matched your search

+3 -1
View File
@@ -4,13 +4,15 @@ self.addEventListener('message', event => {
if (event.data === 'skipWaiting') self.skipWaiting();
});
const CACHE = 'weather-v7';
const CACHE = 'weather-v8';
// App shell cached on install for offline resilience.
const PRECACHE = [
'/',
'/app.js',
'/style.css',
'/station-live.css',
'/station-live.js',
'/manifest.json',
'/icons/icon.svg'
];