Files
TX/artifacts
riyadhafraa d310c6b8cb Task #353: Fix current-meeting highlight sticking after device sleep
The green highlight on the currently-in-progress meeting row would get
stuck when the user locked their iPad, switched apps, or the device
slept. The 60-second setInterval timer that drives `nowTick` is frozen
by the browser during background/sleep states. When the user returned,
the timer wouldn't fire immediately, leaving the highlight on the
old meeting.

Fix: Added a `visibilitychange` event listener alongside the existing
interval timer. When the document becomes visible again, it immediately
calls `setNowTick(Date.now())`, which triggers `computeCurrentMeetingId`
to re-evaluate via the existing useMemo dependency. The listener is
properly cleaned up in the effect's return function.

Changed file:
- artifacts/tx-os/src/pages/executive-meetings.tsx (lines 1065-1084)
2026-05-04 06:51:50 +00:00
..
2026-04-18 02:00:09 +00:00