Assign boardPro
Hand tasks to agents yourself: a pile of unassigned work beside each agent's model, rate, busy-until time and queue, with the money waiting in queues – or switch on Auto and let whoever frees up first take the next one.
oxyn add assign-boardDelegate
Drop a task on an agent to hand it overThe 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
- Hand tasks to agents yourself – or let Auto do it: a pile of unassigned work beside each agent's model, rate, busy-until time and queue, with the money waiting in queues.
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
Assign board 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 assign-boardUsage
The preview is free. Pro opens the code of every Pro component, screen and template.
Examples
Default
Four tasks in the pile, two agents busy, one free. Drag a card onto an agent – or press Enter on it, choose with ↑ ↓ and press Enter, or press the agent's digit.
Delegate
Drop a task on an agent to hand it overCode Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Suggest
A suggested hand-over: the agent lights up with the time it would be busy until, and the task is marked in the pile.
Delegate
Drop a task on an agent to hand it overCode Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Queued
Three tasks queued on one agent: the queue folds past three into a +N chip with the rest in its tooltip; click a waiting chip to put it back.
Delegate
Drop a task on an agent to hand it overCode Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Auto
Auto switched on: one task a second goes to whoever frees up first, until the pile is empty; queued counts show beside the names.
Delegate
Each task goes to the agent that frees up firstCode Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Done
Everything handed out: an empty pile and the money waiting in queues.
Delegate
Drop a task on an agent to hand it overNothing left to hand out
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Narrow
Under 560 px the pile sits above the agents.
Delegate
Drop a task on an agent to hand it overCode Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Classic
Classic style: header and footer bands, each agent framed.
Delegate
Drop a task on an agent to hand it overCode Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
API reference
AssignBoard
| Prop | Type | Default | Description |
|---|---|---|---|
agents | Option<Vec<DbAgent>> | Default::default() | The agents (the demo's when `None`). |
tasks | Option<Vec<DbTask>> | Default::default() | The tasks (the demo's when `None`); those not in `assigned` start in the pile. |
assigned | Vec<(String, String)> | Default::default() | Hand-overs already made: (task id, agent id). |
auto | bool | Default::default() | Start in Auto mode. |
suggestion | Option<(String, String)> | Default::default() | A suggested hand-over (task id, agent id): the agent lights up with its new time. |
start | u32 | DB_START | The clock the "busy until" times count from, minutes after midnight. |
title | String | "Delegate" | Heading. |
nowrequired | ClockMs | — | The clock (drives Auto). |
style | String | Default::default() | `clean`, `classic`, or empty to follow `data-cstyle`. |
on_assign | EventHandler<(String, Option<String>)> | — | A task was handed over (task id, agent id) or put back in the pile (`None`). |
on_mode_change | EventHandler<bool> | — | Auto switched on or off. |
Read from the Rust signature and doc comments.
Keyboard interactions
| Key | Action |
|---|---|
| Enter | Picks up the focused task; Enter again hands it to the chosen agent |
| ↑or↓ | Chooses the agent while a task is held |
| 1 – 9 | Hands the held task to that agent at once |
| Escape | Puts the held task back |
Accessibility
- Pile cards are toggle buttons (aria-pressed while held); each agent is a named group whose digit button carries aria-keyshortcuts.
- Auto is a role=switch; each hand-over and put-back is read out by a polite status region.
- Dragging is optional – Enter, the arrows and the digits do the same; the +N chip is focusable and lists the rest in a tooltip.
Responsive behaviour
- Fills up to 720 px: pile left (170 px), agents right.
- Under 560 px the pile sits above the agents and the hint line drops out of the header.
Edge cases (spec)
Fills up to 720 px; under 560 px the pile sits above the agents and the header hint drops out.
Notes for AI
- Import
AssignBoardfromoxyn_dioxusand includeSTATUS_INDICATOR_CSSplus the token stylesheet once. - A GPUI version exists:
AssignBoardElinoxyn_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.