fix: Add proper analysis timer functionality to automation status

FIXES:
- Add nextAnalysisIn and analysisInterval fields to AutomationStatus interface
- Calculate countdown timer based on nextScheduled time from database
- Update nextScheduled time in database at start of each automation cycle
- Frontend timer will now show proper countdown instead of 'Analyzing now...'

- Analysis Timer will show: '4:32' (next analysis in 4 min 32 sec)
- Progress bar will display proper countdown visualization
- Timer updates every second showing time until next analysis cycle
This commit is contained in:
mindesbunister
2025-07-24 11:54:40 +02:00
parent a5e124c556
commit 2db492dd54
2 changed files with 37 additions and 1 deletions

Binary file not shown.