Triage metroPro
Security findings ride a metro map from Scan to Triage and branch to Patched, False positive or Needs you; terminal counters roll as dots land, and a finding waiting on you can be patched or dismissed from its card.
oxyn add triage-metroSecurity triage
quillworks-api · 974 files · 6 checkers
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
- Show a security agent sorting findings as a metro map, so the outcome of every finding is visible and the ones that need a person stand out.
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
Triage metro 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 triage-metroUsage
The preview is free. Pro opens the code of every Pro component, screen and template.
Examples
Map
The full map with labels and counters.
Security triage
quillworks-api · 974 files · 6 checkers
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Bare
Lines and dots only, for a dense dashboard tile (Oxyn extra).
Security triage
quillworks-api · 974 files · 6 checkers
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Once
Runs once and stays, so you can work the Needs you stop.
Security triage
quillworks-api · 974 files · 6 checkers
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
API reference
TriageMetro
| Prop | Type | Default | Description |
|---|---|---|---|
nowrequired | ClockMs | — | Host clock. |
looping | bool | true | Start over once every finding has landed (until someone interacts). |
labels | bool | true | Station and terminal labels on the map. |
show_counts | bool | true | Terminal counters under the map. |
Read from the Rust signature and doc comments.
Keyboard interactions
| Key | Action |
|---|---|
| ← → ↑ ↓ · HomeorEnd | Move between findings on the map |
| Space | Pause or resume |
| Escape | Close the open finding |
Accessibility
- Every dot has a button with the finding, its file, severity and where it ended up.
- Terminals are named in text, not just colour; counters sit under the map.
- Moves are announced politely; Pause stops all motion.
From the spec
Every dot is a named button (finding, file, severity, outcome); the map is one focusable group with arrow keys; terminals are named in text; Space pauses all motion. Every action returns the line the polite live region announces. The focus outline shows only for keyboard focus.
Motion & interaction
Dots enter every 900 ms, dwell 500 ms at Triage and ride to their terminal. A rerouted dot rides from its terminal along a short connector to the new one. Counters roll when a dot lands.
Timing
Everything on screen is derived from the host clock now (no timers in the component), so playback, tests and the GPUI view agree.
| Transition | Duration | Easing |
|---|---|---|
| Entry gap | 900 ms (GAP) | — |
| Ride | 3200 ms incl. dwell (RIDE) | linear |
| Dwell at Triage | 500 ms (DWELL) | — |
| Reroute | 1200 ms | linear |
Reduced motion: CSS motion is cut to a frame; decorative bands and rings are hidden or still; state and text changes stay.
Responsive behaviour
- The map scales with the card; at 390 px terminal names shrink and sit above their stop.
- The finding card wraps its file path and buttons.
Edge cases (spec)
The SVG map scales with the card; dot hit targets are 22 px buttons laid over it. At 390 px terminal names shrink and sit above their stop. Checked at 1440, 768 and 390 px in light and dark with no text overlap. Chrome is monochrome grey; colour is semantic only (success, warning, danger, info) plus the official coloured brand marks.
Notes for AI
- Import
TriageMetrofromoxyn_dioxusand includeSTATUS_INDICATOR_CSSplus the token stylesheet once. - A GPUI version exists:
XPostViewinoxyn_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.