Repository navigation
feat(timeline): mute for a day or by kind from the item's menu - #643
Merged
Merged
Conversation
The Mute button keeps its one click on the actor; a small menu beside it snoozes the actor for a day, or mutes the item's kind for good or for a day, through the same mute endpoint with until set. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ln25ykE6uBDqx21WBU94SX
This was referenced Oct 18, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 Timeline page muted a source or person for good with one click, and anything else (a kind, or a mute that runs out) needed the API, MCP or the assistant.
After: Mute Work Gmail keeps its one click. A small menu beside it adds Mute Work Gmail for a day (a snooze that runs out by itself), Mute Email received items (the item's kind, named as the page names it) and the kind for a day. The notice says "Muted Work Gmail for a day" with Undo, the Muted row shows when a snooze ends, and muting a kind takes its items out of the loaded page at once, as muting a source does. The docs' refine-later line for a daily digest starter goes too: the Morning digest starter already does that.
How: the page's
useMutes().mutetakes an optionaluntil, sent to the existingPOST /api/v1/activities/mute; the menu items call it with the kind or a day from now (aDay()). No server change.Motivation and Context
A refine-later item from the mutes step (#635) of the activity stream design (thread above): "Muting a kind, or for a day, from the page (a menu on Mute)". Fewest clicks: a snooze or a kind mute is now two clicks on the item instead of a tool call.
Types of changes
!in the title)Checklist:
make hookschecks it on commit).docs/accordingly.changelog.d/(timeline-mute-menu.md).Done questions (AGENTS.md)
POST /api/v1/activities/mute(kind,until), MCPmute_activitiesand the assistant's already did this; the page catches up.until.timeline-ui.test.tsx(the menu beside Mute snoozes a source for a day, or mutes the item's kind: the kind mute by its label and the items leaving the page, the snooze withuntila day ahead and its notice); docs timeline.md, requirements.md, changelog.d.Menu,IconButton, the mutes hook and toast with Undo; no new machinery.Local CI (
ci/local-ci.sh) on this head: running; CI on the PR decides the merge.Generated by Claude Code