Incident Pilot

@fde/ui

Component kit

Static production-incident examples of the shared UI components. These displays are not live operational records or metrics; model badges below are illustrative.

Brand

Logo, palette tokens and type. Internal-use marks only.

InsightInsight symbol

Accelerate transformation

Magenta

Primary accent

Magenta 2

Gradient partner

Purple

Accent

Blue

Cool accent / info

Cyan

Cool accent

Red

Alert / destructive only

Charcoal

Text

Muted

Secondary text

Line

Hairlines

StatCard

Illustrative seed counts, not live operational metrics. One tile per tone.

Open incidents

7

Illustrative seed count

Resolved

1

Illustrative seed count

Awaiting input

1

Illustrative seed count

Critical

2

Illustrative seed count

Unassigned

2

Illustrative seed count

Total incidents

8

Illustrative seed count

StatusBadge / StatusDot

Domain values map to tones via toneFor().

NeutralInfoSuccessWarningDangerBrand
NewIn progressAwaiting inputResolvedLowMediumHighCritical
neutralinfosuccesswarningdangerbrand

ResultPanel / SourceBadge

AI output labelled by source: model vs sample.

AI generated · 2.3sSample output
Incident assessment
Illustrative assessment from incident evidence.
AI generated · 2.3s

Recommended next steps

Line 3 has reported repeated E-214 servo-overcurrent alarms. A changeover link and elevated cabinet temperature are observations, not a confirmed root cause.

  1. Review the fault log and changeover setup
  2. Verify cabinet cooling and drive condition under approved maintenance procedures
  3. Confirm restart criteria with the supervisor before returning to operation
  • Owner: Maintenance lead
  • Urgency: supervisor review now
Was this helpful?
Incident assessment
Shown when no model is configured.
Sample output
No AI model is configured, so this is labelled sample output.

Line 3 has repeated E-214 alarms. Sample output: verify the fault log and current containment; a contributing factor is not a confirmed root cause.

Was this helpful?
Assessing incident
Reviewing incident evidence…
Analysis failed

Artifact

Generated deliverables with copy and download.

Supervisor review note
Subject: Line 3 incident review — CASE-1001 Hi team, Please bring the E-214 fault log, changeover notes and cabinet temperature readings to the supervisor review. Confirm the current containment and restart criteria. This draft does not authorize a restart. Thanks, Shift supervisor

DataTable

Typed table; click a row to select it.

IDTitleStatusPriority
CASE-1001Recurring equipment stoppage on Line 3In progressCritical
CASE-1002Seal-quality hold awaiting laboratory resultsAwaiting inputHigh
CASE-1008Torque-check failures on Assembly Cell 2NewHigh
CASE-1007Photoeye alignment repair verifiedResolvedLow

No incidents yet

Incident records appear here once data is available.

KeyValueList

Record attributes; empty values render as a dash.

Incident
CASE-1001
Status
In progress
Owner
Marcus Lee
Escalated
No
Fault code
E-214
Due
—

ConfirmAction / FileUpload

Human-in-the-loop confirmation and in-browser file reading.

ConfirmAction
Wraps any trigger in a confirmation dialog.
FileUpload
Drag and drop; read as text in the browser.

Upload a file or drag it here

.txt .md .csv .json .log .eml

Loading / Empty / Error states

Use these instead of ad-hoc spinners and messages.

Loading…

No results

Try a different filter or add a record.

Markdown

Minimal, injection-free renderer for model replies.

Recommended next steps

Line 3 has reported repeated E-214 servo-overcurrent alarms. A changeover link and elevated cabinet temperature are observations, not a confirmed root cause.

  1. Review the fault log and changeover setup
  2. Verify cabinet cooling and drive condition under approved maintenance procedures
  3. Confirm restart criteria with the supervisor before returning to operation
  • Owner: Maintenance lead
  • Urgency: supervisor review now

ChatPanel

Empty state with suggestions, and a seeded conversation (AI and sample replies).

Ask about production incidents. Replies here come from the kit's sample endpoint, not live incident retrieval.

Which incidents need attention today?

search cases: critical,high

Illustrative incident response:

  • CASE-1001 is critical: repeated E-214 stoppages on Line 3
  • CASE-1002 awaits laboratory input for a quality hold
AI generated · 2.3s

Draft a review note for CASE-1001.

Bring the fault log, changeover notes and temperature readings to the supervisor review. This sample draft does not authorize a restart.

Sample output

Primitives

shadcn/ui (Radix) building blocks, themed by tokens.

Form controls
Tabs, progress, overlays
Summary tab content.

Progress

Skeleton