Files
t3code/apps
Theo BrowneandClaude Opus 5 a74bb10a11 fix(mobile): keep snoozed rows live across the clock tick
Three memoization defects found in review, all invisible to the pure
partition tests:

- The iPad row comparator ignored `snoozed`, and a timer wake changes no
  shell field — so a woken thread that also classified as settled kept
  its blue countdown and Wake action until an unrelated update landed.
- The sidebar's renderListItem closed over `snoozedShelfExpanded` without
  it in the dep array, so the header always drew the collapsed chevron
  and count regardless of state. Expansion now travels on the list item
  itself, which also lets the comparator see it change.
- The countdown label was computed inside the memoized row from
  `new Date()`, so it froze at first render — "2h" stayed "2h" as the
  wake approached. Both surfaces now compute it against their existing
  minute tick and pass it down, matching web's snoozeWakeLabelText.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
2026-07-26 15:45:04 -07:00
..