Skip to content

fix(web): show calc overview graph on Home by default#713

Open
hemertje wants to merge 1 commit into
corneel27:mainfrom
hemertje:fix/home-calc-graph-filter
Open

fix(web): show calc overview graph on Home by default#713
hemertje wants to merge 1 commit into
corneel27:mainfrom
hemertje:fix/home-calc-graph-filter

Conversation

@hemertje

Copy link
Copy Markdown

Summary

  • Home tab listed all *.png files in /data/images/, including meteo_* weather charts alongside calc_* optimization graphs
  • Users had to navigate back and forth to find the 4-panel optimization overview (non-optimized vs optimized, energy balance, SoC/tariffs)
  • Filter Home to calc_*.png / calc_*.log only
  • Track active file by name in session so stale meteo timestamps default to the latest calc graph

Test plan

  • Run DAO calc → open Home → latest calc overview graph shows without navigating
  • Meteo fetch (get_meteo_data) no longer appears on Home tab
  • Grafiek ↔ tabel switch keeps the same calc run
  • Datetime picker still selects historical calc runs
  • Prev/next/±6h navigation still works

Made with Cursor

Home mixed calc_* and meteo_* PNGs in the file browser, so users
landed on weather charts instead of the optimization overview.
Filter Home to calc_* files only and track the active file in session
so stale meteo timestamps no longer require manual navigation.

Co-authored-by: Cursor <cursoragent@cursor.com>
@hemertje
hemertje requested a review from corneel27 as a code owner June 28, 2026 20:50
@corneel27

Copy link
Copy Markdown
Owner

This PR crosses the proposed and extended changes from @storeman.
Can you agree that your proposed changes are are taken into account in the changes from @storeman ?

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