New request
#11915: Workflow UI flickers when updating the trigger step
We'll provision a sandbox, run an agent against the issue, and open a draft PR. You can pull the branch and iterate from there.
Issue
prio: low
Description
Generated from note: Reproduction
Setting the trigger makes the header actions and the trigger node flicker
https://github.com/user-attachments/assets/966eed8a-17bc-41d6-893b-c2397c463176
Updating the trigger's type makes the side panel and the header actions flicker
https://github.com/user-attachments/assets/27107c9c-a769-4463-8c07-fd8a7c61215d
Created by:
Assessmentadvisory
bug●● medium80% confidence
Updating the workflow trigger causes cascading re-renders across the node, header actions, and side panel, requiring memoization or state-structure changes across several workflow UI files.
Likely files
- packages/twenty-front/src/modules/workflow/components/WorkflowTriggerNode.tsx
- packages/twenty-front/src/modules/workflow/components/WorkflowHeaderActions.tsx
- packages/twenty-front/src/modules/workflow/components/WorkflowEditTriggerSidePanel.tsx
- packages/twenty-front/src/modules/workflow/hooks/useUpdateWorkflowTrigger.ts
- packages/twenty-front/src/modules/workflow/states/workflowTriggerState.ts
Create the request