mirror of
https://github.com/wu736139669/hapi.git
synced 2026-11-07 01:21:37 +00:00
iOS showed scheduled messages but could not create them. A clock button now sits next to the composer's attachment button. It offers the web presets (in 5 min, 30 min, 1 h, 4 h) or a specific time up to 7 days ahead. A chip above the input shows the pending time; its × sends normally again. Presets resolve when the user taps Send, so "in 5 minutes" counts from the send. Validation follows the web: a 30 s grace period for past times and a 7-day maximum. A scheduled send is text-only and queued. The hub rejects scheduledAt with attachments or steer, so the clock is disabled while attachments are present and the steer menu is hidden. The schedule clears once the send dispatches. Sending reuses the existing optimistic path, and a retry keeps the row's scheduledAt. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>