DurableDashboard. Components. Workflow. FamilyChip
(DurableDashboard v0.1.0-rc)
Copy Markdown
View Source
Compact header affordance that surfaces the workflow's family relationships at a glance:
- Child views render a
↑ Child of <short_id>link that navigates to the parent's flow page. - Parents with children render a
<N> childrenchip that, on click, expands to a small dropdown listing each child with its status pill, the parallel-step it ran, and a deeplink. Implemented via the native<details>element so it stays accessible without a Phoenix.LiveView round-trip.
Every chip is rendered as a horizontal row of plain links — small, monospaced, and visually subordinate to the workflow name + status pill that already live in the header.
Summary
Functions
Render the appropriate chip for the workflow's family position.
Functions
Render the appropriate chip for the workflow's family position.
family is shaped like WorkflowLive.load_family/2 returns:
%{root, parent, children, siblings, all_descendants, related_ids}.
Attributes
family(:map) (required)workflow(:map) (required)base_path(:string) (required)parent_step_lookup(:map) - Defaults to%{}.