Skip to content

Add 4 more forecast slots (10am/2pm/6pm/10pm) - #4

Merged
yeled merged 3 commits into
mainfrom
more-forecast-icons
Jun 24, 2026
Merged

yeled merged 3 commits into
mainfrom
more-forecast-icons

Conversation

@yeled

@yeled yeled commented Jun 24, 2026

Copy link
Copy Markdown
Owner

Re-opened against main — the original PR (#3) was auto-closed when its base branch (interim-weather-merge) was deleted after merging #2.

Summary

  • Expands the forecast row from 4 slots (every 4h) to 8 (every 2h: 8am-10pm), giving finer-grained coverage of interim weather.
  • 8 slots divide evenly into two full rows of 4 in the full layout's fixed 4-column grid — verified against real Open-Meteo data for 2026-06-22 (London), which also exercises the window-merge logic.
  • --days now defaults to 1: a 2-day view at this density overlapped rows and clipped off the bottom of the 480px frame, since the grid CSS wasn't built for this many cells.

Test plan

  • Rendered the full layout for 2026-06-22 with 8 slots / 1 day — two clean, evenly balanced rows of 4, no overlap or clipping.
  • Confirmed a 2-day render at this slot count overlaps rows and clips the bottom row (motivated the --days default change).

🤖 Generated with Claude Code

yeled and others added 3 commits June 24, 2026 06:09
Going from 4 slots (every 4h) to 7 (every 2h) gives a finer-grained
forecast, but 7 cells per day already wraps to two rows in the full
layout's fixed 4-column grid. A 2-day view at this density overlaps
rows and clips off the bottom of the 480px frame, so --days now
defaults to 1 until the grid is reworked for the higher column count.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Rounds 7 slots out to 8, which divides evenly into two full rows in
the full layout's 4-column grid instead of an unbalanced 4+3 split.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@yeled
yeled merged commit 5501c57 into main Jun 24, 2026
1 check passed
@yeled
yeled deleted the more-forecast-icons branch June 24, 2026 05:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant