Skip to content
Back

Review CenterPro

A focused workspace for what agents want to do: the queue sorted by risk, one item at a time with the shaky spans flagged, and Approve, Edit, Reject and Skip on single keys with undo.

oxyn add review-center

Review center

24 of 29 reviewed
Support agentSonnetHigh risk62% sure2 flagged · F
Refund order #4821

The blender arrived cracked; damaged items are covered within 30 days.

Amount
$184.00Includes $20 express shipping, which the policy may not cover. · Refund policy §4
Order
#4821 · delivered 6 days ago
Reply to the customer

Hi, I'm sorry your blender arrived cracked. I've refunded the full $184.00Full amount includes shipping. to your card; it should show within 3–5 days.

A approve · E edit · R reject · S skip · J/K move · Z undo
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

  • Human in the loop at volume.
  • Center holds the queue: sorted by risk then oldest (or oldest, or as given), filtered All / High risk / Unsure (confidence below low_confidence), one current item.
  • Items carry reasoning, labelled fields and a body made of spans with flagged parts (the agent's note and source), files (a unified diff with line numbers) or plan steps (flagged numbers in amber).
  • Approve, Edit (approve with your text), Reject with a reason (1–4) and Skip; undo puts the item back.

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

Review Center 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 review-center

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

Queue

High risk first, then oldest; one item at a time.

Review center

24 of 29 reviewed
Support agentSonnetHigh risk62% sure2 flagged · F
Refund order #4821

The blender arrived cracked; damaged items are covered within 30 days.

Amount
$184.00Includes $20 express shipping, which the policy may not cover. · Refund policy §4
Order
#4821 · delivered 6 days ago
Reply to the customer

Hi, I'm sorry your blender arrived cracked. I've refunded the full $184.00Full amount includes shipping. to your card; it should show within 3–5 days.

A approve · E edit · R reject · S skip · J/K move · Z undo
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

Unsure

Only items below the confidence bar.

Review center

24 of 29 reviewed
Support agentSonnetHigh risk62% sure2 flagged · F
Refund order #4821

The blender arrived cracked; damaged items are covered within 30 days.

Amount
$184.00Includes $20 express shipping, which the policy may not cover. · Refund policy §4
Order
#4821 · delivered 6 days ago
Reply to the customer

Hi, I'm sorry your blender arrived cracked. I've refunded the full $184.00Full amount includes shipping. to your card; it should show within 3–5 days.

A approve · E edit · R reject · S skip · J/K move · Z undo
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

Tight sla

A 20-minute service level: waiting times turn amber, then red.

Review center

24 of 29 reviewed
Support agentSonnetHigh risk62% sure2 flagged · F
Refund order #4821

The blender arrived cracked; damaged items are covered within 30 days.

Amount
$184.00Includes $20 express shipping, which the policy may not cover. · Refund policy §4
Order
#4821 · delivered 6 days ago
Reply to the customer

Hi, I'm sorry your blender arrived cracked. I've refunded the full $184.00Full amount includes shipping. to your card; it should show within 3–5 days.

A approve · E edit · R reject · S skip · J/K move · Z undo
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

Batch

Approve every low-risk item in one go.

Review center

24 of 29 reviewed
Code agentMedium risk81% sure
Rate-limit sign-in attempts

Brute-force attempts spiked last week; five tries a minute per account.

src/auth.rs+5 −2
use crate::store::{find, Session};
Added: use crate::rate::Limiter;
/// Signs a user in.
Removed: pub fn login(id: u32, pw: &str) -> Result<Session, Denied> {
Added: pub fn login(id: u32, pw: &str, rl: &Limiter) -> Result<Session, Denied> {
Added: rl.hit(id)?;
let user = find(id)?;
Removed: let ok = check(pw);
Added: let ok = verify(pw, &user.salt)?;
if !ok {
pub fn logout(s: Session) {
Added: s.revoke_tokens();
s.end();
A approve · E edit · R reject · S skip · J/K move · Z undo
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

ReviewCenter

PropTypeDefaultDescription
itemsrequiredVec<ReviewItem>—Everything waiting.
nowrequiredClockMs—Clock.
reviewedusizeDefault::default()Reviewed before (the header counts on from here).
slau641_800_000Service level, ms.
low_confidencef320.7Below this confidence an item is Unsure.
reasonsVec<String>REJECT_REASONS.iter().map(|s| s.to_string()).collect()Quick rejection reasons (1–4).
orderOrderOrder::RiskQueue order.
default_filterFilterFilter::AllStarting filter.
titleString"Review center"Title.
batch_lowboolDefault::default()Batch "Approve all low risk" (Oxyn plus).
on_decideEventHandler<(String, Verdict)>—Approved or rejected.
on_undoEventHandler<String>—The last decision was taken back.
on_skipEventHandler<String>—Skipped.
on_filter_changeEventHandler<Filter>—Filter changed.

Read from the Rust signature and doc comments.

Keyboard interactions

KeyAction
AApprove the current item
EEdit the proposal; ⌘↵ approves with the edits, Esc cancels
RReject, then 1–4 picks the reason; Esc cancels
SSkip without deciding
JorK or ↓or↑Next / previous item
FJump to the next flagged span and open its note
Z or ⌘ZUndo the last decision

Accessibility

  • Shortcuts work anywhere inside; buttons carry aria-keyshortcuts; the reason picker is a labelled group.
  • Queue rows are labelled with title, type, risk, confidence and waiting time; the current one has aria-current.
  • Each flagged span takes focus and links its note via aria-describedby (role tooltip); every decision updates the remaining count.
From the spec
  • Shortcuts work while focus is anywhere inside; buttons carry aria-keyshortcuts.
  • Queue rows are labelled with title, type, risk, confidence and waiting time; aria-current on the current one.
  • Flagged spans are focusable with aria-describedby → role=tooltip; decisions, skips and undos are announced with the new count.
  • When the current item leaves, the next one becomes current (focus is not lost).

Motion & interaction

Timing
  • The next item rises 8 px over 300 ms; queue rows fade in at their sorted place.
  • The pressed decision stamps in the footer (200 ms pop); the progress bar glides (300 ms).
  • Filter counts roll; notes fade in 140 ms.
  • Reduced motion: no travel.

Responsive behaviour

  • Container query: wide, the queue sits left of the item in a fixed-height workspace; under 640 px the queue goes on top (three rows) and buttons share the width.
  • Under 420 px the flag counter hides and button icons step aside.
Edge cases (spec)
  • Container query: side by side when wide (480 px workspace); under 640 px the queue is on top, three rows high; buttons share the width.
  • Under 420 px the flag counter hides and button icons step aside; diffs scroll sideways.

Notes for AI

  • Import ReviewCenter from oxyn_dioxus and include STATUS_INDICATOR_CSS plus the token stylesheet once.
  • A GPUI version exists: ReviewCenterEl in oxyn_gpui.
  • Props to set first: items, now.
  • 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