feat(FN-1100): enable inline workflow step editing in task workflow tab

- Add editable workflow step controls in WorkflowResultsTab, including selection, ordering, removal, and phase badges
- Load available enabled workflow steps (plus browser verification) for edit mode and preserve existing results visibility while editing
- Wire TaskDetailModal to manage optimistic workflow step updates, persist enabledWorkflowSteps, and surface success/error toasts
- Expand WorkflowResultsTab tests to cover edit toggle behavior, API loading, selection changes, reordering/removal, and mixed results+edit rendering
This commit is contained in:
gsxdsm
2026-04-07 22:29:48 -07:00
parent b5980ebbb3
commit a875ce231a
4 changed files with 566 additions and 124 deletions

View File

@@ -19217,6 +19217,32 @@ html .column.drag-over * {
opacity: 0.7;
}
.workflow-results-tab {
display: flex;
flex-direction: column;
gap: var(--space-md, 16px);
}
.workflow-results-edit-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: var(--space-sm, 8px);
}
.workflow-results-edit-header h4 {
margin: 0;
font-size: 14px;
color: var(--text-primary, #e6edf3);
}
.workflow-results-editor {
border: 1px solid var(--border, #30363d);
border-radius: 8px;
background: var(--surface-elevated, #161b22);
padding: var(--space-md, 16px);
}
.workflow-results-list {
display: flex;
flex-direction: column;