MAJOR REFACTOR: Reverted to the simpler, working logic from v09.9.1_7
that had fewer problems.
Changes:
1. Removed userInteractedWithCurrentSite flag completely
- This flag was causing inactivity prompts to appear on every site
- Much simpler logic without it
2. Removed rotation-blocking logic from markActivity()
- No longer sets manualNavigationMode=true on user touch
- Sites rotate freely based on time, NO blocking
3. Inactivity prompts only appear in two scenarios:
- On the home page (after configured timeout)
- When user manually swiped to a different site
4. Manual swipe behavior restored:
- nextTab/prevTab now set manualNavigationMode=true
- Inactivity prompt shows after timeout on manually navigated sites
- "Return to Rotation" resets manualNavigationMode=false
5. Rotation logic simplified:
- No checks for manualNavigationMode - just rotates based on time
- No checks for prompts or session state
- Much cleaner, less edge cases
Expected behavior:
- Home page loads, sites auto-rotate for their configured duration
- Inactivity prompt only on home page or manually navigated sites
- Media plays and stops normally, rotation continues
- No black screens, no premature popups
This brings back the simpler architecture that worked better.