feat: Update stack insights display - #3951
Conversation
Soffi AI SummaryThis PR refactors the insight display UI for stacks, stack runs, and flow alerts to consolidate header metadata (title, last-updated timestamp, and action buttons) into the shared The key motivation is DRY-ness and visual consistency: previously, Secondary changes include making action buttons ( Commits
Updated: 2026-08-03 08:45 UTC |
Greptile SummaryThe PR consolidates stack insight metadata and actions into the insight panel header and resolves flow names to canonical IDs before presenting flow-scoped workbench actions.
Confidence Score: 5/5The PR appears safe to merge with no concrete blocking or independently actionable non-blocking defects identified. The updated components preserve existing insight actions and refresh behavior while relocating their presentation, and flow workbench actions now receive the resolved canonical flow ID.
|
| Filename | Overview |
|---|---|
| assets/src/components/ai/insights/InsightDisplay.tsx | Adds an optional compact header containing update metadata, evidence controls, and caller-provided actions; no concrete defect was established. |
| assets/src/components/stacks/insights/StackInsights.tsx | Moves stack insight refresh, workbench, and suggested-fix controls into the shared insight header. |
| assets/src/components/stacks/run/insights/StackRunInsights.tsx | Moves stack-run insight actions into the shared header while retaining run-level refetch behavior. |
| assets/src/components/utils/alerts/AlertInsight.tsx | Resolves flow names or IDs to the canonical flow ID and waits for that resolution before exposing the flow-scoped workbench action. |
| assets/src/components/ai/chatbot/AISuggestFix.tsx | Allows callers to pass design-system button props for compact presentation while preserving the panel-opening click handler. |
| assets/src/components/utils/RefreshIconFrame.tsx | Adds a typed configurable icon size while preserving the existing large default. |
Reviews (1): Last reviewed commit: "update stack insight display" | Re-trigger Greptile
Continuation of #3938.
Test Plan
Checklist
Plural Flow: console