Files
Momento/memento-note/app/api/cron
sepehr 9779dd7a79
All checks were successful
Deploy to Production / Build and Deploy (push) Successful in 42s
fix: refresh agents on tab focus + hide stale nextRun + add cron logging
- Add visibilitychange listener: refreshes agent data immediately when
  user returns to the tab (more reliable than interval-only polling)
- Only show toast for actions created within last 5 minutes to avoid
  false positives on page reload
- Hide "Prochaine exécution" line entirely if nextRun is in the past
  instead of showing confusing "En attente de déclenchement"
- Add detailed logging to cron endpoint for debugging

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-26 13:16:32 +02:00
..