Repository navigation
feat(timeline): a Timeline page to review what came in, and Latest on Home - #437
Merged
Merged
Conversation
… Home The Timeline page under Explore: newest first with Older, a "3 new" pill from a light 15-second look while the tab is visible, runs of the same actor and kind within 30 minutes as one line, filters in the address (remembered per browser) for words, unreviewed, important, kinds by family, source or person, namespace, entity, dates and automation, and review with toggles, j/k/r/i keys, Hide and "Mark all shown as reviewed" with undo. Filters open in a sheet on a phone. Home's overview gets a Latest card with the five newest unreviewed items. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TuKmkGM2u3919KZMZLfDCK
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TuKmkGM2u3919KZMZLfDCK
…-mx8h9c # Conflicts: # docs/automations.md
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: activities from every source could be read and marked through the API, MCP and the assistant (#432), but the web app had nowhere to see them.
After: Timeline under Explore shows everything that came in, newest first. A run of the same source and kind within 30 minutes reads as one line ("Work Gmail received 37 emails") that opens to its items. Filters cover words, Unreviewed only, Important, kinds by family, source or person, namespace, entity, dates and automation. They live in the address and are remembered per browser. You review with the star and circle toggles, the
j/k/r/ikeys, Hide, and Mark all shown as reviewed, each with Undo instead of a confirm. New items wait behind an "N new" pill, from a 15-second poll while the tab is visible, so the list never jumps. On a phone the filters open in a sheet. Home's overview gets a Latest card with the five newest unreviewed items.How:
components/timeline/model.tsholds the pure parts: filters to and from the address and to the API query, kind families, grouping, merging new items, and object links and fields.use-timeline.tscovers the infinite query, the new-items poll, and marks set optimistically, chunked by 500, with an Undo toast.timeline-page.tsx,item.tsx,filters.tsxandlatest-card.tsxare the UI, built from the existing components (Drawer, Popover, Select, Checkbox, Toast).Defaults taken:
docs/timeline.mdlabels them so.Motivation and Context
Workflow studio plan, M10 (Timeline), step 2: the page, Home's card and the nav entry, on the marks API merged in #432.
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)
timeline/mark_activitiesand the assistant (feat(timeline): mark activities reviewed, important or hidden #432).j/k/r/i), Enter applies the words filter, Undo instead of confirm, and the last filters come back on their own.docs/timeline.mdanddocs/automations.mdlabel the page and card built, and "what this caused" and approvals planned.timeline-model.test.ts(8) andtimeline-ui.test.tsx(7); nav-groups test updated; all 944 frontend tests andnext buildpass locally;docs/timeline.md,docs/frontend.mdanddocs/automations.mdupdated.docs/timeline.md(server-sent updates, saved views, a daily digest).🤖 Generated with Claude Code
https://claude.ai/code/session_01TuKmkGM2u3919KZMZLfDCK
Generated by Claude Code