Mobile could snooze a thread but never see it again: snoozedCount only fed
the empty state, so snoozed threads were invisible whenever any other
thread existed, and nothing anywhere called thread.unsnooze. The swipe
Snooze action added earlier in this branch made that a one-way door.
Ports the desktop snoozed shelf (SidebarV2, #4311) to both mobile v2
surfaces:
- buildThreadListV2Items now returns snoozed rows between the inbox and
the settled tail, sorted soonest-wake-first, plus the index where the
shelf header belongs. Collapsed by default like web; the open thread
keeps its row so a snoozed thread opened in iPad split view can't
vanish behind a closed shelf.
- Snoozed rows show their wake time ("2h", "3d") in blue instead of last
activity, via snoozeWakeLabel ported from web's Sidebar.snooze.ts.
- Waking: swipe primary becomes Wake, long-press menu offers "Wake
thread", both routed through a new unsnoozeThread action. Snooze is not
offered on an already-snoozed row.
- Drops the all-snoozed empty states on both surfaces — the shelf header
renders whenever anything is snoozed, so the list is never truly empty.
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>