Repository navigation
Add Weather: now, the next hours and the week - #33
Draft
freethinkel wants to merge 14 commits into
Draft
freethinkel wants to merge 14 commits into
freethinkel wants to merge 14 commits into
Conversation
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CQSU8Mpie8VxG5uXTwzf2a
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CQSU8Mpie8VxG5uXTwzf2a
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CQSU8Mpie8VxG5uXTwzf2a
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CQSU8Mpie8VxG5uXTwzf2a
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CQSU8Mpie8VxG5uXTwzf2a
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CQSU8Mpie8VxG5uXTwzf2a
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CQSU8Mpie8VxG5uXTwzf2a
The watch's clock at the moment the answer came can be on the other side of an hour or of midnight from the phone's: then "Now" sat one hour off and "Today" on yesterday until the next answer, and in the cache. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CQSU8Mpie8VxG5uXTwzf2a
…w screen centred The emulator showed the stock fonts have no degree glyph: it drew as a blank a letter wide, on the screens and on the widget card. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CQSU8Mpie8VxG5uXTwzf2a
A day's row and the top of the now screen wrote more records than the room asked for before them, so with some forecasts the batch filled up mid-view and the pager stayed hidden. The emulator showed it; the tests built only uniform forecasts, which happened to fit. They now build every view from every fill level of the batch. A failed draw also left its records in the batch, failing every later one. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CQSU8Mpie8VxG5uXTwzf2a
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CQSU8Mpie8VxG5uXTwzf2a
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CQSU8Lx87AsgWNq9fwhXi1
The crown stays with the pager, which scrolls a page first and pages at its end; the bar shows while its page scrolls and hides a second later, as in stock lists. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CQSU8Lx87AsgWNq9fwhXi1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A Weather app on FMC Companion's
locationandweather, built from stock LVGL parts and stock fonts. Uses the crate's hourly record (#32); the phone side is fmctools/companion#14.48M, condition, high and low, wind and humidity), Hours (the next 12, with the chance of rain or snow from 30 %), Days (the week, each day with a range bar coloured by its temperature).BAD_REQUESTto the hours, so the app asks once more without them; iOS answers without them. Either way the Hours page says "Update FMC Companion for the hourly forecast" and the rest works.What ran
make test APP=weather: 25 host tests. The model (answers in any order, the cache, midnight wrap,-0, bars that stay in their track, a blob from another version) and the screens (every batch through the loader's validator for every icon and the full, short and empty pages; leaving frees every handle).make build APP=weather && make check: 54 KB package, ok.The emulator
Ran with a fake phone answering
locationandweatherover K (runs/weather-shots/shots.py, the calendar's script adapted): the permission message, the three pages, scrolling, the page next to the face, the widget card. Screenshots are inapps/weather/shots/.It found two things the host tests had not:
°: it drew as a blank. The text has no degree sign now, and the Now screen draws a ring after the temperature.Still draft: not on a real watch, not with the real companion.
🤖 Generated with Claude Code
https://claude.ai/code/session_01CQSU8Mpie8VxG5uXTwzf2a