Skip to content

fix(auth): session expiry warning only after true idle - #357

Merged
ShreeChaturvedi merged 1 commit into
mainfrom
fix/181-session-activity-reset
Aug 3, 2026
Merged

ShreeChaturvedi merged 1 commit into
mainfrom
fix/181-session-activity-reset

Conversation

@ShreeChaturvedi

Copy link
Copy Markdown
Owner

Summary

  • Track user activity (pointer, keyboard, scroll, touch, visibility, API).
  • Only toast "Session expiring soon" after 5 minutes of idle.
  • Regression tests for the idle gate helper.

Fixes #181

Reset activity timers on pointer/keyboard/scroll/API traffic. Emit
automl:api-activity from apiFetch on success. Toast only after 5m idle.
Add regression tests for the idle gate.

Fixes #181
@ShreeChaturvedi
ShreeChaturvedi merged commit 681d0c9 into main Aug 3, 2026
@ShreeChaturvedi
ShreeChaturvedi deleted the fix/181-session-activity-reset branch August 3, 2026 21:21
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.

Session expiring warning appears during active use

1 participant