Repository navigation
Add darkmode setting (light/dark/auto charts); all-caps finbot.env keys - #61
Merged
Merged
Conversation
…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
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.
What
darkmodesetting (settings.conf, lowercase):off(default) draws light charts,onthe existing dark ones,autodark from 18:00 to 06:00 in thetimezonesetting. The shorts chart keeps its own colours. The chart cache is keyed by theme.finbot.envkeys (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; thetelegramOutgoingTokenalias is gone. Settings keys insettings.confstay lowercase.Updated alongside: code, tests,
defaults/, docs, CI andutil/docker_setup.sh.Upgrading
Rename the keys in any deployed
finbot.envbefore restarting. Charts become light by default; setdarkmode=oninsettings.confto keep the dark look.Tests
python -m unittest discover -s tests -b: 657 pass.Generated by Claude Code