Skip to content
Calm motion: animations on this site only fade, with no movement

System status ​

The parts of a service with their state, and one line for the whole

Shows on a status page if each part of a service works. The line at the top sums up the whole service. For the story of one problem, use the incident timeline. For the history of a part, use the uptime bar.

Basic

Some systems have a problem: partial outage

  • Website Working
  • Audio uploads Files over 500 MB fail. A fix is on the way. Partial outage
  • Player and feeds Working
  • Transcripts New transcripts take up to an hour. Slow
  • Statistics Back at 12:00 WIB. Maintenance

Checked 2 minutes ago

  • parts is a list of parts. Each part has a name, a status, and an optional description. The status is operational, maintenance, degraded, partial, or major.
  • The whole service takes the worst state of its parts. If all parts work, the line says "All systems are working".
  • Each state has its own mark and word: a check for working, a tool for maintenance, a dash for slow, a "!" for a partial outage, and a cross for a major outage.
  • updated is the time of the last check, as text.
  • The line at the top is a status line, so screen readers hear a change. Change the words with labels or a label pack: title, operational, maintenance, degraded, partial, major, all, and the functions summary and updated.

Usage ​

ts
import { BlessSystemStatus } from "blessing-ui";

API ​

Props

NameTypeDefaultDescription
parts*BlessServicePart[]—
updatedstring—when the states were last checked, as text
labelsPartial<Record<BlessServiceState, string> & { title: string; all: string; summary: (state: string) => string; updated: (when: string) => string; }>—

Released under the MIT License. Character names and artwork belong to their owners.