Closed jlangree closed 1 year ago
Hey @jlangree,
This feature has been added to the cloud version of Botpress. It's not currently in our short-term plan to add this to V12 since we focus more on bug fixing.
I do agree label for transition is a great idea Thanks for your feedback
Not planned, but feel free to submit a PR in our studio repository
Is your feature request related to a problem? Please describe. Multiple lines used to be allowed for transition conditions. The new drag 'n drop ui is awesome for moving them around, but it came at the expense of being able to easily see what longer conditions are without opening the edit menu. This is a significant problem for being able to see what's going on at a glance. Especially for nodes which have several long transition conditions, I have to open the edit menu of every single one just to figure out what the flow is doing.
v12.30.6
In the node's menu, the node being transitioned to also takes up so much space, that it compounds the problem.
v12.30.6
Describe the solution you'd like The best solution would be to allow a custom label for each transition. That would make things the clearest from a development perspective.
But simply reverting back to allowing multiple lines to be used would be a functional fix. That way longer conditions can actually be seen easily.
Another possibility would be adding a tooltip that shows the entire condition when you hover.
This is what it looked like in
v12.28.0
, with multiple lines allowed:Describe alternatives you've considered I'm aware that in the specific example I provided, I can just set some shorter
temp
variable that I could use in the conditions. But there are also examples like where I'm checking whether some array variable includes a specific value, or where there are several different variables being checked. There's just not enough space.Additional context