Workflow library
A React block (a whole screen) in Beamline's Research & design app.
The automation library: every automation as a row (what starts it, whether it's live, a draft or paused, who owns it, when it last ran, and its runs this week day by day with failures said in danger), found by words or by state with the counts on the filter; the chosen one opens beside the list with its owner, last run, its week as bars and its steps in order (a condition's steps one level in, where a run that fails it ends), Duplicate and Open in editor; duplicating makes a new draft with its own identity placed beside the original, which stays as it was, a failed copy said on its row. On a phone the rows lead and the detail is pushed over them with a way back.
Use it for
- Finding and telling apart automations before editing or copying one.
Not for
- Editing one automation's steps (workflow-builder).
Anatomy
- header: the mark, Automations, live · drafts · paused counts
- bar: Show (All · Live · Drafts · Paused, each with how many the search finds), Find an automation
- row: title with its state badge, what starts it, owner, last run, the week's runs as seven bars with the count and failures, a copy's note or a failed copy, Duplicate (shown on hover, focus or the chosen row)
- detail: title, summary and state; owner, last run, this week's runs and failures; the week as bars (7 days ago to today); Steps in order with a glyph per kind (trigger, condition, action, wait), the steps a condition guards one level in; no steps yet for an unbuilt draft; Duplicate, and Open in editor (Finish in editor for a draft)
- phone: rows only; choosing one pushes the detail with All automations to go back
States
- loading
- no automations
- no match
- no preview
- duplicating
- duplicated (a draft beside the original)
- duplicate failed
Keyboard
- the outline is a button that opens the automation
- Show is a radio group; Duplicate on each card
Motion
Nothing animates beyond the parts' own feedback; nothing moves at rest.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
workflows | WorkflowSummary[] | — | Id, title, summary, state, owner, last run, runs this week, outline (null: no preview). |
onDuplicate | (id: string) => Promise<WorkflowSummary> | — | Make a new draft from one; resolve with the copy (its own id). Reject: nothing was made. |
onOpen | (id: string) => void | — | Opens one in the editor; the detail's primary action. |
loading | boolean | — | Cards still loading. |
defaultWorkflows | WorkflowSummary[] | — | |
onWorkflowsChange | ((w: WorkflowSummary[]) => void) | — | |
defaultQuery | string | — | |
timeZone | string | — | |
product | string | — | |
className | string | — | Classes on the documented visual root; no override by default. |
ref | Ref<HTMLDivElement> | — | Receives the documented native target or imperative handle; omitted by default. |
defaultSelected | string | — | The automation shown in the detail first; the first in the list by default. |
Built from
Dependencies
lucide-react
Import
import { WorkflowLibrary } from "@beamline/workflow-library";
Get it
Workflow library is part of Beamline UI. Install the parts you need in your React app as compiled packages or editable source. Get Beamline · Connect your agent
More in Research & design
- Research synthesis: A research study turned into evidence in one place. Transcripts: passages marked as accepted highlights or as the assistant's suggestions (dashed)…
- Study setup: Set up an unmoderated test and its screener. Test: what's tested (a website, a prototype by its share link, an app by its store page), who takes it…
- Study flow: A study's blocks in order, each with where people go next. A block that routes by its answer (multiple choice, scale, open question, prototype task) has…
- Participant review: One participant's session, answer by answer, beside the list of everyone who took the study. The list filters (finished, left early, with a recording)…
- Click heatmap: One screen of a usability task as it looked (your prototype's frame or a page built from your parts, scaled into a phone) with where people clicked over…
- Tree test: A tree test: build a navigation tree and read where people went. Build: pages added at the top or under any page, indented under the page above or moved…
- Prototype task: A prototype task in a study. The linked prototype refreshes from the design keeping the task and paths (a start screen gone from the new version said, a…
- Task results: A usability task's results, from headline outcomes down to paths and screens. Outcomes (direct success, indirect success, gave up) say their share and…
- Matrix question: A matrix question and the participant's side of it, side by side. Rows (up to ten) share one set of choices (two to seven); Enter adds a row, several…
- Prototype review: Reviewing a design file's clickable prototype. Present: the board on a stage with its wireframe, the flow chosen (an unavailable one can't be), Back…
- Report builder: Build a chart from your metrics without code: choose metrics, how to group them over time, an optional breakdown, filters, the range and the chart, see…
- Report library: A business's reports in one place. The directory: reports by topic and group with search, each with what it answers; one this person can't open says why…
- Review page builder: Building the page reviewers use to go through records one by one. The queue of records (one with no title shows its id instead of a blank); the record as…
- Database builder: What a database does for the people who use it, built in one place. Templates: starting values per property (a relation default points at an existing…
- Workflow builder: Automation rules for a SaaS without code: a trigger, conditions built with the query builder that branch into Yes and No, actions and waits, drawn as a…
- Drawing board: A whiteboard a team already knows how to use, like FigJam: tools in a floating bar at the bottom (Select V, Hand H, Sticky note S, Shape R/O/D, Connector…
- Model workbench: A CAD model's workbench around a large isometric scene of its bodies, each shaded from its material's appearance with a soft ground shadow and an axis…
- Component properties: A design system component from three sides. Its variants as a matrix on two chosen properties, the others filtering it, each cell drawing the variant; a…
- Slot editor: Slots in a design system component, from making to filling. The main component's layer tree with a checkbox per layer: a nested frame converts to a slot…