Skip to content
Back

Return briefPro

The While you were away card for a chat thread – how long you were gone, what needs you, what failed and what's done as a short list with one action per row; Got it folds it into a one-line divider.

oxyn add return-brief
Move the nightly export to the new bucket – shout if anything's unclear.
Sure. I'll break it into steps and carry on while you're away.

While you were away · 2h 14m

2 need you·1 failed·5 done
  • needs you: Export jobWaiting on: CSV or Parquet for the archive?
  • needs you: Release notesWaiting on: Post to the changelog or email only?
  • failed: Invoice syncFailed: timeout from the billing API after 912 rows
  • done: Cache layerOpened PR #317 · on preview
  • done: Search pageShipped to the beta group
Reply to the agent…
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

  • The "While you were away" card for a chat thread, right where the person left off: how long they were gone, what needs them, what failed and what's done as a short list with one action per row; Got it folds it into a one-line divider.

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

Return brief 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 return-brief

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

Default

Two need you, one failed, five done – five rows, Show 3 more and Got it, in the thread where you left off.

Move the nightly export to the new bucket – shout if anything's unclear.
Sure. I'll break it into steps and carry on while you're away.

While you were away · 2h 14m

2 need you·1 failed·5 done
  • needs you: Export jobWaiting on: CSV or Parquet for the archive?
  • needs you: Release notesWaiting on: Post to the changelog or email only?
  • failed: Invoice syncFailed: timeout from the billing API after 912 rows
  • done: Cache layerOpened PR #317 · on preview
  • done: Search pageShipped to the beta group
Reply to the agent…
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

Resolved

A decision made: the row turns done in place, its tick draws and the counts roll.

Move the nightly export to the new bucket – shout if anything's unclear.
Sure. I'll break it into steps and carry on while you're away.

While you were away · 2h 14m

1 needs you·1 failed·6 done
  • done: Export jobAnswered: Parquet · exporting now
  • needs you: Release notesWaiting on: Post to the changelog or email only?
  • failed: Invoice syncFailed: timeout from the billing API after 912 rows
  • done: Cache layerOpened PR #317 · on preview
  • done: Search pageShipped to the beta group
Reply to the agent…
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

Expanded

Show 3 more: every row, and Show less.

Move the nightly export to the new bucket – shout if anything's unclear.
Sure. I'll break it into steps and carry on while you're away.

While you were away · 2h 14m

2 need you·1 failed·5 done
  • needs you: Export jobWaiting on: CSV or Parquet for the archive?
  • needs you: Release notesWaiting on: Post to the changelog or email only?
  • failed: Invoice syncFailed: timeout from the billing API after 912 rows
  • done: Cache layerOpened PR #317 · on preview
  • done: Search pageShipped to the beta group
  • done: API referencePublished 22 pages
  • done: Load checkHeld at 15k requests a minute
  • done: Flaky specsQuarantined 2 specs in onboarding
Reply to the agent…
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

Folded

Since a time, folded at first: a one-line divider that opens the card again.

Move the nightly export to the new bucket – shout if anything's unclear.
Sure. I'll break it into steps and carry on while you're away.
Reply to the agent…
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

Slow retry

A retry that takes a while: the button works for a moment before the row settles.

Move the nightly export to the new bucket – shout if anything's unclear.
Sure. I'll break it into steps and carry on while you're away.

While you were away · 2h 14m

2 need you·1 failed·5 done
  • needs you: Export jobWaiting on: CSV or Parquet for the archive?
  • needs you: Release notesWaiting on: Post to the changelog or email only?
  • failed: Invoice syncFailed: timeout from the billing API after 912 rows
  • done: Cache layerOpened PR #317 · on preview
  • done: Search pageShipped to the beta group
Reply to the agent…
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

Narrow

Narrow: the counts drop under the title and long lines end in an ellipsis.

Move the nightly export to the new bucket – shout if anything's unclear.
Sure. I'll break it into steps and carry on while you're away.

While you were away · 2h 14m

2 need you·1 failed·5 done
  • needs you: Export jobWaiting on: CSV or Parquet for the archive?
  • needs you: Release notesWaiting on: Post to the changelog or email only?
  • failed: Invoice syncFailed: timeout from the billing API after 912 rows
  • done: Cache layerOpened PR #317 · on preview
  • done: Search pageShipped to the beta group
Reply to the agent…
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

Classic

Classic style: the header in a grey band, a stronger border and shadow.

Move the nightly export to the new bucket – shout if anything's unclear.
Sure. I'll break it into steps and carry on while you're away.

While you were away · 2h 14m

2 need you·1 failed·5 done
  • needs you: Export jobWaiting on: CSV or Parquet for the archive?
  • needs you: Release notesWaiting on: Post to the changelog or email only?
  • failed: Invoice syncFailed: timeout from the billing API after 912 rows
  • done: Cache layerOpened PR #317 · on preview
  • done: Search pageShipped to the beta group
Reply to the agent…
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

ReturnBrief

PropTypeDefaultDescription
itemsOption<Vec<AwayItem>>Default::default()Your own items (the demo's when `None`); what needs you comes first.
awayu32AWAY_MINUTESHow long the person was away, in minutes (the head reads "2h 14m").
since_clockOption<u32>Default::default()When set (minutes after midnight), the head reads "since 9:40" instead.
limitusize5Rows before Show N more.
default_collapsedboolDefault::default()Starts folded into the divider.
expandedboolDefault::default()Starts with every row shown.
resolvedVec<String>Default::default()Rows that start resolved (ids).
work_msu64Default::default()How long an action works before it settles, in ms (0 settles at once).
titleString"While you were away"Heading.
nowrequiredClockMs—The clock.
styleStringDefault::default()`clean`, `classic`, or empty to follow `data-cstyle`.
on_actionEventHandler<String>—A row's action (item id).
on_dismissEventHandler<()>—Got it was pressed.
on_collapsed_changeEventHandler<bool>—Folded (true) or opened (false).

Read from the Rust signature and doc comments.

Keyboard interactions

KeyAction
TabThrough the row actions, then Show more and Got it
EnterorSpaceRuns the focused action; Got it folds the card and focuses the divider, which opens it again
EscapeFolds the card from anywhere inside it

Accessibility

  • A region named While you were away with a heading that says how long; the rows are a list.
  • Every action names its task ("Decide: Export job") and each row says its state in words.
  • Got it and the divider are buttons with aria-expanded; a working button stays focusable (aria-disabled); changes are announced politely.

Responsive behaviour

  • 600 px up to its container; rows keep one height in every state.
  • Under 460 px the counts drop under the title; titles, details and long action labels end in an ellipsis.
Edge cases (spec)

Up to 600 px; rows keep one height. Under 460 px the counts drop under the title; titles, details and long action labels end in an ellipsis (full text in a tooltip); touch buttons are 36 px tall.

Notes for AI

  • Import ReturnBrief from oxyn_dioxus and include STATUS_INDICATOR_CSS plus the token stylesheet once.
  • A GPUI version exists: ReturnBriefEl 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