Something I often think would be nice - when I want to insert an If region into an existing link, it should create the region with the right border control points. It would save a ton of clicks and refactoring steps.
Well, the first is not quite right!
When you double click on a link and insert an If region, it assumes (correctly) that your are introducing a condition and it correctly connects it to the Condition input. Now when its up to you knowing what can be connected there and what cannot!
In case of surrending a bunch of nodes and expecting to get the right IO boxes in and out of the borders, also i disagree with the request! There are different scenarios which user might have on mind. Not always the same nodesâs IOs going in and out!
I personally would prefer to do a few clicks further rather removing extra steps which I didnât ask for!
We have quite a different understanding of UX⊠but thats okay. Just leaving my thoughts here and how I am personally using this software and would like to use it.
The gesture of double-clicking a link is there to insert something into a link and to keep inputs and outputs, isnât it? Why should this ever connect to the condition input?
I agree with @chkâs thoughts on this. Perhaps the only time I might want an if region to automatically connect to the condition is if I double-click on a wire or start a link from something holding a boolean value. Otherwise I donât think gamma should automatically create something that causes an error, as you can see here:
It should then rather do nothing. I think as a user you would assume that no automatic behavior should lead to an error.
While we are on the topic and in a similar vein, I really wish there was better behavior for ForEach as well. So many times I start a link, double click and type Foreach⊠then it actually deletes the link and nothing happens. If I double-click on an existing link and insert a foreach it now just connects the boolean break output to my original node, again causing an error. Here as well, if the link I am starting is a spread, it should connect to the slicer automatically or at least just place the foreach and not connect it.
This is actually what I wanted to express with this thread⊠that the behaviour of inserting regions into links can be improved in general. Therefore I renamed the thread. At the same time I am pretty sure, that the devvvvs are aware, and other things are more important right now. Just leaving them as suggestions.
In my opinion, we shouldnât rely on the environment to automatically correct user behaviour. As a user, I should be aware of what Iâm doing, right? I understand that some might argue for a text editor where youâre given a list of suggestions for your potential next steps but ene there one could choose an option by mistake!
Yet, I believe that this hopeful thinking becomes quite limited in visual programming environments!
Regarding the âIfâ region, I think the arguments by @chk and @seltzdesign hold more water when starting a link and typing âElseâ in the node browser. Perhaps this could automatically generate an âIfâ region with your link inserted in (and only In) through the border.
Totally agree. These are little annoyances, but we can work around them. Iâd rather we get a good node browser to insert nodes we actually were looking for in the first place and not have to dig out over and over again or have to scroll for ages to find it (looking at you I node!).