feat: Update flows - #4275
Conversation
Soffi AI SummaryThis PR enhances the Flows section of the Console UI with richer list and card views, plus surface-level metrics for each flow. The motivation (PROD-5178, PROD-5179) was to give operators a faster, more informative overview of their flows without navigating into each one individually. What changed and why:
Updated: 2026-09-11 16:48 UTC |
|
Storybook preview: https://6a8c1fbd32d6c1cc8fc131a5-imwysigtwp.chromatic.com/ |
…date-flow-to-to-have-a-list-and-card-view
|
| {pending && ( | ||
| <PipelineStatusSC $tone="pending"> | ||
| {pendingCount} pending | ||
| </PipelineStatusSC> | ||
| )} | ||
| {stopped && ( | ||
| <PipelineStatusSC $tone="stopped"> | ||
| {stoppedCount} stopped | ||
| </PipelineStatusSC> | ||
| )} | ||
| {!pending && | ||
| !stopped && | ||
| `${pipelineCount} ${pluralize('pipeline', pipelineCount)}`} |
There was a problem hiding this comment.
When a flow has any pending pipeline gate, this branch shows only the pending-gate count and hides the total pipeline count. These values represent different metrics, so a flow with five pipelines and one pending gate appears as only “1 pending,” omitting the primary Pipelines total from both cards and table rows.
|
@michaeljguarino Done, I have added new rules for the agent to avoid these issues in the future. PTAL. |
| end) | ||
| end | ||
|
|
||
| defp put_insights(map, ids) do |
There was a problem hiding this comment.
i think we should not sideload insights here that's just wasted db cycles esp since you can infer one from service statuses
|
plural finish this (and remove the insights sideloads from frontend as well based on comment) |
Designs: https://www.figma.com/design/Kn0s2plNxcvpPrlau72z1v/💻-Console?node-id=20927-41928&t=xIynygr3OxqN6csg-0
Test Plan
Test environment: https://console.your-env.onplural.sh/
Checklist
Plural Flow: console