Skip to content

docs(plan): name "Demand mode" explicitly in its own tooltip text - #4400

Merged
springfall2008 merged 1 commit into
springfall2008:mainfrom
chalfontchubby:docs/plan-tooltip-demand-wording
Jul 31, 2026
Merged

docs(plan): name "Demand mode" explicitly in its own tooltip text#4400
springfall2008 merged 1 commit into
springfall2008:mainfrom
chalfontchubby:docs/plan-tooltip-demand-wording

Conversation

@chalfontchubby

Copy link
Copy Markdown
Collaborator

Summary

The plain-arrow plan cells (no charge/discharge/freeze scheduled) never actually said "Demand" in their tooltip, despite that being the exact mode name shown in the mode selector and Status card elsewhere in the UI. Noticed live while reading a plan next to the Status card - nothing in the tooltip connected "this arrow-only cell" to "this is Demand mode."

  • demand_rising/demand_falling/demand_steady now lead with "Demand — ...", matching the existing style of freeze_charge ("Freeze charging — ...") and freeze_export_below_threshold ("Freezing export — ...").
  • Also swapped "house demand" for "house load" in the same templates and their demand_before_export_* split-cell counterparts - the generic English word "demand" collided with the Predbat mode name enough to undercut the fix if left sitting right next to it.
  • Text-only change - no reason codes renamed, no template logic touched, frontend reads these from the published reason_templates JSON so there's no separate copy to update.

Test plan

  • ./run_pre_commit (via coverage/run_pre_commit) - all hooks pass
  • ./run_all --test plan_why_reason - passes (asserts reason codes, not literal text, so unaffected structurally; confirmed no test hardcodes the old strings)
  • Full quick suite (./run_all --quick) passes

The plain-arrow plan cells (no charge/discharge/freeze scheduled) never
actually said "Demand" in their tooltip, despite that being the exact
mode name shown in the mode selector and Status card elsewhere in the
UI - so there was nothing connecting "this arrow-only cell" to "this is
Demand mode" for anyone reading the tooltip in isolation.

Also swapped "house demand" for "house load" in the same templates -
the generic English word collided with the Predbat mode name enough to
undercut the fix if left in place right next to it.
@springfall2008
springfall2008 merged commit 5996e08 into springfall2008:main Jul 31, 2026
2 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