Skip to content
Back

Agent / ActivityPro

What agents did in your apps, grouped by day: filter tabs with counts, a search, official app marks and Undo or Final on each row. The work area shows When, Task and Cost, What happened, Why it could and Taking it back with a live countdown.

oxyn add agent-activity

Activity

Today6

Yesterday3

The code is part of Oxyn Pro

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.

Get Pro

Rendered from Rust at build time · goes live when visible

When to use

  • A plain record of what agents did in your apps, and a way to take it back while you still can.

When not to use

  • Mail folders with counts and labels beside a message list: use Inbox sidebar instead.
  • The app frame: use App shell instead.
  • An assistant docked beside a page: use AI side panel instead.

Installation

Agent / Activity 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.

Terminal
oxyn add agent-activity

Usage

Dioxus · rust
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Examples

Sample

Sample data in the Inset frame.

Activity

Today6

Yesterday3

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Flat

The same screen in the Flat frame.

Activity

Today6

Yesterday3

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Loading

Skeletons where the data will land.

Activity

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Empty

Nothing yet: each region says what will appear and how to start.

Activity

Nothing done yet

Every email, refund or post an agent makes shows here, with a way to take it back.

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Undone

The first step undone: struck through and counted under Undone.

Activity

Today6

Yesterday3

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Cost

Oxyn: each step’s cost on its row.

Activity

Today6

Yesterday3

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Clock

Oxyn: the undo window as a clock.

Activity

Today6

Yesterday3

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

API reference

ActivityScreen

PropTypeDefaultDescription
layoutString"inset"`inset` or `flat`.
stateString"sample"A state key.
heightu32640Height px.
nowrequiredClockMs—The clock (the undo countdown).
costboolDefault::default()Oxyn: a cost column on each row.
clockboolDefault::default()Oxyn: the countdown as a clock (17:42) instead of words.

Read from the Rust signature and doc comments.

Keyboard interactions

KeyAction
TabSidebar, page, then each control in reading order
←or→ in a tab rowMove between tabs
EscapeClose an open menu or popover; clear a search
Enter on a rowOpen the step
Enter on UndoTake it back while the window is open

Accessibility

  • The Fieldwork sidebar is a labelled nav with aria-current on this page.
  • Tabs are a tablist with arrow keys; menus report aria-expanded and close on Escape.
  • Skeletons are hidden from screen readers; every action reports what it did in a polite live region.
  • Each Undo button names the step it reverses; the countdown is a timer.

Responsive behaviour

  • Authored on the 1440 × 900 canvas; the full view lays it out at the real width.
  • Under 640 px the sidebar slides in from the menu button and top-bar actions keep their icons with hidden labels.
  • Under 520 px the time column hides and Undo keeps its icon.
Edge cases (spec)

Authored on the 1440 × 900 stage (rule R1) and scaled to its column; the full view (/screens/agent-activity/full) renders at the real viewport with the state bar under it (R2). Under 640 px the sidebar slides in from a menu button. Under 760 px the search hides; under 520 px the time column hides and Undo keeps its icon. Every label in a row, chip or card ellipsises in a flex child with min-width 0 (R5); scripts/ovl.py finds no text overlap at 1440, 768 and 390 in light and dark.

Notes for AI

  • Import ActivityScreen from oxyn_dioxus and include STATUS_INDICATOR_CSS plus the token stylesheet once.
  • A GPUI version exists: ActivityEl in oxyn_gpui.
  • Props to set first: now.
  • It reads a clock (now) for live timers; pass one clock for the whole page rather than one per component.
  • Keep its states and timings as they ship; restyle it through the CSS variables rather than by hand.

Guides

Oxyn · 74 free components · 264 Pro components · 96 screens · 20 blocks · Dioxus and GPUI