dialogic icon indicating copy to clipboard operation
dialogic copied to clipboard

add `equal to` to Set variable event.

Open coppolaemilio opened this issue 1 year ago • 2 comments

Right now, when you click the input field, it opens the list of existing variables. This makes it seem like you can't input a new value to the field.

image

When the dropdown is set to to be it should not suggest any variable. We can add a new option equal to that will show the existing variables for you to select.

coppolaemilio avatar Aug 24 '22 12:08 coppolaemilio

The problem with this is that the event is stored as VAR {test} = Something or VAR {test} = {Counter} and there is no differentiation if the value is a string or a variable in the text format.

Also I find equal to strange because it sounds like a boolean operation instead of an assignment. I would rather have

  • to be
  • to the value of

Just my opinion tho

Jowan-Spooner avatar Aug 24 '22 13:08 Jowan-Spooner

The problem with this is that the event is stored as VAR {test} = Something or VAR {test} = {Counter} and there is no differentiation if the value is a string or a variable in the text format.

For the visual editor we can check if {} exists in the value field to show the variable selector or not

For the label in the drop-down, maybe like: To be the same as

coppolaemilio avatar Aug 24 '22 13:08 coppolaemilio

Will move to 2.x milestone because while it would be nice, this is not something we need for beta or inital release.

Jowan-Spooner avatar Oct 24 '22 08:10 Jowan-Spooner