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:
1 parent
7dea2734ea
commit
1830fb2e2b
11 files changed
+361
-917
No files matched your search
@@ -384,7 +384,7 @@ input, select, textarea { font-size: 16px; } /* stops iOS zooming in on focus */
|
||||
</div>
|
||||
<div class="header-right">
|
||||
<span class="station-name" id="stationName"></span>
|
||||
<a href="/conditions" class="logout">Conditions</a>
|
||||
<a href="/?tab=station" class="logout">Station</a>
|
||||
<a href="/" class="logout">← Weather</a>
|
||||
<a href="/dashboard/settings" class="logout">Settings</a>
|
||||
<a href="/dashboard/logout" class="logout">Sign out</a>
|
||||
|
||||
Reference in new issue
Block a user