Repository navigation
feat(timeline): mark activities reviewed, important or hidden - #432
Merged
Merged
Conversation
Each person marks activities of the timeline for themselves alone:
POST /api/v1/activities/{id}/mark and /activities/mark (up to 500),
your marks on each page in `marks`, and reviewed, important and hidden
filters joined per source page rather than per row. The MCP tool
mark_activities and `unreviewed` on timeline; the assistant's
mark_activities asks first to hide or mark reviewed after reading
outside text. Marks go when the person is removed.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TuKmkGM2u3919KZMZLfDCK
This was referenced Oct 15, 2026
adeelahmad
added a commit
that referenced
this pull request
Oct 16, 2026
Automations merged (#432 to #464): the stream now holds every kind of activity, the Timeline page reviews it, and automations act on it with triggers, conditions, actions, approvals, limits and budgets, made by agents over MCP and in the assistant or drafted from a sentence. Say so under Automate it, with the studio labelled planned as docs/automations.md does; add the open RSS feeds (#453) and condition operators (#434) to In progress; link the timeline from the docs index. Claude-Session: https://claude.ai/code/session_01HDx7PPUauyjMn1LZs8JAsS Co-authored-by: Adeel Ahmad <noreply@anthropic.com>
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 stream of activities could be read newest first, but nobody could keep track of what they had already looked at.
After: each person marks activities
reviewed,importantorhiddenfor themselves alone, and filters the timeline by those marks ("unreviewed only", "important", leave out hidden). Agents do the same: the MCP toolmark_activitiesandunreviewedontimeline, and the assistant'smark_activities.Workflow studio M10, step 1 (marks, backend). The
/timelinepage, Home's Latest card and the nav entry come in the next PRs.How:
event_mark:<hash of account and activity>rows (the id keeps each pair unique; a compositeUNIQUEindex on the two finds nothing foraccount = $aalone on the embedded engine, so there is an index onaccount). A row with every flag cleared is deleted.POST /api/v1/activities/{id}/markandPOST /api/v1/activities/mark(up to 500, answers{marks, unknown});GET /api/v1/activitieshas your marks on the page inmarksand takesreviewed,important,hidden.events.pagetakes akeep(activities) -> idshook called once for each source page it reads.events.get_many(one look per source for many ids;Source.get_manydefaults to onegeteach, and the recordings and log sources read all of them in one query) checks the ids a person may see before marking.auth.remove_account).Defaults taken: the API shows hidden activities unless
hidden=falseis given (the page will pass it), so nothing changes for anyone who doesn't mark.Motivation and Context
Workflow studio plan, M10 (Timeline): the "mini feed" Adeel asked for needs per-person review marks.
Types of changes
!in the title)Checklist:
make hookschecks it on commit).docs/accordingly.## UnreleasedinCHANGELOG.md. (n/a: the title says it)Done questions (AGENTS.md)
mark_activitiesandtimeline unreviewed, the assistant'smark_activities.IF NOT EXISTS; nothing to do.r/iand "mark all shown" with undo.docs/timeline.mdlabels marks built and the page, Home card and "what this caused" planned.make openapi).docs/timeline.md.🤖 Generated with Claude Code
https://claude.ai/code/session_01TuKmkGM2u3919KZMZLfDCK
Generated by Claude Code