Closed EdK-z closed 2 years ago
Do not edit transition content in appearance. It should be readonly and the next app versions, memo control will be locked for editing
Edit either in PropertyInspector, or Double Click on transition and edit in Transition Editor
The intent is to edit the visual appearance of the object, not the content. For example, I have something like this which contains a long comment. I don't want to change the content of the condition, I just want it to look like this:
P.S. I don't like comments inside conditions. For example: 'transition as soon as conditions are met' is absolutely useless. Chart must be as most as possible easy for "eye reading". You can create \<comment> node and put there any additional info. Attach it to the state that is a source.
Here is an example:
Ahh, so that's the purpose of the extra fields in properties. Yeah, I'm still trying to figure out the right places to put comments in a way that's most effective. This is just a first-pass, there will be refactoring later anyway, so for now I just want the graphics to show simpler information. Thanks.
If I "edit appearance" of a transition and change the text, then do other work, then undo anything, the edited appearance resets to its original content. Steps to reproduce: 1) Create two states 2) Create a transition between the states 3) Put a condition in the transition (any text, doesn't really matter) - the transition will show the condition text 4) Edit the appearance of the transition to change the displayed text to something else (just the appearance, not the actual condition) 5) Create two more states 6) Hit undo once Expected: Only the last change (last state added) is removed Actual: Last change is removed and transition appearance resets to show the condition text (edited appearance text is lost)