Calm motion: animations on this site only fade, with no movement
Deploy list
The deploys of a project with the state, the commit, the time, and a rollback
Shows what went out to each environment of a web project, and lets the team go back to a good deploy.
Basic
deploysis the list, newest first. Each deploy has anid, astate, anenv, acommit, and atime. It can also have amessage, abranch, anauthor, aduration, aurl, andlive.- The state is
queued,building,ready,failed, orcanceled. It shows as a shape and a word. The building shape turns, except when the reader asks for less motion. - The deploy that serves its environment now has
live. It gets a bar and a Live tag. - The commit shows as a short hash of seven characters.
- A ready deploy has an Open link. A ready deploy that is not live has "Roll back to this", which emits
rollback. A failed or canceled deploy has "Deploy again", which emitsredeploy. - Change the words with
labelsor a label pack. The API table lists the keys.
Usage
ts
import { BlessDeployList } from "blessing-ui";API
Props
| Name | Type | Default | Description |
|---|---|---|---|
deploys* | BlessDeploy[] | — | |
labels | Partial<Record<BlessDeployState, string> & { live: string; open: string; rollback: string; redeploy: string; list: string; }> | — |
Events
| Name | Payload | Description |
|---|---|---|
rollback | [id: string] | |
redeploy | [id: string] |