Repository navigation
Dark theme for charts (DARKMODE) and a 🔄 under the dashboard - #59
Merged
Merged
Conversation
Like the report's: the button (rp:dashboard, report_menu.dashboard_keyboard) rides on the dashboard's picture, and a press draws the gauges again with the latest readings and the time in the title, editing the picture in place; a station that doesn't answer leaves it as it was with a toast, and a press with no station gets the out-of-date button answer. Also: the interrupted-archive test stops the first run after six fetches instead of 0.6 s of wall time, which on a fast machine was enough to fetch everything (or nothing) and made it fail whatever the code did. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WBwHofjb1g9onaYRdLZMbf
… bot's time zone) for every chart The charts' furniture (background, text, grid, axis, panel cards, rain bars and scale, the wind rose's speeds) comes from a light or a dark theme, chosen per chart as it is drawn; lines that would be lost on the dark background (wind, CO2, humidity) are lifted, and blends and dot rims that went towards white go towards the background. The dark background is the dashboard's. A chart kept for the period buttons, drawn ahead or uploaded remembers its theme and is not reused after the theme changes. Four dark reference images join the chart tests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WBwHofjb1g9onaYRdLZMbf
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.
DARKMODE
DARKMODE=off(default) keeps the light charts;ondraws every chart dark;autodraws them dark from 21:00 to 07:00 in the bot's time zone. The chart furniture (background, text, grid, axis, panel cards, rain bars and scale, the wind rose) comes from a light or dark theme chosen as each chart is drawn; wind, CO₂ and humidity lines are lifted on the dark background. Cached charts (period buttons, drawn ahead, uploaded, alert charts) remember their theme and are redrawn after the switch. Four dark reference images join the chart tests; documented in docs/configuration.md and docs/features.md.Dashboard refresh
The dashboard carries a 🔄 (
rp:dashboard) like the report's: a press draws the gauges again with the latest readings and the time in the title, in the same message; a station that doesn't answer leaves it as it was with a toast.Also
The interrupted-archive test stops its first run after six fetches instead of 0.6 s of wall time, which made it fail on fast machines whatever the code did.
Checks:
python -m pytest -q(1081 passed) andpython scripts/eval_prompts.py(90 of 90).Generated by Claude Code