-
Notifications
You must be signed in to change notification settings - Fork 159
Description
Feature Request
The C# code editor displayed within the workflow designer for activities like Set Variable is currently fixed at a small size and cannot be manually
resized. This significantly hinders the ability to comfortably write, view, and manage code snippets larger than a few lines.
Details
Expected Behavior
The C# code editor within the activity settings should be manually resizable (e.g., draggable on corners or edges) to accommodate larger code blocks, improving the developer experience.
Actual Behavior
The C# code editor is a small, non-resizable box. This makes development difficult when dealing with more complex C# expressions.
Pre-requisites (Environment)
The issue occurs when C# support is enabled on the server:
UseCSharp() // add to the Elsa Server configuration.
Steps to Reproduce
- Create a new workflow.
- From the Primitives category, add a Set Variable activity to the canvas.
- Select the activity to open its properties panel.
- In the properties panel, select
C#from the dropdown next to theValuefield. - Attempt to write or view a multi-line C# expression.
Note
While the Set Variable activity is used as a simple example to reproduce the issue, this applies to all activities in the workflow designer that utilize the same embedded C# code editor.