Skip to content

Add darkmode setting (light/dark/auto charts); all-caps finbot.env keys - #61

Merged
robdevops merged 6 commits into
mainfrom
claude/peaceful-mendel-5u93lo
Nov 1, 2026
Merged

robdevops merged 6 commits into
mainfrom
claude/peaceful-mendel-5u93lo

Conversation

@robdevops

Copy link
Copy Markdown
Owner

What

  • darkmode setting (settings.conf, lowercase): off (default) draws light charts, on the existing dark ones, auto dark from 18:00 to 06:00 in the timezone setting. The shorts chart keeps its own colours. The chart cache is keyed by theme.
  • All-caps finbot.env keys (breaking, no fallback): IP, PORT, SCHEDULER_CATCHUP, SHARESIGHT_CLIENT_ID/SECRET, SLACK_BOT_TOKEN/APP_TOKEN/OUTGOING_TOKEN/OUTGOING_WEBHOOK/SIGNING_SECRET, TELEGRAM_BOT_TOKEN/SECRET_TOKEN/OUTGOING_WEBHOOK, DISCORD_BOT_TOKEN/PUBLIC_KEY/OUTGOING_WEBHOOK. The old names are now unknown keys; the telegramOutgoingToken alias is gone. Settings keys in settings.conf stay lowercase.

Updated alongside: code, tests, defaults/, docs, CI and util/docker_setup.sh.

Upgrading

Rename the keys in any deployed finbot.env before restarting. Charts become light by default; set darkmode=on in settings.conf to keep the dark look.

Tests

python -m unittest discover -s tests -b: 657 pass.


Generated by Claude Code

…dark from 18:00 to 06:00 (auto)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RsqJny87LfkxT9UwQbuAsH
…nf setting

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RsqJny87LfkxT9UwQbuAsH
…HEDULER_CATCHUP, SHARESIGHT_*, SLACK_*, TELEGRAM_*, DISCORD_*

The old names no longer work (backward compatibility broken on purpose).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RsqJny87LfkxT9UwQbuAsH
…l-caps startup keys stay

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RsqJny87LfkxT9UwQbuAsH
…RAM_BOT_TOKEN to TELEGRAM_BOTTOKEN as asked

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RsqJny87LfkxT9UwQbuAsH
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RsqJny87LfkxT9UwQbuAsH
@robdevops
robdevops merged commit b1be083 into main Nov 1, 2026
4 checks passed
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.

2 participants