| β¦ | β¦ | @@ -21,12 +23,18 @@ export function UsageLimitRecoveryCard({ | |
| 22 | 24 | const scheduled = | |
| 23 | 25 | recovery?.runId === runId && recovery.resetAt === resetAt && recovery.autoResume; | |
| 24 | - | async function toggle() { | |
| 26 | + | const snoozed = resetAt !== null && snoozedUntil === resetAt; | |
π‘ Medium chat/UsageLimitRecoveryCard.tsx:26
The card remains in the βSnooze until resetβ state after snoozing when snoozedUntil and resetAt use different valid ISO spellings for the same instant, so it renders βWake nowβ incorrectly and sends stale snooze state on later updates. Compare their parsed instants here and apply the same canonical comparison in the server-side clearing logic.
No longer relevant as of a67feee778f88c18a73e38ed449d7cf3ee217319
Fixed in 8b025e85ec4. Web, mobile, and server snooze comparisons use epoch times. The focused V2 test uses an equivalent +00:00 reset and verifies wake clears the persisted snooze.
| β¦ | β¦ | @@ -2244,6 +2244,22 @@ export function GeneralSettingsPanel() { | |
| 2246 | 2246 | /> | |
| 2247 | + | <SettingsRow | |
| 2248 | + | serverScoped | |
| 2249 | + | title="Snooze limited threads" | |
π‘ Medium settings/SettingsPanels.tsx:2249
The Snooze setting is missing the snooze-limited-threads DOM id, so selecting that Settings search result opens General but cannot scroll to or focus this row. This row supplies only a literal title; spread searchableSetting("snooze-limited-threads") so the catalog target resolves correctly.
Also found in 1 other location(s)
apps/web/src/components/settings/settingsSearch.ts:276
This catalog entry is navigated to with
#snooze-limited-threads, but the correspondingSettingsRowinSettingsPanels.tsxonly supplies a literal title and never spreadssearchableSetting("snooze-limited-threads"), so no DOM element has that id. Selecting this result from Settings search/command palette therefore lands at the General page without scrolling to or focusing the Snooze setting. Add the searchable props to that row (or pointtargetIdat a stable existing section).
β Resolved in a67feee778f88c18a73e38ed449d7cf3ee217319
Fixed in 8b025e85ec4. The Snooze row uses searchableSetting and has its matching DOM id. I exercised Settings search in the live browser.