Move  At A Glance panel left. Tweak day tabs highlight and add danger level pulsing. Arrange at a glance order to make more sense and better priority. New brighter favicon.
This commit is contained in:
Fraxle
2026-06-25 16:15:12 +01:00
parent 87907f50d6
commit fd8baf5ef0
6 changed files with 88 additions and 33 deletions
+10 -2
View File
@@ -1523,10 +1523,18 @@ export function UTCIForecast() {
<span class="insight-label">${label}</span>
<span class="insight-value">${value}</span>
</div>`;
const comfortItem = glanceSummary.find(i => i.label === 'Comfortable window');
const restSummary = glanceSummary.filter(i => i.label !== 'Comfortable window');
return [
...glanceSummary.flatMap(item => [
...restSummary.flatMap(item => [
renderRow(item),
...(item.label === 'Peak felt temp' ? heatEvents.map(e => renderRow(e, 'ev-')) : []),
// After the peak/heat block, drop in the comfortable window
...(item.label === 'Peak felt temp'
? [
...heatEvents.map(e => renderRow(e, 'ev-')),
...(comfortItem ? [renderRow(comfortItem)] : []),
]
: []),
]),
...otherEvents.map(e => renderRow(e, 'ev-')),
];