Skip to content
Back

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-metro

Security triage

quillworks-api · 974 files · 6 checkers

0Patched0False positive0Needs you
Triaging 1 of 8 findings
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

  • 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.

Terminal
oxyn add triage-metro

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

Map

The full map with labels and counters.

Security triage

quillworks-api · 974 files · 6 checkers

0Patched0False positive0Needs you
Triaging 1 of 8 findings
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

Bare

Lines and dots only, for a dense dashboard tile (Oxyn extra).

Security triage

quillworks-api · 974 files · 6 checkers

Triaging 1 of 8 findings
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

Once

Runs once and stays, so you can work the Needs you stop.

Security triage

quillworks-api · 974 files · 6 checkers

0Patched0False positive0Needs you
Triaging 1 of 8 findings
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

TriageMetro

PropTypeDefaultDescription
nowrequiredClockMs—Host clock.
loopingbooltrueStart over once every finding has landed (until someone interacts).
labelsbooltrueStation and terminal labels on the map.
show_countsbooltrueTerminal counters under the map.

Read from the Rust signature and doc comments.

Keyboard interactions

KeyAction
← → ↑ ↓ · HomeorEndMove between findings on the map
SpacePause or resume
EscapeClose 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.

TransitionDurationEasing
Entry gap900 ms (GAP)—
Ride3200 ms incl. dwell (RIDE)linear
Dwell at Triage500 ms (DWELL)—
Reroute1200 mslinear

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