Activity feed & timelinePro
Events grouped by day, newest first, on a quiet avatar line: a type filter, new updates held behind a button so nothing jumps, expandable details, unread dots and Mark all read. The timeline variant drops the controls.
oxyn add activity-feedActivity
3 newToday
- 5 files · +212 −18 · all checks passed
Yesterday
3 days ago
The preview stays free for everyone. Pro opens the code of every Pro component, screen, agent-app template, block and kit, plus the Pro CLI.
Rendered from Rust at build time · goes live when visible
When to use
- What happened, newest first, grouped by day (Today, Yesterday, n days ago) on a quiet avatar line.
- The feed adds a type filter, unread dots and a count, new events held behind a “n new updates” button so nothing jumps, expandable details (expanding marks read), Mark all read, and a range (today, week, month).
- The timeline variant keeps only the line, markers and details.
When not to use
- An agent asks before it acts: use Approval Card instead.
- Several open requests in one card: use Approval pager instead.
- An agent's question in its own card above the composer: use Decision Card instead.
Installation
Activity feed & timeline is part of Oxyn Pro; the preview is free. Pro items install with the oxyn CLI once your licence is signed in; until then Pro members copy the code from this page.
oxyn add activity-feedUsage
The preview is free. Pro opens the code of every Pro component, screen and template.
Examples
Feed
Filter, unread dots, new updates.
Activity
3 newToday
- 5 files · +212 −18 · all checks passed
Yesterday
3 days ago
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Timeline
Quiet timeline.
Timeline
Today
- 5 files · +212 −18 · all checks passed
Yesterday
3 days ago
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Today
Today only.
Activity
3 newToday
- 5 files · +212 −18 · all checks passed
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
API reference
ActivityFeed
| Prop | Type | Default | Description |
|---|---|---|---|
feedrequired | Feed | — | Model. |
variant | String | "feed" | `feed` (filter, unread, mark read) · `timeline` (quiet line with markers). |
title | String | "Activity" | Heading. |
on_filter | EventHandler<Option<EventKind>> | — | Filter changed. |
on_toggle | EventHandler<String> | — | Toggle an event. |
on_show_new | EventHandler<()> | — | Show new updates. |
on_read_all | EventHandler<()> | — | Mark all read. |
Read from the Rust signature and doc comments.
Keyboard interactions
| Key | Action |
|---|---|
| Tab | Filter, new updates, events |
| EnterorSpace | Expand an event (marks it read) |
Accessibility
- Day labels are headings; events are buttons with aria-expanded.
- The filter is a radiogroup.
From the spec
- Day headings; events are buttons with aria-expanded; filter is a radiogroup.
Motion & interaction
Timing
- Reduced motion: no entrance rise, no shimmer (static muted text), rings and bars jump to their value.
Responsive behaviour
- Targets truncate; times stay right.
Edge cases (spec)
- Targets truncate; times stay right.
Notes for AI
- Import
ActivityFeedfromoxyn_dioxusand includeSTATUS_INDICATOR_CSSplus the token stylesheet once. - A GPUI version exists:
ActivityFeedElinoxyn_gpui. - Props to set first:
feed. - Keep its states and timings as they ship; restyle it through the CSS variables rather than by hand.