Repository navigation
feat(timeline): snooze a source, person or kind for an hour or a week as well as a day - #660
Merged
Merged
Conversation
… as well as a day Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Ln25ykE6uBDqx21WBU94SX
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Adeel · project thread
Description
Before: the menu beside Mute on a timeline item snoozed a source, person or kind for a day only; any other length meant the API.
After: the menu offers Mute Work Gmail for an hour, for a day and for a week, and the same three for the item's kind, next to muting for good. The notice says how long ("Muted Work Gmail for a week"), and Undo or the Muted row lifts it as before.
How: the lengths live in one place in the page's model (
SNOOZES,snoozeUntil); the menu lists them, anduseMutes().mutetakes the length and sendsuntil. No server change.Motivation and Context
A refine-later item of the activity stream's muting step (#643): "a snooze of your own length from the page". A snooze to a time you pick stays on the refine-later list (the API already takes any
until).Types of changes
!in the title)Checklist:
make hookschecks it on commit).docs/accordingly.changelog.d/(timeline-snooze-lengths.md).Done questions (AGENTS.md)
POST /api/v1/activities/muteandmute_activitiesalready take anyuntil.the menu beside Mute snoozes a source for an hour, a day or a week, or mutes the item's kindanda snooze ends an hour, a day or a week from now; docs, requirements.md, changelog.d.useMutesand the mute route.CI on the PR decides the merge.
Generated by Claude Code