Workflows: consolidate the folder from 40 files to about 22 #1958
Notifications
Due Date
No due date set.
Blocks
Reference: sam/archie#1958
Reference in new issue
Block a user
Pure moves, no behaviour change:
WorkflowBar,stages.tsandlabels.ts;AddNode,LaneNode,InsertEdge,TranscriptTool,transcript.ts,bind-event.ts,workflow-history.ts,step-icons.ts,TriggerSettings);OptionSelect.vuetocomponents/uiandwork-request.tstotasks/.Done in
a5ba2c99,5b3ae6aband925365b2: ui/src/workflows went from 40 files to 28. Deleted or folded: the two stage cards, WorkflowBar, stages.ts, labels.ts (into WorkflowRuns.vue), AddNode and LaneNode (inline canvas slots), TranscriptTool and transcript.ts (into AgentTranscript), workflow-history.ts (into workflow-revisions.ts). Moved out: OptionSelect to components/, work-request.ts to tasks/. One InputSpec type and declaredSpecs() parser replace four. One run dialog (0cfa701f). Kept on purpose: InsertEdge (computes its own edge path), step-icons.ts (workflow-graph.ts is imported by Node tests and must not pull in icons), TriggerSettings (folding it would grow the 650-line editor), and the event/schedule form shells (once both took the server's status, the duplication is a 4-line header and a 10-line transition; a shared shell would add a file to save that). Tests, typecheck and task check passed; canvas, Runs and trigger cards smoke-checked in the browser.