File tree Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -495,10 +495,22 @@ def _parse_date(date_str: Optional[str]):
495
495
all_daily = history_manager .merge_with_current_data (
496
496
current_daily , daily_historical
497
497
)
498
- print_themed (
499
- f"Merged { len (current_daily )} current + { len (daily_historical )} historical days" ,
500
- style = "info" ,
501
- )
498
+ # Show data source composition
499
+ current_dates = {d .get ("date" ) for d in current_daily }
500
+ historical_dates = {d .get ("date" ) for d in daily_historical }
501
+ from_current = len (current_dates )
502
+ from_history_only = len (historical_dates - current_dates )
503
+
504
+ if from_history_only > 0 :
505
+ print_themed (
506
+ f"Loaded { len (all_daily )} days total ({ from_current } from current session, { from_history_only } from history)" ,
507
+ style = "info" ,
508
+ )
509
+ else :
510
+ print_themed (
511
+ f"Loaded { len (all_daily )} days from current session" ,
512
+ style = "info" ,
513
+ )
502
514
elif current_daily :
503
515
all_daily = current_daily
504
516
print_themed (
You can’t perform that action at this time.
0 commit comments